This is the abstract base class for task objects like PredictionClassif and PredictionRegr.

Format

R6::R6Class object.

Construction

Prediction$new()

Fields

  • row_ids :: (integer() | character())
    Vector of row ids for which predictions are stored.

  • truth :: any
    Vector of true labels.

  • response :: any
    Vector of predicted labels.

  • task_type :: character(1)
    Stores the type of the Task.

  • predict_types :: character()
    Vector of predict types this object stores.

See also