dial_core.datasets.datatype package¶
Submodules¶
Module contents¶
DataTypes used by the datasets
-
class
dial_core.datasets.datatype.
Categorical
(categories)[source]¶ Bases:
dial_core.datasets.datatype.datatype.DataType
Represents a Category.
A Category is a number indexed on an array of strings, each one representing a different category.
-
class
dial_core.datasets.datatype.
DataType
[source]¶ Bases:
object
Abstract class for any data type.
-
class
dial_core.datasets.datatype.
ImageArray
[source]¶ Bases:
dial_core.datasets.datatype.datatype.DataType
Image, represented as an array of int values, each one representing a pixel intensity (0-255).
The array will have shape (W, H), for grayscale images, or (W, H, C), where C represents the number of color channels (For RGB images)
-
class
dial_core.datasets.datatype.
Numeric
[source]¶ Bases:
dial_core.datasets.datatype.datatype.DataType
Represents a single numeric value.
-
class
dial_core.datasets.datatype.
NumericArray
[source]¶ Bases:
dial_core.datasets.datatype.datatype.DataType
Represents an array of numeric values (unidimensional)