TransformableDataBlock
- class aixd.data.TransformableDataBlock(name: str, dobj_list: List[DataObject], **kwargs)[source]
Bases:
DataBlock
A special data block that is transformable. Does not contain an uid column, and holds no data, it only captures the structure of the data. It allows to apply transformation to the data. In particular, it saves the transformed data objects for the inverse transformation.
- Parameters:
name (str) – The name of the data block.
dobj_list (List[DataObject]) – A list of data objects.
kwargs – Arguments passed to DataBlock.__init__(…).
Methods
Returns the dimensions of the data objects.
Inverse transforms the data matrix.
Converts a transformable data block to back to an ordinary data block.
Transforms the data matrix.
Returns True if the normalization is fitted.
Inherited Methods
Checks the data consistency.
In this case, the attributes can be either names of dimensions, or names of full data objects, and we need to return the precise column names that correspond to the attributes.
Returns the data belonging to the requested DataObject's, as a single data matrix.
Returns the data types of the columns of the data matrix for the requested DataObject's.
Returns the data belonging to the requested DataObject's, as a list of data matrices.
Returns the data objects.
Returns information of all the DataObject's of the DataBlock.
Prints the names of the DataObject's.
Prints the applied transformations for the DataBlock.
Internal function for saving.
Updates the DataObject instance according to the passed data (e.g., changing its domain or type)
Updates the position and position_index attributes of the DataObject's.
Internal function for writing.