Machine Learning - Support Vector Machine in Typescript