Welcome to the ml-algos-from-scratch repository! This repository contains implementations of widely used machine learning algorithms from scratch using Python. The main goal is to understand the inner workings of these algorithms.
Machine learning algorithms are often used as black boxes, with the inner workings hidden behind libraries and frameworks. This work aims to better understand these algorithms by implementing them from scratch.
- Linear Regression
- Logistic Regression
- k-Nearest Neighbors (kNN)
- Decision Tree
- Random Forest
- Support Vector Machine (SVM)
- AdaBoost
- k-Means Clustering
- Principal Component Analysis (PCA)
- Linear Discriminant Analysis (LDA)
- Naive Bayes
- Perceptron
To get started, you can clone the repository and install the necessary dependencies.
git clone https://github.com/mahesh973/ml-algos-from-scratch.gitcd ml-algos-from-scratchpip install -r requirements.txtContributions are welcome! If you have an algorithm you'd like to add or improvements to existing ones, please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Open a pull request
Happy coding!