Closed kjappelbaum closed 2 years ago
one annoying thing is that we also need to patch featurize_many and featurize_wrapper to get the primitive only once.
featurize_many
featurize_wrapper
The same with MultipleFeaturizer
MultipleFeaturizer
An alternative would have been to always pipe the get_primitive call in as a pipeline step. However, this will lead to even more convoluted code (?)
get_primitive
And it also needs to happen in fit for consistency.
fit
Would also need to add note to developer guide about difference between featurize and _featurize
featurize
_featurize
The missing thing now is to implement the _get_primitive call for the fit methods.
_get_primitive
one annoying thing is that we also need to patch
featurize_many
andfeaturize_wrapper
to get the primitive only once.The same with
MultipleFeaturizer
An alternative would have been to always pipe the
get_primitive
call in as a pipeline step. However, this will lead to even more convoluted code (?)And it also needs to happen in
fit
for consistency.Would also need to add note to developer guide about difference between
featurize
and_featurize