SurveyFeatureFactoryDecorator#
- class tangles.convenience.SurveyFeatureFactoryDecorator(survey: Survey, embedded_feature_factory: SurveyFeatureFactory | None = None)#
A small decorator class that can extend the behaviour of another survey feature factory.
Attributes#
- embedded_feature_factory
SurveyFeatureFactory
Another feature factory. The default is a
SimpleSurveyFeatureFactory
.
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
- embedded_feature_factory