- def init_feature_colums(self, df):
- # Setup feature columns / Quasi identifiers
- fc = []
- if self.feature_columns is None:
- # Assume that all other columns are feature columns
- for col in df.columns:
- if col not in self.sensitive_attribute_columns:
- fc.append(col)
- self.feature_columns = fc
|