Open IsaacGreenMachine opened 4 months ago
Hmmm, I have seen this issue with a recent scikit-learn update but it seems there isn't a fix as of yet. You could try the solution suggested here perhaps each time after a partial fit to see whether that helps.
The workaround in the linked issue didn't work for me, but what did work was downgrading scikit-learn to 1.4.2.
The workaround in the linked issue didn't work for me, but what did work was downgrading scikit-learn to 1.4.2.
thank you, it works for 1.4.2!!! (I used 1.5.2 version of scikit-learn)
I'm on an Ubuntu 22.04 Python 3.11.0 bertopic 0.16.4 numpy 2.0.2 scipy 1.14.1
Have you searched existing issues? 🔎
Desribe the bug
running the example code from the partial_fit example in the docs throws an error.
thanks for the help!
Stack trace:
Reproduction
copy and pasted from example code here
I'm on an M3 MacBook Pro Python 3.12.4 scikit-learn 1.5.1 bertopic 0.16.3 numpy 1.26.4 scipy 1.14.0
BERTopic Version
0.16.3