case class CategoricalParams(minDataPerGroup: Option[Int], maxCatThreshold: Option[Int], catl2: Option[Double], catSmooth: Option[Double], maxCatToOneHot: Option[Int]) extends ParamGroup with Product with Serializable
Defines parameters related to categorical features for lightgbm.
- minDataPerGroup
minimal number of data per categorical group.
- maxCatThreshold
limit number of split points considered for categorical features
- catl2
L2 regularization in categorical split.
- catSmooth
this can reduce the effect of noises in categorical features, especially for categories with few data.
- maxCatToOneHot
when number of categories of one feature smaller than or equal to this, one-vs-other split algorithm will be used.
- Alphabetic
- By Inheritance
- CategoricalParams
- Product
- Equals
- ParamGroup
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CategoricalParams(minDataPerGroup: Option[Int], maxCatThreshold: Option[Int], catl2: Option[Double], catSmooth: Option[Double], maxCatToOneHot: Option[Int])
- minDataPerGroup
minimal number of data per categorical group.
- maxCatThreshold
limit number of split points considered for categorical features
- catl2
L2 regularization in categorical split.
- catSmooth
this can reduce the effect of noises in categorical features, especially for categories with few data.
- maxCatToOneHot
when number of categories of one feature smaller than or equal to this, one-vs-other split algorithm will be used.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
appendParams(sb: ParamsStringBuilder): ParamsStringBuilder
- Definition Classes
- CategoricalParams → ParamGroup
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val catSmooth: Option[Double]
- val catl2: Option[Double]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxCatThreshold: Option[Int]
- val maxCatToOneHot: Option[Int]
- val minDataPerGroup: Option[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ParamGroup → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()