Learn R Programming

sits (version 1.1.0)

.sits_distances: Use time series values as distances for training patterns

Description

This function allows using a set of labelled time series as input to the machine learning models. The attributes used to train the model are the series themselves. It extracts the time series from a sits tibble and "spreads" them in time to produce a tibble with distances.

Usage

.sits_distances(data)

Value

Data.table where columns have the reference label and the time series values as distances.

Arguments

data

Tibble with time series data and metadata.

Author

Rolf Simoes, rolf.simoes@inpe.br

Gilberto Camara, gilberto.camara@inpe.br