Skip to content
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

Augur warnings #507

Closed
wants to merge 5 commits into from
Closed

Augur warnings #507

wants to merge 5 commits into from

Conversation

namsaraeva
Copy link
Collaborator

WIP

Running example code from Augur plot (scatterplot) causes a lot of warnings being printed out:

h_adata, h_results = ag_rfc.predict(loaded_data, subsample_size=20, n_threads=4):

/fs/gpfs41/lv07/fileset03/home/g_mann/namsaraeva/Packages/pertpy/pertpy/tools/_augur.py:238: FutureWarning: Use anndata.concat instead of AnnData.concatenate, AnnData.concatenate is deprecated and will be removed in the future. See the tutorial for concat at: https://anndata.readthedocs.io/en/latest/concatenation.html subsample = AnnData.concatenate(*label_subsamples, index_unique=None)

/fs/home/namsaraeva/miniconda3/envs/pertpy/lib/python3.10/site-packages/sklearn/metrics/_scorer.py:548: FutureWarning: The needs_threshold and needs_proba parameter are deprecated in version 1.4 and will be removed in 1.6. You can either let response_method be None or set it to predict to preserve the same behaviour.

@namsaraeva namsaraeva closed this Jan 22, 2024
@namsaraeva namsaraeva deleted the augur_warning branch January 22, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant