case class ObjectiveParams(objective: String, fobj: Option[FObjTrait]) extends Serializable with Product
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).
- Alphabetic
- By Inheritance
- ObjectiveParams
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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).