Packages

class LightGBMDataset extends AutoCloseable

Represents a LightGBM dataset. Wraps the native implementation.

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

Instance Constructors

  1. new LightGBMDataset(datasetPtr: SWIGTYPE_p_void)

    datasetPtr

    The native representation of the dataset.

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 addDoubleField(field: SWIGTYPE_p_double, fieldName: String, numRows: Int): Unit
  5. def addDoubleField(field: doubleChunkedArray, fieldName: String, numRows: Int): Unit
  6. def addDoubleField(field: Array[Double], fieldName: String, numRows: Int): Unit
  7. def addFloatField(field: SWIGTYPE_p_float, fieldName: String, numRows: Int): Unit
  8. def addFloatField(field: floatChunkedArray, fieldName: String, numRows: Int): Unit
  9. def addFloatField(field: Array[Double], fieldName: String, numRows: Int): Unit
  10. def addGroupColumn[T](rows: Array[T]): Unit
  11. def addIntField(field: Array[Int], fieldName: String, numRows: Int): Unit
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. def close(): Unit
    Definition Classes
    LightGBMDataset → AutoCloseable
  15. val datasetPtr: SWIGTYPE_p_void
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getField[T](fieldName: String)(implicit arg0: ClassTag[T]): Array[T]
  21. def getLabel(): Array[Float]
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def numData(): Int

    Get the number of rows in the Dataset.

    Get the number of rows in the Dataset.

    returns

    The number of rows.

  28. def numFeature(): Int

    Get the number of features in the Dataset.

    Get the number of features in the Dataset.

    returns

    The number of features.

  29. def setFeatureNames(featureNamesOpt: Option[Array[String]], numCols: Int): LightGBMDataset
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def validateDataset(): Unit
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped