Kiyoshika / CppEZML

A work in progress C++ machine learning library designed to be very easy to use. Everything pretty much written from scratch.
0 stars 0 forks source link

Classifier.hpp / Regressor.hpp - Problems with model constructor arguments #44

Closed Kiyoshika closed 3 years ago

Kiyoshika commented 3 years ago

Discovered a bug when trying to create a KNN model. KNN does not have a default constructor where Classifier.hpp tries to invoke the default constructor in k_fold_cv (which doesn't exist) and throws an error.

There's also no way currently to pass the constructor arguments from the original model.

Kiyoshika commented 3 years ago

Resolved in 8e90f5a