mlfz
Machine Learning From Zero: an educational machine learning library.
Hi there! mlfz is my attempt to provide reference implementations of machine learning algorithms for educational purposes. The goal is not performance, but simplicity: you won't just use this library; you'll dig through the source code to understand how machine learning works on the inside. Check the documentation, which is written like an interactive textbook on the internals of machine learning and neural networks.
If you find value in this project, support me by grabbing a copy of my Mathematics of Machine Learning book!
Quickstart
You can install the package directly from pip:
pip install mlfz
However, I encourage you to clone the repository and install via
pip install -e .
from the directory. This way, any local change is reflected immediately, so you can play around with the code in, say, a Jupyter Notebook.
Contributions
Contributions are welcome! If you think you could make this project better, feel free to submit a PR. To make the process smooth, here are the steps you should take.
- Open an issue where we'll discuss your suggestions. If we are on the same page, you can start working on the PR. (And if we're not, you have saved yourself a ton of work.)
- Fork the repository and create a feature branch where you'll prepare the proposed changes.
- Open a PR to the
mainbranch and tag me (@cosmic-cortex) as a reviewer. - I'll either leave comments and suggestions, or merge the PR.
Metadata
Release files for mlfz 0.1.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mlfz-0.1.3.4.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlfz-0.1.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / mlfz-0.1.3.4.tar.gz
| Download URL | mlfz-0.1.3.4.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
298bdc08021aa96a82b07761280b65c92df180576ce99bc195ddb83dcc7ceeb2
|
|
BLAKE2b-256 checksum How to use checksums |
acb3bca06d255226c5eb4d6a4d2e5a60ad5b82e60ddeebaba1f7fb937eec6eb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency logRelease files / mlfz-0.1.3.4-py3-none-any.whl
| Download URL | mlfz-0.1.3.4-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e71d35bead669c906f70e24bd13a3f003def6ae50752e89bf78837818b4f7c8
|
|
BLAKE2b-256 checksum How to use checksums |
158eb0721d45ecb25bfca92791fb3e5127ccbbe5b72ea105115b207a5d174454
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2026.
Transparency log