Packages

class BoosterHandler extends AnyRef

Wraps the boosterPtr and guarantees that Native library is initialized everytime it is needed

Attributes
protected
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BoosterHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  2. new BoosterHandler(boosterPtr: SWIGTYPE_p_void)

    boosterPtr

    The pointer to the native lightgbm booster

Value Members

  1. var boosterPtr: SWIGTYPE_p_void
  2. lazy val contribPredictConstant: Int
  3. lazy val data64bitType: Int
  4. lazy val dataInt32bitType: Int
  5. val dumpModelOutPtr: ThreadLocal[LongLongNativePtrHandler]
  6. val featureImportanceOutPtr: ThreadLocal[DoubleNativePtrHandler]
  7. def freeNativeMemory(): Unit
  8. val leafIndexDataLengthLongPtr: ThreadLocal[LongLongNativePtrHandler]
  9. val leafIndexDataOutPtr: ThreadLocal[DoubleNativePtrHandler]
  10. lazy val leafIndexPredictConstant: Int
  11. lazy val normalScoreConstant: Int
  12. lazy val numClasses: Int
  13. lazy val numFeatures: Int
  14. lazy val numTotalModel: Int
  15. lazy val numTotalModelPerIteration: Int
  16. lazy val rawScoreConstant: Int
  17. val scoredDataLengthLongPtr: ThreadLocal[LongLongNativePtrHandler]
  18. val scoredDataOutPtr: ThreadLocal[DoubleNativePtrHandler]
  19. val shapDataLengthLongPtr: ThreadLocal[LongLongNativePtrHandler]
  20. val shapDataOutPtr: ThreadLocal[DoubleNativePtrHandler]
  21. val shapOutputShape: Long