Learn R Programming

sits (version 0.13.0)

sits_keras_diagnostics: Diagnostic information about a Keras deep learning model

Description

After the Keras deeplearning model is compiled and fit, this function provides access to the history plot and the evaluation results.

Usage

sits_keras_diagnostics(dl_model)

Arguments

dl_model

A valid keras model.

Value

This function returns NULL. It only prints the model diagnostics.

Examples

Run this code
# NOT RUN {
# Retrieve the set of samples for the Mato Grosso (provided by EMBRAPA)
data(cerrado_2classes)
# obtain a DL model
dl_model <- sits_train(
    cerrado_2classes,
    sits_deeplearning(
        layers = c(512, 512), dropout_rates = c(0.45, 0.25),
        epochs = 100
    )
)
# run the keras diagnostics
sits_keras_diagnostics(dl_model)
# }

Run the code above in your browser using DataLab