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