fl4health.feature_alignment.tab_features_info_encoder module¶
- class TabularFeaturesInfoEncoder(tabular_features, tabular_targets)[source]¶
Bases:
object- __init__(tabular_features, tabular_targets)[source]¶
This class encodes all the information required to perform feature alignment on tabular datasets.
NOTE: targets are not included in tabular_features
- Parameters:
tabular_features (list[TabularFeature]) – List of all tabular features.
tabular_targets (list[TabularFeature]) – List of all targets.
- static encoder_from_dataframe(df, id_column, target_columns, fill_values=None)[source]¶
- Return type: