:py:mod:`kosmos.ml.datasets.organamnist_dataset` ================================================ .. py:module:: kosmos.ml.datasets.organamnist_dataset Classes ------- .. py:class:: OrganAMNISTDataset(*, min_max_scaler: bool = True) Bases: :py:class:`kosmos.ml.datasets.dataset.SLDataset` OrganAMNIST dataset for organ classification from medical images. .. admonition:: Notes - Number of instances: 58,830 (34,561 train + 6,491 val + 17,778 test) - Number of features: 784 numeric (28x28 pixel images, flattened) - Classes: 11 (different organ types) .. admonition:: References - MedMNIST: https://medmnist.com/ Initialize the dataset. :param min_max_scaler: Whether to apply min-max scaling to the features. :type min_max_scaler: bool | .. rubric:: Properties .. py:property:: class_names Return human-readable class labels for organ types. .. py:property:: input_dimension Number of feature columns. .. py:property:: output_dim Number of distinct classes.