fl4health.feature_alignment.tabular_feature module¶
- class TabularFeature(feature_name, feature_type, fill_value, metadata=None)[source]¶
Bases:
object
- __init__(feature_name, feature_type, fill_value, metadata=None)[source]¶
Information that represents a tabular feature.
- Parameters:
feature_name (str) – name of the feature.
feature_type (TabularType) – data type of the feature.
fill_value (Scalar | None) – the default fill value for this feature when it is missing in a dataframe.
metadata (MetaData, optional) – metadata associated with this feature.
example (For)
categorical (if the feature is)
None. (then metadata would be all the categories. Defaults to)