loft-br / xgboost-survival-embeddings

Improving XGBoost survival analysis with embeddings and debiased estimators
https://loft-br.github.io/xgboost-survival-embeddings/
Apache License 2.0
313 stars 51 forks source link

What is the meaning of events 0 and 1? can you please add this to the docs or point me to the relevant information? #34

Closed Veghit closed 3 years ago

Veghit commented 3 years ago

Instructions

Describe the documentation issue

(explain more about the issue you found, if it's a missing doc or a improvement)

GabrielGimenez commented 3 years ago

We still don't have documentation that explains survival analysis

Survival analysis tries to model the time until an event, given that the event might not occur or we don't have information about the subject after certain time.

To do that we need two target variables, event, where event == 1 means that an event occurred and event == 0 means that for the current time, it didn't occur. And time, that indicates how much time it took for the event to happen if event == 1 or indicates how much time we observed the subject if event == 0

You can also use event == True or event == False instead of 1 and 0