Catalano.MachineLearning.Classification
Interface IClassifier
-
- All Superinterfaces:
- java.lang.Cloneable
- All Known Implementing Classes:
- AdaBoost, DecisionTree, ExtremeLearningMachine, GradientBoostingTree, KNearestNeighbors, MinimumMeanDistance, MulticlassSupportVectorMachine, RadiusNearestNeighbors, RandomForest, SupportVectorMachine
public interface IClassifier extends java.lang.CloneableThe interface describe the predict of the classifier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IClassifierclone()Clone of the object.voidLearn(DatasetClassification dataset)Learn from a dataset.voidLearn(double[][] input, int[] output)Learn.intPredict(double[] feature)Predict.
-
-
-
Method Detail
-
Learn
void Learn(DatasetClassification dataset)
Learn from a dataset.- Parameters:
dataset- Dataset.
-
Learn
void Learn(double[][] input, int[] output)Learn.- Parameters:
input- Matrix of features.output- Labels.
-
Predict
int Predict(double[] feature)
Predict.- Parameters:
feature- Feature.- Returns:
- Label.
-
clone
IClassifier clone()
Clone of the object.- Returns:
- A new copy of the object.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG