ICrossValidationGroupingStrategy Type

Provides a strategie for grouping the data (spectra etc.) according to their corresponding calibration values (concentration etc).

Instance members

Instance member Description

this.Group

Full Usage: this.Group

Parameters:
    matrixY : IROMatrix<float> - Contains the y-values. Each observation corresponds to one or more y-values, for instance concentrations, size etc.). The matrix consists of many observations (each row is one observation). Each observation corresponds to one or more y-values, which are the columns of the matrix.

Returns: int[][] An array of integer arrays. Each element of the main array is one group. The elements of each subarray are the indices of the observations (==row numbers in matrixY), that are grouped together.
Modifiers: abstract

Divides observations into groups according to the y-values (calibration values) in argument matrixY.

matrixY : IROMatrix<float>

Contains the y-values. Each observation corresponds to one or more y-values, for instance concentrations, size etc.). The matrix consists of many observations (each row is one observation). Each observation corresponds to one or more y-values, which are the columns of the matrix.

Returns: int[][]

An array of integer arrays. Each element of the main array is one group. The elements of each subarray are the indices of the observations (==row numbers in matrixY), that are grouped together.