lacava / few

a feature engineering wrapper for sklearn
https://lacava.github.io/few
GNU General Public License v3.0
50 stars 22 forks source link

adding new node types #36

Open echo66 opened 6 years ago

echo66 commented 6 years ago

Greetings!

How can we add custom node types? Is it (currently) possible?

lacava commented 6 years ago

the short answer is: yes, by modifying the node class in population.py, the eqn_dict in population.py, and the eval_dict in evaluation.py. the long answer is that it could be easier if we switched the nodes to a polymorphic class-type definition. I'm happy to accept any help to do that but I don't have the bandwidth at the moment.

By the way, this is something that should be much easier in Feat. We have an add_function() option (currently not in use) that in theory accepts node pointers following the node definition in node.h.