awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
trekhleb avatar

trekhleb/homemade-machine-learning

0
View on GitHub↗
24,608 Stars·4,186 Forks·Jupyter Notebook·MIT·13 Aufrufe

Homemade Machine Learning

This project provides a collection of machine learning algorithms implemented from scratch in Python. It serves as an educational resource using interactive notebooks that combine code with mathematical explanations to demonstrate the first principles of data science.

The repository includes reference implementations for neural networks, such as multilayer perceptrons with backpropagation, and supervised learning models including linear and logistic regression. It also covers unsupervised learning through k-means clustering and Gaussian anomaly detection.

The codebase covers a broad range of mathematical foundations, including iterative gradient descent, closed-form normal equations, L2 regularization, and polynomial feature transformations. Supporting utilities are provided for feature scale normalization, performance metric calculation, and sample dataset provisioning.

Features

  • Multilayer Perceptrons - Provides a from-scratch implementation of multilayer perceptrons with input, hidden, and output layers.
  • Machine Learning Education - Serves as an educational resource for learning the mathematical foundations of ML through scratch implementations.
  • Backpropagation - Implements the backpropagation algorithm to calculate gradients and update neural network weights.
  • Classification - Implements multi-class classification using a one-vs-all approach to categorize inputs.
  • K-Means Clustering - Provides a manual implementation of k-means clustering for unsupervised data partitioning.
  • Logistic Regression Models - Implements logistic regression for binary classification by fitting data to a logistic curve.
  • Machine Learning Implementations - Provides code-based reference implementations of core machine learning algorithms written from first principles in Python.
  • Linear Regression Implementations - Provides an educational from-scratch implementation of linear regression using gradient descent.
  • Gradient Optimization Techniques - Applies gradient optimization and regularization techniques to improve model convergence and accuracy.
  • Forward Propagation Engines - Provides the computational logic for the forward pass in multilayer perceptrons.
  • Neural Network Implementations - Builds multilayer perceptrons from scratch, focusing on the low-level mechanics of neural networks.
  • Gradient Descent Algorithms - Implements gradient descent as the primary iterative optimization method for minimizing cost functions.
  • Supervised Learning - Implements supervised learning workflows including linear and logistic regression for prediction and classification.
  • Unsupervised Learning - Implements unsupervised learning workflows for clustering and anomaly detection in unlabeled data.
  • Backpropagation Training - Implements the backpropagation algorithm from scratch to enable training of multilayer perceptrons.
  • Model Prediction Logic - Provides feedforward propagation to identify the most probable class labels for input data.
  • Anomaly Detection - Implements a Gaussian distribution-based system to identify outliers as low-probability observations.
  • Feature Scale Normalization - Provides mean normalization utilities to ensure stable convergence during gradient descent training.
  • Feature Expansion - Provides utilities for polynomial feature expansion to model non-linear relationships within linear regression.
  • Polynomial Feature Mapping - Enables non-linear relationship modeling by transforming independent variables into polynomial features.
  • Closed-Form Solvers - Implements a closed-form solver using the normal equation to compute optimal model parameters without iteration.
  • Performance Metrics - Provides utilities to compute F1 score, precision, and recall for model performance measurement.
  • Regularization Techniques - Implements L2 regularization to penalize large coefficients and prevent model overfitting.
  • Clustering and Density Estimation - Implements unsupervised techniques including K-Means clustering and Gaussian density estimation for outlier detection.
  • Weight Initialization - Includes utilities for initializing neural network weights to break symmetry during training.
  • L2 Regularization - Includes L2 regularization (ridge penalty) to prevent overfitting by penalizing large coefficient magnitudes.
  • Educational Notebooks - Provides interactive Jupyter notebooks that interleave Python code with mathematical explanations.
  • Supervised Learning Examples - Offers practical examples of supervised learning, including linear/logistic regression and regularization.
  • Data Science Projects - Implementations of machine learning algorithms from scratch.
  • Educational Resources - Python implementations of algorithms with interactive demos.

Star-Verlauf

Star-Verlauf für trekhleb/homemade-machine-learningStar-Verlauf für trekhleb/homemade-machine-learning

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht trekhleb/homemade-machine-learning?

