This repository includes my implementations of various machine learning and related algorithms in Python.
Warning: This repository is a work in progress. Right now, I do not have the time but I plan to add more in the future.
- innerproduct.py => Includes a vectorized implementation of inner product
- l2distance.py => Finds euclidian distance between rows of two matrices in a vectorized manner
- knnclassifier.py => Includes a vectorized implementation of k nearest neighbour algorithm
- analyze.py => Analyzes the percentage of disrepancies between predictions and real labels. You can use different loss functions as well.
- BayesClassifier.ipynb => This is for Learning From Data course at ITU. It includes Naive Bayes classifier, data visualization, cross validation etc.