Got an error when using 'random_forest_regressor' estimator
Open
@Zethson is already working on this.
Since Sep 16, 2024.
- Dominant language
- Python
- Stars
- 345
- Forks
- 66
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 13
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.