Learn R Programming

sits (version 0.13.1)

plot.keras_model: Generic interface for plotting a Keras model

Description

plots a deep learning model developed using keras

Usage

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

Arguments

x

Object of class "keras_model"

y

ignored

...

further specifications for plot.

Value

The plot itself.

Examples

Run this code
# NOT RUN {
# 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_mlp())
plot(dl_model)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab