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