Class APredictiveModel<T,​V,​I,​D extends IDataset<I>>

  • Type Parameters:
    T - The attribute type of the target that this APredictiveModel predicts.
    V - The value type of the target that this APredictiveModel predicts.
    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 of IPredictiveModel to be able to construct prediction of the given type.
    • Constructor Detail

      • APredictiveModel

        public APredictiveModel()
    • Method Detail

      • getTargetType

        public T getTargetType()
        Getter method for the given targetType.
        Returns:
        Returns the target type used for generating predictions
      • setTargetType

        public void setTargetType​(T targetType)
        Setter method for the given targetType.
        Parameters:
        targetType - The target type used for generating predictions