Documentation
¶
Overview ¶
Package ts contains implementation of the operations related to a training set.
It includes preparing the training set and its validation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDummies ¶
AddDummies adds a dummy feature equals 1 at the beginning of each feature vector being a part of a design matrix.
func Validate ¶
func Validate(s regression.TrainingSet) error
Validate validates a training set.
A training set is valid if a design matrix is valid and a target vector has the same length as the design matrix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.