reg:squarederror: regression with squared loss.
reg:squaredlogerror: regression with squared log loss 21[log(pred+1)−log(label+1)]2. All input labels are required to be greater than -1. Also, see metric rmsle for possible issue with this objective.
reg:logistic: logistic regression, output probability
reg:pseudohubererror: regression with Pseudo Huber loss, a twice differentiable alternative to absolute loss.
reg:absoluteerror: Regression with L1 error. When tree model is used, leaf value is refreshed after tree construction. If used in distributed training, the leaf value is calculated as the mean value from all workers, which is not guaranteed to be optimal.
reg:quantileerror: Quantile loss, also known as pinball loss. See later sections for its parameter and Quantile Regression for a worked example.
binary:logistic: logistic regression for binary classification, output probability
binary:logitraw: logistic regression for binary classification, output score before logistic transformation
binary:hinge: hinge loss for binary classification. This makes predictions of 0 or 1, rather than producing probabilities.
count:poisson: Poisson regression for count data, output mean of Poisson distribution.
survival:cox: Cox regression for right censored survival time data (negative values are considered right censored).
Note that predictions are returned on the hazard ratio scale (i.e., as HR = exp(marginal_prediction) in the proportional hazard function h(t) = h0(t) * HR).
survival:aft: Accelerated failure time model for censored survival time data.
See Survival Analysis with Accelerated Failure Time for details.
multi:softmax: set XGBoost to do multiclass classification using the softmax objective, you also need to set num_class(number of classes)
multi:softprob: same as softmax, but output a vector of ndata * nclass, which can be further reshaped to ndata * nclass matrix. The result contains predicted probability of each data point belonging to each class.
rank:ndcg: Use LambdaMART to perform pair-wise ranking where Normalized Discounted Cumulative Gain (NDCG) is maximized. This objective supports position debiasing for click data.
rank:map: Use LambdaMART to perform pair-wise ranking where Mean Average Precision (MAP) is maximized
rank:pairwise: Use LambdaRank to perform pair-wise ranking using the ranknet objective.
reg:gamma: gamma regression with log-link. Output is a mean of gamma distribution. It might be useful, e.g., for modeling insurance claims severity, or for any outcome that might be gamma-distributed.
reg:tweedie: Tweedie regression with log-link. It might be useful, e.g., for modeling total loss in insurance, or for any outcome that might be Tweedie-distributed.