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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CategoricalParams
  2. Product
  3. Equals
  4. ParamGroup
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  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 appendParams(sb: ParamsStringBuilder): ParamsStringBuilder
    Definition Classes
    CategoricalParamsParamGroup
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val catSmooth: Option[Double]
  7. val catl2: Option[Double]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val maxCatThreshold: Option[Int]
  14. val maxCatToOneHot: Option[Int]
  15. val minDataPerGroup: Option[Int]
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    ParamGroup → AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Product

Inherited from Equals

Inherited from ParamGroup

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped