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. def appendParams(sb: ParamsStringBuilder): ParamsStringBuilder
    Definition Classes
    CategoricalParamsParamGroup
  2. val catSmooth: Option[Double]
  3. val catl2: Option[Double]
  4. val maxCatThreshold: Option[Int]
  5. val maxCatToOneHot: Option[Int]
  6. val minDataPerGroup: Option[Int]
  7. def toString(): String
    Definition Classes
    ParamGroup → AnyRef → Any