Learn R Programming

sits (version 1.12.0)

sits_evaluate_samples: Evaluate samples

Description

This function evaluate the samples and extract metrics from SOM cluster. The user can choose the amount of time that the kohonen process will be run. This function allows check if the sample reliable or not

Usage

sits_evaluate_samples(data.tb, time_series, grid_xdim = 5,
  grid_ydim = 5, rlen = 100, alpha = 1, radius = 6,
  distance = "euclidean", iterations = 1, mode = "online")

Arguments

data.tb

A sits tibble with info of samples.

time_series

The time series extracted from sits tibble.

grid_xdim

X dimension of the SOM grid (default = 5).

grid_ydim

Y dimension of the SOM grid.

rlen

Number of times the complete data set will be presented to the SOM grid

alpha

Learning rate, a vector of two numbers indicating the amount of change.

radius

The radius of kohonen map.

distance

The similiraty measure.

iterations

The number of time to run the SOM cluster.

mode

Type of learning algorithm (online or batch).

Value

Returns a sits tibble with a new column of label and a table with information about the confiability of each samples.