I’m currently working through Machine Learning in Action with the goal of learning some machine learning and translating the code into Haskell.

Here’s my translation of the k-nearest-neighbour implementation from chapter 2:

Note that this depends on some of the helper functions in my LAUtil modules.

Here are a few observations:

Tags: Haskell, Machine learning

All content © 2018 Richard Cook. All rights reserved.