Skip to main content

Animal-MNIST Animal-Shape is a dataset consisting of 10,000 images of 28x28 grayscale images, mimicking the format of MNIST dataset. There are 10 classes of animals (including 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

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

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

Built distribution (wheel)

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

Total release size: 5.3 MB

Release files / animal_mnist-0.5.tar.gz

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

Download URL animal_mnist-0.5-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7a88229b058c37bad57987a288ce0830e2244d30f71b3edbb9909ffd665af635
BLAKE2b-256 checksum
How to use checksums
89aa4923f83c34da06112f859a3caf6e460748437a9743ac0d3c03994167c7e0
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

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