lemon icon indicating copy to clipboard operation
lemon copied to clipboard

Updates for new scikit-learn and python 3.11

Open kodai2199 opened this issue 1 year ago • 0 comments

Hi, I was trying to run lemon using Python 3.11.2 and scikit-learn 1.5.2. I ran into some issues due to API changes. Namely, in the OneHotEncoder of scikit-learn the "sparse" keyword argument was renamed to "sparse_output" in 1.2, while in Python 3.11 the Random object now requires very specific types, so I had to cast np.int64 to int().

kodai2199 avatar Oct 05 '24 09:10 kodai2199