Machine Learning

Here are some toy implementations of various machine learning models I’ve coded up.

Neural Networks

Linear regression (vectorized)
Logistic regression (vectorized)
Fully connected neural network
(monolithic vectorized) (modular 1d, modular vectorized)
Recurrent neural network (vectorized)

Sequential

  Generative Discriminative
IID Naive Bayes Logistic regression (vectorized)
Sequential Hidden markov model Conditional random field
  Uninformed Informed
Unweighted DFS (recursive, stack),
BFS (queue),
Iterative Deepening
 
Weighted UCS Greedy, A*