This project provides a collection of machine learning algorithms implemented from scratch in Python. It serves as an educational resource using interactive notebooks that combine code with mathematical explanations to demonstrate the first principles of data science.

Was sind die Hauptfunktionen von trekhleb/homemade-machine-learning?

Die Hauptfunktionen von trekhleb/homemade-machine-learning sind: Multilayer Perceptrons, Machine Learning Education, Backpropagation, Classification, K-Means Clustering, Logistic Regression Models, Machine Learning Implementations, Linear Regression Implementations.

Welche Open-Source-Alternativen gibt es zu trekhleb/homemade-machine-learning?

Open-Source-Alternativen zu trekhleb/homemade-machine-learning sind unter anderem: lawlite19/machinelearning_python — This is a Python machine learning library featuring a collection of core algorithms implemented from scratch to… d2l-ai/d2l-en — This project is an educational platform and research toolkit designed to teach deep learning through a combination of… greyhatguy007/machine-learning-specialization-coursera — This repository is a collection of implementation references and solved notebooks covering supervised, unsupervised,… rasbt/python-machine-learning-book — This project is an educational resource providing practical code examples and implementations of machine learning… zotroneneis/machine_learning_basics — This project is a collection of foundational machine learning algorithms and tools implemented from scratch in Python.… hunkim/deeplearningzerotoall — DeepLearningZeroToAll is a comprehensive educational resource and implementation collection focused on deep learning…

Open-Source-Alternativen zu Homemade Machine Learning

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Homemade Machine Learning.
  • lawlite19/machinelearning_pythonAvatar von lawlite19

    lawlite19/MachineLearning_Python

    8,526Auf GitHub ansehen↗

    This is a Python machine learning library featuring a collection of core algorithms implemented from scratch to demonstrate foundational AI concepts. It provides a comprehensive toolkit for supervised learning, unsupervised learning, and neural network development. The project is distinguished by its custom implementation of a neural network framework, which includes multi-layer perceptrons with backpropagation, gradient descent, and weight regularization. It also includes a specialized anomaly detection toolkit that identifies outliers and rare events using Gaussian probability distributions

    Python
    Auf GitHub ansehen↗8,526
  • d2l-ai/d2l-enAvatar von d2l-ai

    d2l-ai/d2l-en

    29,001Auf GitHub ansehen↗

    This project is an educational platform and research toolkit designed to teach deep learning through a combination of mathematical theory, visual diagrams, and executable code. It provides a comprehensive environment for building, training, and evaluating neural networks, grounding complex concepts in interactive computational notebooks that allow for hands-on experimentation. The framework distinguishes itself by interleaving theoretical foundations—including linear algebra, calculus, and probability—with practical implementations across multiple industry-standard libraries. It supports flex

    Pythonbookcomputer-visiondata-science
    Auf GitHub ansehen↗29,001
greyhatguy007/machine-learning-specialization-courseraAvatar von greyhatguy007

greyhatguy007/Machine-Learning-Specialization-Coursera

6,996Auf GitHub ansehen↗

This repository is a collection of implementation references and solved notebooks covering supervised, unsupervised, and reinforcement learning techniques. It provides practical guides for building predictive models, clustering algorithms, and autonomous agents. The project includes specific implementations for neural network architectures, such as multi-layer perceptrons for digit recognition, and recommender systems using collaborative and content-based filtering. It also features reinforcement learning systems that utilize deep Q-learning to optimize decision-making policies. The codebase

Jupyter Notebookandrew-ngandrew-ng-machine-learningcoursera
Auf GitHub ansehen↗6,996
  • rasbt/python-machine-learning-bookAvatar von rasbt

    rasbt/python-machine-learning-book

    12,614Auf GitHub ansehen↗

    This project is an educational resource providing practical code examples and implementations of machine learning algorithms using the Python language. It serves as a guide for constructing predictive pipelines, clustering models, and dimensionality reduction within the Scikit-Learn ecosystem. The repository includes comprehensive demonstrations for supervised and unsupervised learning, as well as detailed examples for implementing neural networks and deep architectures. It also provides practical guidance on exporting model parameters to JSON and wrapping trained models in web APIs for produ

    Jupyter Notebook
    Auf GitHub ansehen↗12,614
  • Alle 30 Alternativen zu Homemade Machine Learning anzeigen→