random neural nets
Implementations of a random selection of artificial neural net based models and methods.
Python version
Development is done using uv, pinning the python version to the one in the file .python-version.
Installation (on Linux)
pip install random-neural-net-models
or
uv add random-neural-net-models
For package development / notebooks shenanigans:
git clone https://github.com/eschmidt42/random-neural-net-models.git
cd random-neural-net-models
make install-dev-env
Usage
See jupyter notebooks in nbs/ for:
- fastai style learner with tensordict:
learner-example.ipynb - perceptron:
perceptron.ipynb - backpropagation:
backpropagation_rumelhart1986.ipynb - convolution:
convolution_lecun1990.ipynb - cnn autoencoder:
- mnist:
cnn_autoencoder_fastai2022.ipynb - fashion mnist:
cnn_autoencoder_fastai2022_fashion.ipynb
- mnist:
- variational autoencoder:
- dense:
dense_variational_autoencoder_fastai2022.ipynb - cnn+dense:
cnn_variational_autoencoder_fastai2022.ipynb
- dense:
- optimizers:
stochastic_optimization_methods.ipynb - resnet:
resnet_fastai2022.ipynb - unet:
unet_fastai2022.ipynbunet-isbi2012
- diffusion (unet + noise):
diffusion_fastai2022.ipynbdiffusion_fastai2022_learner.ipynbdiffusion_fastai2022_learner_with_attention.ipynb
- mingpt:
mingpt_sort.ipynbmingpt_char.ipynbmingpt_adder.ipynb
- transformer:
language-model.ipynb - tokenization:
tokenization.ipynb - tabular:
tabular-fastai-classification.ipynbtabular-fastai-classification-with-missingness.ipynbtabular-fastai-classification-with-missingness-and-categories.ipynbtabular-fastai-regression.ipynbtabular-fastai-regression-with-missingness.ipynbtabular-fastai-regression-with-missingness-and-categories.ipynbtabular-variational-auto-encoder.ipynbreusing-vae-for-classification.ipynb
Metadata
Release files for random-neural-net-models 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| random_neural_net_models-0.3.2.tar.gz | 341.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| random_neural_net_models-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 403.9 kB
Release files / random_neural_net_models-0.3.2.tar.gz
| Download URL | random_neural_net_models-0.3.2.tar.gz |
|---|---|
| Size | 341.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a45d199af97892de02972727afd6e1e5d15ee7d45289b711cf3c84dc74ebad25
|
|
BLAKE2b-256 checksum How to use checksums |
bef08127f395ca49431e3128641932a94092e2f69ce7596a6c961bbdd025ba19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Sep 15, 2025.
Transparency logRelease files / random_neural_net_models-0.3.2-py3-none-any.whl
| Download URL | random_neural_net_models-0.3.2-py3-none-any.whl |
|---|---|
| Size | 62.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35033c8e29ce377ad5503991570ba08285974d161755416a1304cd3a7038e17c
|
|
BLAKE2b-256 checksum How to use checksums |
7c8c4d33f8b3d5daa87a07bf95949791fa10db3643b29eddf31a63971d9e5d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Sep 15, 2025.
Transparency log