feature/v2 rewrite SVMs
JasonShin opened this issue · comments
Jason Shin commented
-
I'm submitting a ...
[/] feature request -
Summary
As part of an effort to refactor the core codebase using TF.js, we should also do it for SVMs. At the moment, Kalimdor borrows https://github.com/mljs/libsvm to support SVM models, which does not implement any GPU acceleration.
The ticket aims to rewrite SMVs from ground-up, using TF.js, which will naturally support GPU acceleration and easy to maintain codebase.
- References:
- karpathy implementation: https://github.com/karpathy/svmjs
- junku implementation: https://github.com/junku901/machine_learning/blob/master/lib/svm.js
- some tutoria: https://medium.com/deep-math-machine-learning-ai/chapter-3-1-svm-from-scratch-in-python-86f93f853dc
Jason Shin commented
I thought about this for a while, I think we will clone libsvm-js and fully refactor it to suit machinelearn.js. I'm currently working on this at https://github.com/machinelearnjs/libsvm-ts