Options

Select Attribute based on SUM

aryan_hosseinzaaryan_hosseinza Member Posts: 74 Contributor II
edited November 2018 in Help
Hi ,

I have a dataset with binary (numerical : 0/1) features and I want to choose all those features which sum of their values are less than a specific value (e.g. 1000) ,

I'd be thankful if you could help me , 

Thanks ,
Arian

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.2.008">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="5.2.008" expanded="true" name="Process">
    <process expanded="true" height="611" width="949">
      <operator activated="true" class="generate_massive_data" compatibility="5.2.008" expanded="true" height="60" name="Generate Massive Data" width="90" x="45" y="120">
        <parameter key="number_examples" value="100"/>
        <parameter key="number_attributes" value="100"/>
        <parameter key="sparse_fraction" value="0.7"/>
      </operator>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
    </process>
  </operator>
</process>
Sign In or Register to comment.