case class ObjectiveParams(objective: String, fobj: Option[FObjTrait]) extends ParamGroup with Product with Serializable

Defines parameters related to the lightgbm objective function.

objective

The Objective. For regression applications, this can be: regression_l2, regression_l1, huber, fair, poisson, quantile, mape, gamma or tweedie. For classification applications, this can be: binary, multiclass, or multiclassova.

fobj

Customized objective function. Should accept two parameters: preds, train_data, and return (grad, hess).

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectiveParams
  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 ObjectiveParams(objective: String, fobj: Option[FObjTrait])

    objective

    The Objective. For regression applications, this can be: regression_l2, regression_l1, huber, fair, poisson, quantile, mape, gamma or tweedie. For classification applications, this can be: binary, multiclass, or multiclassova.

    fobj

    Customized objective function. Should accept two parameters: preds, train_data, and return (grad, hess).

Value Members

  1. def appendParams(sb: ParamsStringBuilder): ParamsStringBuilder
    Definition Classes
    ObjectiveParamsParamGroup
  2. val fobj: Option[FObjTrait]
  3. val objective: String
  4. def toString(): String
    Definition Classes
    ParamGroup → AnyRef → Any