Packages

object LightGBMUtils

Helper utilities for LightGBM learners

Linear Supertypes
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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addSocketAndComm(hostAndPorts: ListBuffer[(Socket, String)], log: Logger, comm: String, driverSocket: Socket): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def closeConnections(log: Logger, hostAndPorts: ListBuffer[(Socket, String)], driverServerSocket: ServerSocket): Unit
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getFeaturizer(dataset: Dataset[_], labelColumn: String, featuresColumn: String, weightColumn: Option[String] = None, groupColumn: Option[String] = None, oneHotEncodeCategoricals: Boolean = true): PipelineModel
  13. def getNumRowsForChunksArray(numRows: Int, chunkSize: Int): SWIGTYPE_p_int
  14. def getTaskId: Long

    Returns a unique task Id for the current task run on the executor.

    Returns a unique task Id for the current task run on the executor.

    returns

    A unique task id.

  15. def getWorkerId: Int

    Returns an integer ID for the current worker.

    Returns an integer ID for the current worker.

    returns

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

  16. def handleConnection(driverServerSocket: ServerSocket, log: Logger, hostAndPorts: ListBuffer[(Socket, String)]): ConnectionState.ConnectionState

    Handles the connection to a task from the driver.

    Handles the connection to a task from the driver.

    driverServerSocket

    The driver socket.

    log

    The log4j logger.

    hostAndPorts

    A list of host and ports of connected tasks.

    returns

    The connection status, can be finished for barrier mode, empty task or connected.

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def initializeNativeLibrary(): Unit

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

  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isLocalExecution: Boolean

    Returns true if spark is run in local mode.

    Returns true if spark is run in local mode.

    returns

    True if spark is run in local mode.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def sendDataToExecutors(hostAndPorts: ListBuffer[(Socket, String)], allConnections: String): Unit
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def validate(result: Int, component: String): Unit
  28. def validateArray(result: SWIGTYPE_p_void, component: String): Unit
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped