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.5

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.5
File Size Uploaded Provenance Actions
animal_mnist-0.5.5.tar.gz 2.7 MB Without provenance Details for animal_mnist-0.5.5.tar.gz

Built distribution (wheel)

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

Total release size: 5.3 MB

Release files / animal_mnist-0.5.5.tar.gz

Download URL animal_mnist-0.5.5.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
22884b34f9c612154f49c309971d0846b9ad99b5307951a01fe618b31714e61c
BLAKE2b-256 checksum
How to use checksums
f62f5fa06f9e166180c76547caa079743654f3291396d822dea01f588ff86f33
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.5-py3-none-any.whl

Download URL animal_mnist-0.5.5-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dd6c7c2043b5b03b5d8e804f03114a8b02ee41f9ceeee0941fe1f9419427187b
BLAKE2b-256 checksum
How to use checksums
32cb7a8ed887c21e7f2e7f2c35e7170b7ed8a439aaa140259ddf1a3eb7a568ed
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.5

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