simple-ai icon indicating copy to clipboard operation
simple-ai copied to clipboard

[Bug] TypeError when picking up `KNeighborsClassifier`

Open 1chooo opened this issue 2 years ago • 0 comments

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

1chooo avatar Sep 05 '23 16:09 1chooo