Class

com.microsoft.ml.spark

LightGBMBooster

Related Doc: package spark

Permalink

class LightGBMBooster extends Serializable

Represents a LightGBM Booster learner

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LightGBMBooster
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LightGBMBooster(model: String)

    Permalink

    model

    The string serialized representation of the learner

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var boosterPtr: SWIGTYPE_p_void

    Permalink

    Transient variable containing local machine's pointer to native booster

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def ensureScoredDataCreated(): Unit

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LightGBMBooster → AnyRef
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getFeatureImportances(importanceType: String): Array[Double]

    Permalink

    Calls into LightGBM to retrieve the feature importances.

    Calls into LightGBM to retrieve the feature importances.

    importanceType

    Can be "split" or "gain"

    returns

    The feature importance values as an array.

  13. def getNumClasses(): Int

    Permalink

    Retrieve the number of classes from LightGBM Booster

    Retrieve the number of classes from LightGBM Booster

    returns

    The number of classes.

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val model: String

    Permalink

    The string serialized representation of the learner

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. lazy val numClasses: Int

    Permalink
  21. def predictForCSR(sparseVector: SparseVector, kind: Int, classification: Boolean): Array[Double]

    Permalink
    Attributes
    protected
  22. def predictForMat(row: Array[Double], kind: Int, classification: Boolean): Array[Double]

    Permalink
    Attributes
    protected
  23. def saveNativeModel(session: SparkSession, filename: String, overwrite: Boolean): Unit

    Permalink
  24. def score(features: Vector, raw: Boolean, classification: Boolean): Array[Double]

    Permalink
  25. var scoredDataLengthLongPtr: SWIGTYPE_p_long

    Permalink
  26. var scoredDataLength_int64_tPtr: SWIGTYPE_p_int64_t

    Permalink
  27. var scoredDataOutPtr: SWIGTYPE_p_double

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members