https://github.com/buffalojoec/modular-svm