Learn R Programming

sits (version 1.12.0)

.sits_class_info: Define the information required for classifying time series

Description

Time series classification requires that users do a series of steps: (a) Provide labelled samples that will be used as training data. (b) Provide information on how the classification will be performed, including data timeline, temporal interval, and start and end dates per interval. (c) Clean the training data to ensure it meets the specifications of the classification info. (d) Use the clean data to train a machine learning classifier. (e) Classify non-labelled data sets.

In this set of steps, this function provides support for step (b). It requires the user to provide a timeline, the classification interval, and the start and end dates of the reference period. The results is a tibble with information that allows the user to perform steps (c) to (e).

Usage

.sits_class_info(data.tb, samples.tb, interval)

Arguments

data.tb

Description on the data being classified.

samples.tb

Samples used for training the classification model.

interval

Interval between two sucessive classifications.

Value

A tibble with the classification information.