neuroquery / pubget

Collecting papers from PubMed Central and extracting text, metadata and stereotactic coordinates.
https://neuroquery.github.io/pubget/
MIT License
20 stars 12 forks source link

`fit_neuroquery` raises an error because of deprecated `alpha` argument for NMF in sklearn >= 1.2 #42

Open RaphaelMeudec opened 8 months ago

RaphaelMeudec commented 8 months ago

The fit_neuroquery method rely on a alpha argument in NMF which has been deprecated since sklearn 1.0 (1.0 docs). In 1.2, this argument has been dropped. Hence it's not possible to fit Neuroquery using pubget if the sklearn version is above 1.2.

jeromedockes commented 8 months ago

thanks! I think this may need to be fixed in neuroquery rather than pubget?

RaphaelMeudec commented 8 months ago

Yes indeed! I'll open a Neuroquery issue and link this one in case someone encounters the same error.