Open ryanrussell opened 2 years ago
@ryanrussell Thanks for the report :) This code originally worked with scikit-learn 0.23.2 on Kaggle notebook environment (here), but due to an API change on scikit-learn, it no longer works with the newer version of scikit-learn.
https://github.com/scikit-learn/scikit-learn/pull/16993
Please note that VI
means the inverse matrix of V
, so simply renaming the keywords will not work as intended. Therefore, explicitly calculating the inverse matrix with reference to the PR above will solve this problem.
Of course, pull requests to fix it and add a Dockerfile are welcome!
Hi,
I'm getting this from lightgbm-clustering-model.ipynb
Comes from your KNN Fit notebook:
Changing these from
V
->VI
per the error message resolves and runs. Is this supposed to beVI
?Happy to submit a PR with the change, but wanted to ask first if this is correct.
Also, I've done some refactoring and Dockerizing for our purposes. If you like, I can submit a PR back with a Dockerfile and a docker compose yaml file to make this easier for people to bring up on their own machines.