I tried what you suggested, but it seems that I need something different. Let me state my question more precisely:
I am trying to write a classifier, very similar to the Spambase Problem in the examples
However
I need to divide the float variables in my table to 3 groups, and use specific operators (e.g. add) for each group,
to construct if clauses which are from different groups such as:
if (feature_3_from_group_1 + feature_5_from_group_1) > (feature_6_from_group1-feature_7_from_group_1)
then (feature_2_from_group_2 - feature_7_from_group_2)
else (feature_9_from_group_2 * feature_10_from_group_2)
so - while basically how can I do this, where all features are floats, some operators are only for specific groups, while others (for example if) can take operators from several groups.
Also - how can I define terminals for such groups? do they have to be functions? Do I need to add them one by one, or can i use the gp.PrimitiveSetTyped with itertools.repeat?
Thanks you in advance!