Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Link : https://github.com/frozenca/ML_practice/tree/main/ML/SVM
The most famous library for Support Vector Machine (SVM) algorithm is libsvm (https://github.com/cjlin1/libsvm/), but I felt that its code style is too old, I rewrote in newer C++ as a hobby project.
Yes, I'm already using CRTP heavily in my Matrix class (https://github.com/frozenca/Ndim-Matrix). I decided to use dynamic polymorphism because it was easy to implement and I thought that the virtual indirection overhead is not significant here. (mostly you don't call fit() or predict() million times)