MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms

github.com/rushter/MLAlgorithms @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
431 symbols 1,375 edges 72 files 98 documented · 23% 6 cross-repo links updated 3mo ago★ 11,17010 open issues

Browse by type

Functions 368 Types & classes 63
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Machine learning algorithms

A collection of minimal and clean implementations of machine learning algorithms.

Why?

This project is targeting people who want to learn internals of ml algorithms or implement them from scratch.
The code is much easier to follow than the optimized libraries and easier to play with.
All algorithms are implemented in Python, using numpy, scipy and autograd.

Implemented:

Installation

        git clone https://github.com/rushter/MLAlgorithms
        cd MLAlgorithms
        pip install scipy numpy
        python setup.py develop

How to run examples without installation

        cd MLAlgorithms
        python -m examples.linear_models

How to run examples within Docker

        cd MLAlgorithms
        docker build -t mlalgorithms .
        docker run --rm -it mlalgorithms bash
        python -m examples.linear_models

Contributing

Your contributions are always welcome!
Feel free to improve existing code, documentation or implement new algorithm.
Please open an issue to propose your changes if they are big enough.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 255
Function 113
Class 63

Languages

Python100%

Modules by API surface

mla/neuralnet/layers/basic.py39 symbols
mla/neuralnet/optimizers.py30 symbols
mla/ensemble/gbm.py24 symbols
mla/neuralnet/layers/convnet.py19 symbols
mla/linear_models.py19 symbols
mla/neuralnet/nnet.py16 symbols
mla/metrics/metrics.py16 symbols
mla/neuralnet/constraints.py12 symbols
mla/metrics/tests/test_metrics.py12 symbols
mla/kmeans.py12 symbols
mla/gaussian_mixture.py12 symbols
mla/svm/kernerls.py11 symbols

Dependencies from manifests, versioned

autograd1.1.7 · 1×
matplotlib1.5.1 · 1×
numpy1.11.1 · 1×
scikit-learn0.18 · 1×
scipy0.18.0 · 1×
seaborn0.7.1 · 1×

For agents

$ claude mcp add MLAlgorithms \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page