Training API Reference
Functions
ChemometricsTools.KFoldsValidation
— Method.KFoldsValidation(K::Int, x, y)
Returns a KFoldsValidation iterator with K
folds. Because it's an iterator it can be used in for loops, see the tutorials for pragmatic examples. The iterator returns a 2-Tuple of 2-Tuples which have the following form: ((TrainX,TrainY),(ValidateX,ValidateY)
.
ChemometricsTools.LeaveOneOut
— Method.LeaveOneOut(x, y)
Returns a KFoldsValidation iterator with leave one out folds. Because it's an iterator it can be used in for loops, see the tutorials for pragmatic examples. The iterator returns a 2-Tuple of 2-Tuples which have the following form: ((TrainX,TrainY),(ValidateX,ValidateY)
.
ChemometricsTools.Shuffle!
— Method.Shuffle!( X, Y )
Shuffles the rows of the X
and Y
data without replacement in place. In place, means that this function alters the order of the data in memory and this function does not return anything.
ChemometricsTools.Shuffle
— Method.Shuffle( X, Y )
Shuffles the rows of the X
and Y
data without replacement. It returns a 2-Tuple of the shuffled set.