Chapter 6
Other Scala Frameworks for Machine Learning
Section 2
A Multi-threaded K-Nearest Neighbors Implementation with Akka
We will introduce the problem of how to implement the k-nearest neighbor algorithm in a multi-threaded fashion with Akka. - Remind the viewer of the k-nearest neighbor algorithm and how it works in the original single-threaded version. - Show the viewer how the algorithm can be implemented in a multi-threaded way and how it is beneficial. - Actually implement this multi-threaded version in Akka.