class BoosterHandler extends AnyRef
Wraps the boosterPtr and guarantees that Native library is initialized everytime it is needed
- Attributes
- protected
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BoosterHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
BoosterHandler(model: String)
Wraps the boosterPtr and guarantees that Native library is initialized everytime it is needed
Wraps the boosterPtr and guarantees that Native library is initialized everytime it is needed
- model
The string serialized representation of the learner
-
new
BoosterHandler(boosterPtr: SWIGTYPE_p_void)
- boosterPtr
The pointer to the native lightgbm booster
Value Members
- var boosterPtr: SWIGTYPE_p_void
- lazy val contribPredictConstant: Int
- lazy val data64bitType: Int
- lazy val dataInt32bitType: Int
- val dumpModelOutPtr: ThreadLocal[LongLongNativePtrHandler]
- val featureImportanceOutPtr: ThreadLocal[DoubleNativePtrHandler]
- def freeNativeMemory(): Unit
- val leafIndexDataLengthLongPtr: ThreadLocal[LongLongNativePtrHandler]
- val leafIndexDataOutPtr: ThreadLocal[DoubleNativePtrHandler]
- lazy val leafIndexPredictConstant: Int
- lazy val normalScoreConstant: Int
- lazy val numClasses: Int
- lazy val numFeatures: Int
- lazy val numTotalModel: Int
- lazy val numTotalModelPerIteration: Int
- lazy val rawScoreConstant: Int
- val scoredDataLengthLongPtr: ThreadLocal[LongLongNativePtrHandler]
- val scoredDataOutPtr: ThreadLocal[DoubleNativePtrHandler]
- val shapDataLengthLongPtr: ThreadLocal[LongLongNativePtrHandler]
- val shapDataOutPtr: ThreadLocal[DoubleNativePtrHandler]
- val shapOutputShape: Long