Closed berkuva closed 2 years ago
Hi @hyunjaecho94 , probably not a numba bug. Could you post a minimal example the reproduce this error? And could you post your versiono of numba and python?
Numba: 0.53.1 Python: 3.7
surv = build_surv() //custom built function
eval_surv = EvalSurv(surv=surv,
durations=my_durations,
events=my_events,
censor_surv='km',
censor_durations=my_durations)
All my data is uncensored, so durations and censor_durations are the same.
The problem was that my_events
was not all 1 despite duration
and censor_durations
were identical.
I wasn't sure whether to post this on Numba or here, but I am guessing I am getting this error because of my incorrect way of using PyCox, so I am posting here. This occurs when I try to instantiate an EvalSurv object.
I have no experience in Numba, and some online digging did not help.. Please help. Thank you.