plot.keras_model {sits}R Documentation

Generic interface for plotting a Keras model

Description

plots a deep learning model

Usage

## S3 method for class 'keras_model'
plot(x, y, ...)

Arguments

x

Object of class "keras_model"

y

ignored

...

further specifications for plot.

Value

The plot itself.

Author(s)

Gilberto Camara, gilberto.camara@inpe.br

Examples


# Get a set of samples
samples_ndvi_evi <- sits_select(samples_modis_4bands,
                                bands = c("NDVI", "EVI"))

# train a deep learning model
dl_model <- sits_train(samples_ndvi_evi, ml_method = sits_deeplearning(
    layers = c(512, 512, 512),
    activation = "relu",
    dropout_rates = c(0.50, 0.40, 0.35),
    epochs = 100,
    batch_size = 128,
    validation_split = 0.2
))
plot(dl_model)



[Package sits version 0.11.0 Index]