Classes

The following classes are available globally.

  • Booster model.

    Encapsulates BoosterHandle, the model of xgboost, that contains low level routines for training, prediction and evaluation.

    See more

    Declaration

    Swift

    public class Booster
  • Auxiliary class to hold one fold of CrossValidation.

    See more

    Declaration

    Swift

    public class CVPack
  • Data class used with Booster.

    Data is encapsulation of DMatrixHandle, internal structure used by XGBoost, which is optimized for both memory efficiency and training speed.

    See more

    Declaration

    Swift

    public class DMatrix
  • Class used for early stopping feature.

    See more

    Declaration

    Swift

    public class EarlyStopping : Callback
  • Class used for variable learning rate feature.

    See more

    Declaration

    Swift

    public class VariableLearningRate : Callback