kosmos.ml.datasets.digits_dataset¶
Classes¶
- class DigitsDataset(*, min_max_scaler: bool = True)¶
Bases:
kosmos.ml.datasets.dataset.SLDatasetDigits dataset for multiclass classification.
Notes
Number of instances: 1797
Number of features: 64 numeric
Classes: 10 (roughly balanced, digits 0-9)
References
Scikit-Learn: Digits dataset (8x8 images of handwritten digits) https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_digits.html
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 numbers 0-9.
- property input_dimension¶
Number of feature columns.
- property output_dim¶
Number of distinct classes.