Skip to content

nablaFox/h-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning in Haskell

Haskell library implementing foundamental machine learning algorithms. Developed for the "Introduction to Machine Learning" course at the University of Trento (2024/2025).

Walkthrough

Each algorithm implemented in this library is organized into 3 files:

  • src/AlgorithmName.hs: implementation code
  • theory/AlgorithmName.md: mathematical derivation, explanations, proofs
  • example/algorithm-name.hs: usage example

To run the examples:

cabal run algorithm-name

Core Foundations

Mathematical Framework for ML
Formal definitions and theoretical basis for all implementations
SourceTheory

Polynomial Regression
Non-linear regression through polynomial basis expansion
SourceTheoryExample

k-Nearest Neighbors
Non parametric classifier
SourceTheoryExample

About

Machine Learning in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published