A minimalist neural networks library built on a tiny autograd engine
Project description
pyfit
A minimalist neural networks library built on a tiny autograd engine. Very much inspired by the micrograd library created by Andrej Karpathy.
Overview
This project aims to:
- demonstrate automatic differentiation, a core concept of modern Deep Learning frameworks like PyTorch and TensorFlow;
- define a simple API for training neural nets, somehow mimicking Keras and PyTorch Ignite;
- follow good coding practices, including type annotations and unit tests.
Demonstration
The demo notebook showcases what pyfit is all about.
Features
- Autograd engine [ source | tests ]
- Neural networks API [ source | tests ]
- Metrics [ source | tests ]
- Optimizers [ source | tests ]
- Data utilities [ source | tests ]
- Training API [ source | tests ]
Development Notes
pyfit uses the following tools:
Run the following commands in project root folder to check the codebase.
> pylint pyfit/* tests/* # linting (including type checks)
> mypy . # type checks only
> pytest # test suite
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyfit-1.0.2.tar.gz.
File metadata
- Download URL: pyfit-1.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
616dea6249546f9f84f95fad38c6c8fcaf134410e6c71af87226cf06d3d55a30
|
|
| MD5 |
c9c0113633e78254620a2b37a1959d66
|
|
| BLAKE2b-256 |
d5437c8815508429a81234eb428ffa0d9d189c6a9d5fa7f5476a301ae75e1ad6
|
File details
Details for the file pyfit-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pyfit-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56a0bd6e0381dbdc7306a610d8d89c6ddc0fece35afb7f481d371f4a4f49e994
|
|
| MD5 |
708ceb924c99cb6b182a4bec182097a6
|
|
| BLAKE2b-256 |
578fdbe49293dc4dc2c73f43a2dd09b783f662e1057207914b096a93eeee818a
|