Classes

The following classes are available globally.

  • A Booster of XGBoost, the model of XGBoost.

    See more

    Declaration

    Swift

    public class Booster
  • Callback for early stop

    See more

    Declaration

    Swift

    public class EarlyStop : XGBCallback
  • DMatrix is a wrap of the internal data structure DMatrix that used by XGBoost. You can construct from a file (libsvm (default) or csv) or [Float]. To load csv file, specify uri parameter ‘path_to_csv?format=csv’ or set the format param to ‘csv’.

    See more

    Declaration

    Swift

    public class DMatrix