Skip to content

kirannamburi06/core-machine-learning-algorithms

Repository files navigation

Core Machine Learning Algorithms From Scratch

This repository contains implementations of core Machine Learning algorithms built completely from scratch using Python, without relying on pre-built ML model libraries such as Scikit-learn.

The goal of this project is to deeply understand how machine learning algorithms work internally by implementing the mathematics, training logic, and prediction workflows manually.


Features

  • Implemented algorithms from scratch
  • Object-Oriented Programming based design
  • Custom preprocessing workflows
  • Training and prediction pipelines
  • Educational and learning-focused implementations

Implemented Algorithms

Classification Algorithms

  • K-Nearest Neighbors (KNN)
  • Logistic Regression
  • Decision Tree Classifier
  • Random Forest
  • Support Vector Machine (SVM)
  • Naive Bayes
  • AdaBoost
  • Multi-Layer Perceptron (MLP)

Probabilistic / Sequential Models

  • Bayesian Networks
  • Hidden Markov Models (HMM)

Technologies Used

  • Python
  • NumPy
  • Pandas
  • Sklearn (Only for importing datasets in some programs)
  • hmmlearn (For Hidden Markov Model implementation)
  • Object-Oriented Programming (OOP)

Repository Structure

.
├── Adaboost.py
├── BayesianNetwork.py
├── DecisionTree.py
├── HMM.py
├── K-NearestNeighbour.py
├── LogisticRegression.py
├── MLPClassifier.py
├── NaiveBayes.py
├── RandomForest.py
├── SVM.py
├── Preprocess.py
├── dataset.csv

About

This repository includes core machine learning algorithms in classification and regression, that are implemented from scratch without using predefined libraries for model. Used Object oriented programming in python programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages