A functional that takes a custom function and applies it to Data #69
Labels
documentation
Missing documentation or improvements in the existing one
enhancement
New feature or request
I am afraid I am being a little annoying, but I am just trying to apply fklearn to my problem. I guess with a couple more issues I will be done.
Instructions
I need a functional that takes a custom function and applies it to my data. For example, create a new column adding other two.
Describe the feature and the current state.
The functional "custom_transformer" receives a function and applies it to a column. I need a functional that can create and delete columns just like onehot_categorizer do.
Keeping track of feature names could be a nuissance #58. I had done something about that for myself too #68.
Will this change a current behavior? How?
No, just add a functionality.
Proposed solution
Here is what I had done. Maybe could be useful as an inspiration.
(You could just copy and paste this code on a jupyter notebook with fklearn installed that it should work)
Generating data
DEFINING THE CUSTOM FUNCTION THAT ADDS TWO SPECIFIC COLUMNS:
DEFNING THE FUNCTIONAL TO BE ADDED AT "transformation.py"
TESTING THE FUNCTIONAL
The text was updated successfully, but these errors were encountered: