Skip to content

ShaheryarRafique/machine-learning

Repository files navigation

Machine Learning Algorithm Implementations

Python Scikit-learn PyTorch License

A collection of machine learning algorithms implemented from scratch and using popular frameworks, with applications to real-world datasets.

๐Ÿš€ Key Features

  • From-Scratch Implementations of core ML algorithms
  • Optimized Versions using scikit-learn/PyTorch
  • Jupyter Notebooks with detailed explanations
  • Benchmark Comparisons (scratch vs. library)
  • Production-ready code samples
  • Comprehensive coverage of Supervised & Unsupervised Learning algorithms

๐Ÿง  Algorithms Included

๐Ÿ”น Supervised Learning

Classification:

  • K-Nearest Neighbors (KNN)
  • Logistic Regression (Binary & Multi-class)
  • Naive Bayes (Gaussian, Multinomial)
  • Perceptron Algorithm
  • Support Vector Machines (SVM)
  • Decision Trees
  • Random Forests
  • Neural Networks (Feedforward Basics)

Regression:

  • Linear Regression (Simple & Multiple)
  • Polynomial Regression
  • Logistic Regression (for classification tasks)

๐Ÿ”น Unsupervised Learning

  • K-Means Clustering
  • Hierarchical Clustering
  • DBSCAN
  • Principal Component Analysis (PCA)

โœ… Ideal For

  • Students and beginners learning ML fundamentals
  • Comparing custom implementations vs. popular libraries
  • Building intuition behind each algorithm
  • Educational projects, assignments, and practical understanding

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published