plot.torch_model | R Documentation |
Plots a deep learning model developed using torch.
## S3 method for class 'torch_model'
plot(x, y, ...)
x |
Object of class "torch_model". |
y |
Ignored. |
... |
Further specifications for plot. |
A plot object produced by the ggplot2 package showing the evolution of the loss and accuracy of the model.
This code has been lifted from the "keras" package.
Please refer to the sits documentation available in <https://e-sensing.github.io/sitsbook/> for detailed examples.
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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.