Skip to content

This project is dedicated to implementing various machine learning algorithms from scratch to gain a deeper understanding of how they work.

License

Notifications You must be signed in to change notification settings

sadegh15khedry/ML-Algorithms-From-Scratch

Repository files navigation

ML Algorithms From Scratch

Welcome to the ML-Algorithms-from-scratch repository! This project is dedicated to implementing various machine learning algorithms from scratch to gain a deeper understanding of how they work.

Table of Contents

  1. Introduction
  2. Algorithms Implemented
  3. Installation
  4. Usage
  5. Project Structure
  6. Contributing
  7. License

Introduction

Machine learning is a field of computer science that gives computers the ability to learn without being explicitly programmed. Understanding the inner workings of these algorithms is crucial for becoming proficient in machine learning. This repository contains implementations of various machine learning algorithms from scratch using Python.

Algorithms Implemented

  • Linear Regression
  • Logistic Regression
  • K-Nearest Neighbors (KNN)
  • Naive Bayes Classifier
  • Decision Tree
  • Random Forest
  • Support Vector Machine (SVM)
  • K-Means Clustering
  • Principal Component Analysis (PCA)
  • Neural Networks (will be implemented)
  • (More algorithms will be added...)

Installation

Use the Installation guide provided in the each project.

ML-Algorithms-From-Scratch

Use each project using the installation guide provided in the project's folder.

Usage

Each algorithm has its own dedicated folder containing the implementation and a Jupyter notebook with examples of how to use it. To run the notebooks, you need to have Jupyter installed:

pip install jupyter jupyter notebook

Open the notebook you are interested in and run the cells to see the algorithm in action.

Project Structure

Contributing

Contributions are welcome! If you have any suggestions, improvements, or new algorithms to add, please feel free to create a pull request or open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for details.