Learn R Programming

sits (version 1.12.0)

sits_keras_diagnostics: Provides access to 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 region (provided by EMBRAPA)
data(cerrado_2classes)
 # obtain a DL model
dl_model <- sits_train(cerrado2classes,
     sits_deeplearning(units = c(512, 512),
     dropout_rates = c(0.45, 0.25)))
# run the keras diagnostics
sits_keras_diagnostics(dl_model)
# }

Run the code above in your browser using DataLab