Open sarahmish opened 8 months ago
The following line produces an error when scikit-learn<1.2. I would suggest to add it as a requirement for the package. https://github.com/MLBazaar/BTB/blob/9b4500e61622e15cd0df5ccd389a2e37c8d7996d/baytune/tuning/hyperparams/categorical.py#L52
scikit-learn<1.2
reference:
New in version 1.2: sparse was renamed to sparse_output
sparse
sparse_output
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html
The following line produces an error when
scikit-learn<1.2
. I would suggest to add it as a requirement for the package. https://github.com/MLBazaar/BTB/blob/9b4500e61622e15cd0df5ccd389a2e37c8d7996d/baytune/tuning/hyperparams/categorical.py#L52reference:
https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html