DataBool
- class aixd.data.DataBool(name: str, dim: int = 1, **kwargs)[source]
Bases:
DataCategorical
Boolean type, i.e., categorical type with options ‘True’, ‘False’
- Parameters:
name (str) – Name of the data object.
dim (int) – Dimensionality of the data object, or different columns to perform the split on.
kwargs – Additional keyword arguments passed to DataCategorical.
Inherited Methods
Adds the transformation at the end.
Check if the data is consistent with the defined domain.
Returns a copy of the data object.
Class method to for initialization from list of integers
Returns the activation function for approximating this feature.
Returns the loss function for approximating this feature.
Returns a fully-connected head with the appropriate number of in / out channels for encoding / decoding this feature
Returns the loss function for approximating this feature.
Returns grid samples from the domain of the data object.
Returns if the passed name match with the name of the DataObject.
Inverse transformation of the data matrix according to specification DataObject.transformations.
Simple heuristic to determine if the data is transformed.
Plots the distribution of the passed data as a Barplot.
Adds the transformation at the start.
Prints an overview of the defined transformations.
Returns random samples from the domain of the data object.
Returns samples from the domain of the data object around the given centroid.
Transforms the data matrix according to specification DataObject.transformations.
Check if all transformations are fitted.
Updates the domain of the data object with the passed data.