R: Diagnostic information about a Keras deep learning model

sits_keras_diagnostics {sits} | R Documentation

## 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.

### Author(s)

Gilberto Camara, gilberto.camara@inpe.br

### Examples

    ## 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)

    ## End(Not run)

[Package sits version 0.13.0 Index]