PetroFit / petrofit

Python package for calculating Petrosian properties and fitting galaxy light profiles
https://petrofit.readthedocs.io
26 stars 6 forks source link

Change sklearn to scikit-learn #174

Closed astro-nova closed 1 year ago

astro-nova commented 1 year ago

Installing with pip throws an error:

"The 'sklearn' PyPI package is deprecated, use 'scikit-learn' rather than 'sklearn' for pip commands. Here is how to fix this error in the main use cases: (...)

As far as I can see, this is the only place that uses sklearn instead of scikit-learn; after this change, the package installs fine. Feel free to disregard and sorry if this is wrong!

robelgeda commented 1 year ago

Thank you! I will take a look at why the CI is failing and merge this.