Object

com.microsoft.ml.spark.lightgbm

LightGBMUtils

Related Doc: package lightgbm

Permalink

object LightGBMUtils

Helper utilities for LightGBM learners

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LightGBMUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createDriverNodesThread(numWorkers: Int, df: DataFrame, log: Logger, timeout: Double, barrierExecutionMode: Boolean): (String, Int, Future[Unit])

    Permalink

    Opens a socket communications channel on the driver, starts a thread that waits for the host:port from the executors, and then sends back the information to the executors.

    Opens a socket communications channel on the driver, starts a thread that waits for the host:port from the executors, and then sends back the information to the executors.

    numWorkers

    The total number of training workers to wait for.

    returns

    The address and port of the driver socket.

  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def generateData(numRows: Int, rowsAsDoubleArray: Array[Array[Double]]): (SWIGTYPE_p_void, SWIGTYPE_p_double)

    Permalink
  11. def generateDenseDataset(numRows: Int, rowsAsDoubleArray: Array[Array[Double]], referenceDataset: Option[LightGBMDataset], featureNamesOpt: Option[Array[String]], trainParams: TrainParams): LightGBMDataset

    Permalink
  12. def generateSparseDataset(sparseRows: Array[SparseVector], referenceDataset: Option[LightGBMDataset], featureNamesOpt: Option[Array[String]], trainParams: TrainParams): LightGBMDataset

    Permalink

    Generates a sparse dataset in CSR format.

    Generates a sparse dataset in CSR format.

    sparseRows

    The rows of sparse vector.

  13. def getBoosterPtrFromModelString(lgbModelString: String): SWIGTYPE_p_void

    Permalink
  14. def getCategoricalIndexes(df: DataFrame, featuresCol: String, categoricalColumnIndexes: Array[Int], categoricalColumnSlotNames: Array[String]): Array[Int]

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getFeaturizer(dataset: Dataset[_], labelColumn: String, featuresColumn: String, weightColumn: Option[String] = None, groupColumn: Option[String] = None, oneHotEncodeCategoricals: Boolean = true): PipelineModel

    Permalink
  17. def getId(): Int

    Permalink

    Returns an integer ID for the current node.

    Returns an integer ID for the current node.

    returns

    In cluster, returns the executor id. In local case, returns the worker id.

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def initializeNativeLibrary(): Unit

    Permalink

    Loads the native shared object binaries lib_lightgbm.so and lib_lightgbm_swig.so

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def validate(result: Int, component: String): Unit

    Permalink
  27. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped