kosmos.ml.datasets.fashion_dataset¶
Classes¶
- class FashionDataset(*, min_max_scaler: bool = True)¶
Bases:
kosmos.ml.datasets.dataset.SLDatasetFashion MNIST dataset for multiclass classification.
Notes
Number of instances: 70,000 (60,000 train + 10,000 test)
Number of features: 784 numeric (28x28 pixel images, flattened)
- Classes: 10 (balanced; clothing categories: T-shirt/top, Trouser, Pullover,
Dress, Coat, Sandal, Shirt, Sneaker, Bag, Ankle boot)
References
OpenML — Fashion-MNIST dataset: https://www.openml.org/d/40996
Initialize the dataset.
- Parameters:
min_max_scaler (bool) – Whether to apply min-max scaling to the features.
Properties
- property class_names¶
Return human-readable class labels of clothing categories.
- property input_dimension¶
Number of feature columns.
- property output_dim¶
Number of distinct classes.