lifelines icon indicating copy to clipboard operation
lifelines copied to clipboard

Can not use sklearn_adapter and WeibullAFTFitter with n_jobs = -1 in GridSearchCV

Open AlessandroGuazzo opened this issue 3 years ago • 2 comments

Hello,

I get this error when using sklearn_adapter with a Weibull model and setting n_jobs = -1 (or anything greater than 1) in gridsearch cv

image

Any Help appreciadet!

AlessandroGuazzo avatar Mar 05 '21 21:03 AlessandroGuazzo

I get the same error message when using the cross_val_score function together with sklearn_adapter and CoxPHFitter. As soon as I select n_jobs = 1 everything works fine.

vuongd avatar May 17 '21 14:05 vuongd

I am experiencing the same with v.0.26.0 and python 3.9.5

clancia avatar Jun 30 '21 12:06 clancia