tabensemb.data.datamodule.DataModule.get_feature_types#
method
- DataModule.get_feature_types(features: List[str], allow_unknown: bool = False) List[str][source]#
Get the type defined in
feature_typesin the configuration for each feature.- Parameters:
- features
A list of features.
- allow_unknown
Regard unknown features as “Unknown” features. If False, an error will be raised if unknown features are found.
- Returns:
- list
The type of each feature
See also