Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Classifier ¶
type Classifier interface { //Set training parameters from parameter map Init(params map[string]string) //Train model on a given dataset Train(dataset *core.DataSet) //Predict the probability of a sample to be positive sample Predict(sample *core.Sample) float64 SaveModel(path string) LoadModel(path string) }
type Clustering ¶
type MultiClassClassifier ¶
type MultiClassClassifier interface { //Set training parameters from parameter map Init(params map[string]string) //Train model on a given dataset Train(dataset *core.DataSet) //Predict the probability of a sample to be positive sample PredictMultiClass(sample *core.Sample) *core.ArrayVector SaveModel(path string) LoadModel(path string) }
type Regressor ¶
type Regressor interface { //Set training parameters from parameter map Init(params map[string]string) //Train model on a given dataset Train(dataset *core.RealDataSet) //Predict the output of an input sample Predict(sample *core.RealSample) float64 SaveModel(path string) LoadModel(path string) }
Click to show internal directories.
Click to hide internal directories.