-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with the "sampling" calculation method #20
Comments
Thank you for reporting the error, it was a matter of changing the default parameter in |
import numpy as np nb_features=7 np_X=np.random.rand(nb_events, nb_features) y=np.empty(nb_events, dtype=[('event', '?'), ('time', '<f16')]) from sksurv.ensemble import RandomSurvivalForest exp_rsf=SurvivalModelExplainer(rsf,X,y) |
Good job! Everything is working fine now :) |
produces:
The text was updated successfully, but these errors were encountered: