tabensemb.data.datamodule.DataModule.derive#
method
- DataModule.derive(df: DataFrame) Tuple[DataFrame, List[str], List[str], Dict[str, ndarray]][source]#
Derive both stacked and unstacked features using the input dataframe.
- Parameters:
- df
The tabular dataset.
- Returns:
- pd.DataFrame
The tabular dataset with derived stacked features.
- List
Continuous feature names with derived stacked features.
- List
Categorical feature names with derived stacked features.
- dict
The derived unstacked data.
See also