set_factoryfunc#
- SurveyFeatureFactoryCherryPicker.set_factoryfunc(var_name: str, func: Callable[[SurveyVariable, Series], Tuple[ndarray, ndarray]])#
Assign a feature factory function with a variable.
Parameters#
- var_namestr
Name of the variable.
- funcCallable[[SurveyVariable, pd.Series], Tuple[np.ndarray, np.ndarray]])
A feature factory function.