Skip to main content

random neural nets

Implementations of a random selection of artificial neural net based models and methods.

Tests codecov

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
  • variational autoencoder:
    • dense: dense_variational_autoencoder_fastai2022.ipynb
    • cnn+dense: cnn_variational_autoencoder_fastai2022.ipynb
  • optimizers: stochastic_optimization_methods.ipynb
  • resnet: resnet_fastai2022.ipynb
  • unet:
    • unet_fastai2022.ipynb
    • unet-isbi2012
  • diffusion (unet + noise):
    • diffusion_fastai2022.ipynb
    • diffusion_fastai2022_learner.ipynb
    • diffusion_fastai2022_learner_with_attention.ipynb
  • mingpt:
    • mingpt_sort.ipynb
    • mingpt_char.ipynb
    • mingpt_adder.ipynb
  • transformer: language-model.ipynb
  • tokenization: tokenization.ipynb
  • tabular:
    • tabular-fastai-classification.ipynb
    • tabular-fastai-classification-with-missingness.ipynb
    • tabular-fastai-classification-with-missingness-and-categories.ipynb
    • tabular-fastai-regression.ipynb
    • tabular-fastai-regression-with-missingness.ipynb
    • tabular-fastai-regression-with-missingness-and-categories.ipynb
    • tabular-variational-auto-encoder.ipynb
    • reusing-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)

Source distribution for random-neural-net-models 0.3.2
File Size Uploaded
random_neural_net_models-0.3.2.tar.gz 341.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for random-neural-net-models 0.3.2
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page