Extensions
The following extensions are available globally.
-
Declaration
Swift
public extension Arraypublic extension Array where Element == Featureextension Array: FloatData where Element == Floatextension Array: Int32Data where Element == Int32extension Array: UInt32Data where Element == UInt32public extension Array where Element: AdditiveArithmeticpublic extension Array where Element: FloatingPointpublic extension Array where Element == AfterIterationOutputpublic extension Array where Element: NumpyScalarCompatible -
Declaration
Swift
public extension Dictionary -
PythonObject comfortances for protocols that allows using python objects seamlessly with Booster and DMatrix.
See moreDeclaration
Swift
extension PythonObject: FloatData, Int32Data, UInt32Data, ShapeData -
Declaration
Swift
public extension String -
Declaration
Swift
View on GitHub
Extensions Reference