Skip to content

marcndo/ml_foundation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning and AI Algorithms Repository

A collection of machine learning algorithms from scratch using python Welcome to the Machine Learning and AI Algorithms Repository! This repository contains a collection of implementations for various machine learning, artificial intelligence, and deep learning algorithms. It is organized into different categories such as clustering, regression, classification, and deep learning.

This repository is meant to serve as both an educational resource and a practical implementation guide. The code is organized by algorithm type, and each algorithm includes an implementation, an example case, and relevant mathematical explanations.

Table of Contents

  • Introduction
  • Repository Structure
  • Algorithm Categories
  • Contributing
  • Articles
  • License

Introduction

This repository provides the implementation of classic and state-of-the-art algorithms in machine learning, AI, and deep learning. Whether you are a beginner looking to understand the basics of these algorithms or an expert exploring new ideas, this repository will help you understand both the theoretical and practical aspects of AI algorithms.

The code is structured with clear separation between algorithm implementations, example usage, and in-depth explanations.

Repository Structure

The repository is organized into the following main directories:

  • clustering/: Contains various clustering algorithms like K-Means, Hierarchical Clustering, etc.
  • regression/: Includes algorithms for regression, such as Linear and Logistic Regression.
  • classification/: Focuses on classification algorithms like Decision Trees, Random Forest, etc.
  • deep_learning/: Includes deep learning models like Neural Networks, CNNs, etc.

Each algorithm folder contains the following structure:

  • algorithm_name.py: The Python implementation of the algorithm.
  • examples/: Example scripts demonstrating the use of the algorithm.
  • README.md: A description of the algorithm, its mathematical foundations, and usage examples.

Algorithm Categories

Clustering:

This section contains clustering algorithms, which group data points into clusters based on similarities.

  • K-Means
  • Hierarchical Clustering
  • Regression
  • Regression algorithms predict continuous outputs based on input data.

Linear Regression

  • Logistic Regression
  • Classification
  • Classification algorithms categorize input data into discrete labels or classes.

Tree base.

Decision Trees Random Forest

Deep Learning

Deep learning algorithms, including neural networks and CNNs, are used for more complex tasks such as image recognition, NLP, and other high-dimensional problems.

Neural Networks

  • Convolutional Neural Networks (CNN)
  • Contributing Contributions to this repository are welcome! If you have an algorithm to add, improvements, or suggestions, feel free to submit a pull request. Please ensure your code adheres to the repository’s structure and includes relevant documentation.

Articles

In addition to the implementation, I will also be writing Medium Articles that explain the mathematical foundations behind these algorithms in detail. Keep an eye on this space for links to articles that dive deep into the math and theory of the algorithms.

License This repository is licensed under the MIT License.

About

A collection of machine learning algorithms from scratch using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors