SurveyFeatureFactory#
- class tangles.convenience.SurveyFeatureFactory(survey: Survey)#
Abstract base class for feature factories.
A feature factory can be used to create binary features from (possibly non-binary) survey variables.
Parameters#
- survey
Survey
The factory will be able to create features (or separations) for variables of this survey.
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
- survey