SimpleSurveyFeatureFactoryMissingValuesOwnFeatures#
- class tangles.convenience.SimpleSurveyFeatureFactoryMissingValuesOwnFeatures(survey: Survey, embedded_feature_factory: SurveyFeatureFactory | None = None)#
A simple survey factory that takes missing and invalid values into account.
This factory creates one feature for each missing value. This feature partitions the dataset in respondents who gave an invalid answer vs. respondents who gave a valid answer.
Methods
Create features for a set of variables corresponding to the columns specified by column_selection
Create a set of binary features given a variable and a column of the data containing all answers to the