Protocols

The following protocols are available globally.

  • protocol for Callback sent to training / cross validation function. Custom callback need to implement the callback() method that has 1 parameter in type of CallbackEnv. A implementation of callback should also have a property beforeIteration to specify whether the callback should be executed before a iteration.

    See more

    Declaration

    Swift

    public protocol XGBCallback