brain-score / vision

A framework for evaluating models on their alignment to brain and behavioral measurements (50+ benchmarks)
http://brain-score.org
MIT License
115 stars 67 forks source link

scikit-learn incompatibility python>=3.9 #327

Open mschrimpf opened 2 years ago

mschrimpf commented 2 years ago

from @modirshanechi: Scikit Learn is not compatible with Python >= 3.9, which leads to an error when you want to install Brain Score on Python >= 3.9.

RylanSchaeffer commented 1 year ago

Is anything planned to fix this? Or just use Python <3.9?

mschrimpf commented 1 year ago

For now, we're supporting 3.7: https://github.com/brain-score/brain-score/blob/c51b8aa2c94212a9ac56c06c556afad0bb0a3521/.travis.yml#L5

But we of course want to upgrade to newer python versions too, I hope we can tackle that in a couple of months (community support very much welcome as always of course).

PalaashAgrawal commented 1 year ago

@mschrimpf it is mentioned in setup.py that sklearn>0.24 breaks PLSregression, but i checked with the latest version of sklearn (1.2.0) in python 3.9, PLSRegression works perfectly!

mschrimpf commented 1 year ago

Thank you @PalaashAgrawal for checking with a newer sklearn version and letting us know! Does the same sklearn version work in python 3.7?