1chooo / refinaid

🐻 Enabling everyone unfamiliar with programming languages to easily engage with AI and open the doors to the world of the future. (AI4ALL)
https://refinaid.vercel.app/
Apache License 2.0
21 stars 5 forks source link

[Bug] TypeError when picking up `KNeighborsClassifier` #87

Open 1chooo opened 1 year ago

1chooo commented 1 year ago

We always encounter the following message when we select the KNeighborsClassifier algorithm. Although it doesn't affect usability, we can investigate it further!

  File "/Users/linchunho/Developer/simple-ai/Refinaid/Utils/Update.py", line 336, in update_training_results
    figures, evaluations = training(dataset_config, model_config)
TypeError: cannot unpack non-iterable NoneType object

UserWarning: X does not have valid feature names, but KNeighborsClassifier was fitted with feature names