case class DatasetParams(isEnableSparse: Option[Boolean], useMissing: Option[Boolean], zeroAsMissing: Option[Boolean]) extends ParamGroup with Product with Serializable
Defines the Dataset parameters passed to the LightGBM classifier.
- isEnableSparse
Used to enable/disable sparse optimization.
- useMissing
Set this to false to disable the special handle of missing value.
- zeroAsMissing
Set to true to treat all zero as missing values (including the unshown values in LibSVM/sparse matrices) Set to false to use na for representing missing values.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DatasetParams
- Product
- Equals
- ParamGroup
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
DatasetParams(isEnableSparse: Option[Boolean], useMissing: Option[Boolean], zeroAsMissing: Option[Boolean])
- isEnableSparse
Used to enable/disable sparse optimization.
- useMissing
Set this to false to disable the special handle of missing value.
- zeroAsMissing
Set to true to treat all zero as missing values (including the unshown values in LibSVM/sparse matrices) Set to false to use na for representing missing values.
Value Members
-
def
appendParams(sb: ParamsStringBuilder): ParamsStringBuilder
- Definition Classes
- DatasetParams → ParamGroup
- val isEnableSparse: Option[Boolean]
-
def
toString(): String
- Definition Classes
- ParamGroup → AnyRef → Any
- val useMissing: Option[Boolean]
- val zeroAsMissing: Option[Boolean]