Interface IBatchLearner<T,I,D extends IDataset<I>>
-
- Type Parameters:
T- The type of the target that thisIBatchLearnerpredicts.I- The type of the instances stored in the data set specified by the generic parameter. D- The type of the data set used to learn from and predict batches.
- All Superinterfaces:
IPredictiveModel<T,I,D>
- All Known Subinterfaces:
IDyadRanker,IOnlineLearner<T,I,D>,IPLDyadRanker
- All Known Implementing Classes:
ABatchLearner,AOnlineLearner,FeatureTransformPLDyadRanker,PLNetDyadRanker,TSClassifier
public interface IBatchLearner<T,I,D extends IDataset<I>> extends IPredictiveModel<T,I,D>
TheIBatchLearnermodels a learning algorithm which works in a batch fashion, i.e. takes a wholeAILabeledAttributeArrayDatasetas training input. It can be trained based on anAILabeledAttributeArrayDatasetin order to make predictions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtrain(D dataset)Trains thisIBatchLearnerusing the givenAILabeledAttributeArrayDataset.-
Methods inherited from interface ai.libs.jaicore.ml.core.predictivemodel.IPredictiveModel
getConfiguration, predict, predict, setConfiguration
-
-
-
-
Method Detail
-
train
void train(D dataset) throws TrainingException
Trains thisIBatchLearnerusing the givenAILabeledAttributeArrayDataset.- Parameters:
dataset- TheAILabeledAttributeArrayDatasetwhich should be used for the training.- Throws:
TrainingException- If something fails during the training process.
-
-