R: Use time series values as distances for training patterns

.sits_distances {sits} | R Documentation

## 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)

### Arguments

`data` | A tibble with time series data and metadata.

### Value

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

### Author(s)

Rolf Simoes, rolf.simoes@inpe.br

Gilberto Camara, gilberto.camara@inpe.br

[Package sits version 0.15.0 Index]