# NOT RUN {
# Retrieve the set of samples for the Mato Grosso region (provided by EMBRAPA)
data(samples_mt_ndvi)
# Build a machine learning model based on deep learning
dl_model <- sits_train (samples_mt_ndvi,
sits_deeplearning(units = c(512, 512, 512),
dropout_rates = c(0.50, 0.40, 0.35),
epochs = 50))
# get a point with a 16 year time series
data(point_ndvi)
# classify the point
class.tb <- sits_classify (point_ndvi, dl_model)
# plot the classified point
sits_plot(class.tb)
# }
Run the code above in your browser using DataLab