Interface ISingleLabelClassifier
-
- All Superinterfaces:
IClassifier,IFittable<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>,IFittablePredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>,ILearnerConfigHandler,IPredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>,ISupervisedLearner<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>
public interface ISingleLabelClassifier extends IClassifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISingleLabelClassificationPredictionBatchfitAndPredict(ILabeledDataset<? extends ILabeledInstance> dTrain, ILabeledDataset<? extends ILabeledInstance> dTest)ISingleLabelClassificationfitAndPredict(ILabeledDataset<? extends ILabeledInstance> dTrain, ILabeledInstance xTest)ISingleLabelClassificationPredictionBatchfitAndPredict(ILabeledDataset<? extends ILabeledInstance> dTrain, ILabeledInstance[] xTest)ISingleLabelClassificationPredictionBatchpredict(ILabeledDataset<? extends ILabeledInstance> dTest)ISingleLabelClassificationpredict(ILabeledInstance xTest)ISingleLabelClassificationPredictionBatchpredict(ILabeledInstance[] dTest)-
Methods inherited from interface org.api4.java.ai.ml.core.learner.ILearnerConfigHandler
getConfig, setConfig
-
-
-
-
Method Detail
-
fitAndPredict
ISingleLabelClassification fitAndPredict(ILabeledDataset<? extends ILabeledInstance> dTrain, ILabeledInstance xTest) throws TrainingException, PredictionException, java.lang.InterruptedException
- Specified by:
fitAndPredictin interfaceIFittablePredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>- Throws:
TrainingExceptionPredictionExceptionjava.lang.InterruptedException
-
fitAndPredict
ISingleLabelClassificationPredictionBatch fitAndPredict(ILabeledDataset<? extends ILabeledInstance> dTrain, ILabeledInstance[] xTest) throws TrainingException, PredictionException, java.lang.InterruptedException
- Specified by:
fitAndPredictin interfaceIFittablePredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>- Throws:
TrainingExceptionPredictionExceptionjava.lang.InterruptedException
-
fitAndPredict
ISingleLabelClassificationPredictionBatch fitAndPredict(ILabeledDataset<? extends ILabeledInstance> dTrain, ILabeledDataset<? extends ILabeledInstance> dTest) throws TrainingException, PredictionException, java.lang.InterruptedException
- Specified by:
fitAndPredictin interfaceIFittablePredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>- Throws:
TrainingExceptionPredictionExceptionjava.lang.InterruptedException
-
predict
ISingleLabelClassification predict(ILabeledInstance xTest) throws PredictionException, java.lang.InterruptedException
- Specified by:
predictin interfaceIPredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>- Throws:
PredictionExceptionjava.lang.InterruptedException
-
predict
ISingleLabelClassificationPredictionBatch predict(ILabeledDataset<? extends ILabeledInstance> dTest) throws PredictionException, java.lang.InterruptedException
- Specified by:
predictin interfaceIPredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>- Throws:
PredictionExceptionjava.lang.InterruptedException
-
predict
ISingleLabelClassificationPredictionBatch predict(ILabeledInstance[] dTest) throws PredictionException, java.lang.InterruptedException
- Specified by:
predictin interfaceIPredictor<ILabeledInstance,ILabeledDataset<? extends ILabeledInstance>>- Throws:
PredictionExceptionjava.lang.InterruptedException
-
-