Plots a deep learning model developed using torch.
# S3 method for torch_model
plot(x, y, ...)
A plot object produced by the ggplot2 package showing the evolution of the loss and accuracy of the model.
Object of class "torch_model".
Ignored.
Further specifications for plot.
Felipe Souza, lipecaso@gmail.com
Rolf Simoes, rolf.simoes@inpe.br
Alber Sanchez, alber.ipia@inpe.br
if (sits_run_examples()) {
# Retrieve the samples for Mato Grosso
# train a tempCNN model
ml_model <- sits_train(samples_modis_ndvi, ml_method = sits_tempcnn)
# plot the model
plot(ml_model)
}
Run the code above in your browser using DataLab