Clojure for Machine Learning
Modrzyk, N. (2019). Clojure. In: Sakr, S., Zomaya, A.Y. (eds) Encyclopedia of Big Data Technologies. Springer, Cham. https://doi.org/10.1007/978-3-319-77525-8_302
By the same sane community that gives us tablecloth, comes a full blown Machine Learning library named the scicloj.
Explaining the details of the whole library or machine learning in general being beyond the scope of this article, we will instead present how the reader can put into action a KNN, K Nearest Neighbor algorithm to guess quotes retrieved from the previously presented JQuants API. What is KNN? K Nearest Neighbor is a simple algorithm that stores all the available cases and classifies the new data or case based on a similarity measure. It is mostly used to classifies a data point based on how its neighbors are classified.