Protocols
The following protocols are available globally.
-
protocol for Callback sent to training / cross validation function. Custom callback need to implement the
See morecallback()
method that has 1 parameter in type ofCallbackEnv
. A implementation of callback should also have a propertybeforeIteration
to specify whether the callback should be executed before a iteration.Declaration
Swift
public protocol XGBCallback