scverse/pertpy

Got an error when using 'random_forest_regressor' estimator

Guo-lingyun opened this issue · 1 comments

Since my data had four timepoints-treated conditions, I tried to use 'random_forest_regressor ' estimator which was described for continuous data in the tutorial:
augur = pt.tl.Augur("random_forest_regressor")
treat_augur=augur.load(treat,label_col='group',cell_type_col='celltype')
treat_augur, treat_augur_results = augur.predict(treat_augur, random_state=None, n_threads=4)
However, I got an error in the predicting step:
AttributeError: RandomForestRegressor has none of the following attributes: predict_proba.
What should I do?

Hi,

is this issue still current?