Class APredictiveModel<T,V,I,D extends IDataset<I>>
- java.lang.Object
-
- ai.libs.jaicore.ml.core.predictivemodel.APredictiveModel<T,V,I,D>
-
- Type Parameters:
T- The attribute type of the target that thisAPredictiveModelpredicts.V- The value type of the target that thisAPredictiveModelpredicts.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 Implemented Interfaces:
IPredictiveModel<V,I,D>
- Direct Known Subclasses:
ABatchLearner
public abstract class APredictiveModel<T,V,I,D extends IDataset<I>> extends java.lang.Object implements IPredictiveModel<V,I,D>
Abstract extension ofIPredictiveModelto be able to construct prediction of the giventype.
-
-
Constructor Summary
Constructors Constructor Description APredictiveModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetTargetType()Getter method for the giventargetType.voidsetTargetType(T targetType)Setter method for the giventargetType.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ai.libs.jaicore.ml.core.predictivemodel.IPredictiveModel
getConfiguration, predict, predict, setConfiguration
-
-
-
-
Method Detail
-
getTargetType
public T getTargetType()
Getter method for the giventargetType.- Returns:
- Returns the target type used for generating predictions
-
setTargetType
public void setTargetType(T targetType)
Setter method for the giventargetType.- Parameters:
targetType- The target type used for generating predictions
-
-