dmlc / dmlc/xgboost

R Package Prediction Function Doesn't Explain Numbers Type

Open
#8,317 0 comments 0 reactions 0 assignees View on GitHub
doc
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 15h
Merged PRs (30d)
48

Description

`?predict.xgb.Booster` doesn't show in Value section what the numbers mean if `objective = "survival:cox"`. In contrast, the survival package has a better explanation for its predict function `?predict.coxph`.

> type: The type of predicted value. Choices are the linear predictor (`"lp"`), the risk score exp(lp) (`"risk"`), the expected number of events given the covariates and follow-up time (`"expected"`), and the terms of the linear predictor (`"terms"`). The survival probability for a subject is equal to exp(-expected).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.