PythonObject
extension PythonObject: FloatData, Int32Data, UInt32Data, ShapeData
PythonObject comfortances for protocols that allows using python objects seamlessly with Booster and DMatrix.
-
Comfortance for FloatData.
Declaration
Swift
public func data() throws -> [Float] -
Comfortance for Int32Data.
Declaration
Swift
public func data() throws -> [Int32] -
Comfortance for UInt32Data.
Declaration
Swift
public func data() throws -> [UInt32] -
Comfortance for ShapeData.
Declaration
Swift
public func dataShape() throws -> Shape
View on GitHub
PythonObject Extension Reference