harrysouthworth / gbm

Gradient boosted models
Other
106 stars 27 forks source link

Improvement for coxph #21

Closed jeffwong closed 9 years ago

jeffwong commented 10 years ago

Would really appreciate the ability to use intervals in the Surv class, so instead of passing Surv(time, censor indicator) it would be great to pass Surv(start time, end time, censor indicator). This would require rewriting some of the C++ code because adding this flexibility implies that at a particular time t not all records are part of the risk set. In the current version, as long as the record is not censored it is in the risk set, but with a start time and end time we must have t >= start time and t < end time in order to be in the risk set

harrysouthworth commented 9 years ago

This issue was moved to gbm-developers/gbm#11