Skip to main content

#Animal-MNIST Animal-MNIST is a dataset consisting of 10,000 28x28 grayscale images, mimicking the format of the MNIST dataset. There are 10 classes of animals (Namely Bear, Bird, Cat, Cow, Dog, Elephant, Giraffe, Horse, Sheep, Zebra) each consisting of 1000 pictures. This is intended to serve educational purposes and expand further on the MNIST - fashion MNIST benchmarking system for machine learning algorithms.

##Installation

pip install --upgrade animal-mnist

##Load the dataset

from animal_mnist.dataset_Loader import load_animal_mnist_dataset

X, y = load_animal_mnist_dataset()

##Official train/validation/test split

from animal_mnist.dataset_Loader import load_animal_mnist_splits

train_idx, val_idx, test_idx = load_animal_mnist_splits()

X_train, y_train = X[train_idx], y[train_idx]
X_val, y_val = X[val_idx], y[val_idx]
X_test, y_test = X[test_idx], y[test_idx]

The official class-stratified partition contains 7,200 training images, 800 validation images, and 2,000 test images. Split indices are fixed for reproducible comparisons.

Metadata

Release files for animal-mnist 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for animal-mnist 0.5.1
File Size Uploaded Provenance Actions
animal_mnist-0.5.1.tar.gz 2.7 MB Without provenance Details for animal_mnist-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for animal-mnist 0.5.1
File Interpreter ABI Platform Actions
animal_mnist-0.5.1-py3-none-any.whl Python 3 none any Details for animal_mnist-0.5.1-py3-none-any.whl

Total release size: 5.3 MB

Release files / animal_mnist-0.5.1.tar.gz

Download URL animal_mnist-0.5.1.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
8933112c6b493c5d17b131464c7ed853abedd61b9feec1ca0910bc77b085040a
BLAKE2b-256 checksum
How to use checksums
8c9a207105472d80df464128717788438572da1fe1ad420b4d38a52d295c3ef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / animal_mnist-0.5.1-py3-none-any.whl

Download URL animal_mnist-0.5.1-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
efd09f30c359ee74168f762c41ac2e4f18a3d000e214739bc3ea43d3d0e4d2cf
BLAKE2b-256 checksum
How to use checksums
67338f8923b6851b9d9cd29beeabab13648d81ef2ae22a58d77178eab8396283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for animal-mnist 0.5.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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