Package org.api4.java.ai.ml.core.learner
Interface IFittablePredictor<I extends IInstance,D extends IDataSource<I>>
-
- All Superinterfaces:
IFittable<I,D>,IPredictor<I,D>
- All Known Subinterfaces:
IClassifier<I,D>,IClusterer,IDyadRanker,ILabelRanker,IMultiLabelClassifier,IRanker<O,I,D>,IRegressor,ISingleLabelClassifier,ISupervisedLearner<I,D>,IUnsupervisedLearner<I,D>
public interface IFittablePredictor<I extends IInstance,D extends IDataSource<I>> extends IFittable<I,D>, IPredictor<I,D>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPredictionBatchfitAndPredict(D dTrain, D dTest)IPredictionfitAndPredict(D dTrain, I xTest)IPredictionBatchfitAndPredict(D dTrain, I[] xTest)-
Methods inherited from interface org.api4.java.ai.ml.core.learner.IPredictor
predict, predict, predict
-
-
-
-
Method Detail
-
fitAndPredict
IPrediction fitAndPredict(D dTrain, I xTest) throws TrainingException, PredictionException, java.lang.InterruptedException
- Throws:
TrainingExceptionPredictionExceptionjava.lang.InterruptedException
-
fitAndPredict
IPredictionBatch fitAndPredict(D dTrain, I[] xTest) throws TrainingException, PredictionException, java.lang.InterruptedException
- Throws:
TrainingExceptionPredictionExceptionjava.lang.InterruptedException
-
fitAndPredict
IPredictionBatch fitAndPredict(D dTrain, D dTest) throws TrainingException, PredictionException, java.lang.InterruptedException
- Throws:
TrainingExceptionPredictionExceptionjava.lang.InterruptedException
-
-