Traverse and operate an ExampleSet
Hi everyone!
I would like to multiply each value of attribute subset (Att2 - Att10) by value of other attribute (Att1), in a multiple exampleset:
For example:
Att1 Att2 Att3 .... Att10
1 2 2 3
2 3 2 1
3 1 2 1
2 2 1 2
will be:
Att1 Att2 Att3 .... Att10
1 2 2 3
2 6 4 2
3 3 6 3
2 4 2 4
I've worked with macros in this way:
Loop Examples -> Loop Attributes -> Set Data
I'm not sure if this is efficient, does anyone has a better solution?
Thanks !!! ; )
I would like to multiply each value of attribute subset (Att2 - Att10) by value of other attribute (Att1), in a multiple exampleset:
For example:
Att1 Att2 Att3 .... Att10
1 2 2 3
2 3 2 1
3 1 2 1
2 2 1 2
will be:
Att1 Att2 Att3 .... Att10
1 2 2 3
2 6 4 2
3 3 6 3
2 4 2 4
I've worked with macros in this way:
Loop Examples -> Loop Attributes -> Set Data
I'm not sure if this is efficient, does anyone has a better solution?
Thanks !!! ; )