Class XGBoostTrainer.DMatrixTuple<T extends Output<T>>

Type Parameters:
T - The output type.
Enclosing class:
XGBoostTrainer<T extends Output<T>>

protected static class XGBoostTrainer.DMatrixTuple<T extends Output<T>> extends Object
Tuple of a DMatrix, the number of valid features in each example, and the examples themselves.

One day it'll be a record.

  • Field Details

    • data

      public final data
    • numValidFeatures

      public final int[] numValidFeatures
    • examples

      public final Example<T extends Output<T>>[] examples
  • Constructor Details

    • DMatrixTuple

      public DMatrixTuple( data, int[] numValidFeatures, Example<T>[] examples)