Options
select attributes by aggregation [SOLVED]
Hi!
I have a set of examples with one id attribute and several regular integer attributes that contains only binary data (0 or 1).
I wish select only the regular attributes whose sum (by column) is greater than a specific value (defined in a context variable)
Which the best way to solve it (from original data, select only the regular attributes whose sum is greater than a variable value) ?
Many thanks in advance
I have a set of examples with one id attribute and several regular integer attributes that contains only binary data (0 or 1).
I wish select only the regular attributes whose sum (by column) is greater than a specific value (defined in a context variable)
Which the best way to solve it (from original data, select only the regular attributes whose sum is greater than a variable value) ?
Many thanks in advance
0
Answers
try something like the process below. After the aggregation, the aggregated data is filtered (in this case such that the sum of att1 is smaller than -5), then joined with the original data. To understand the process, it might be helpful to define some operator breakpoints and debug through the process.
Best, Marius
Hi Marius!
Thanks for your reply. But my problem is not very well what was answered (maybe I am not have been clear)
In this link http://www.lavradeirasarcozelo.com/extra/description.pdf I have a pdf with images that explain better my problem.
Many many thanks
Regards
Hope this helps
Hi Marius!
yes, now it is I wants.
Many thanks