在RapidMiner中使用零生成ExampleSet

时间:2017-10-06 13:51:02

标签: rapidminer

在RapidMiner中生成如下所示的最简单/最正确的方法是什么:

enter image description here

我现在使用的方式:

enter image description here

选择属性是必要的,因为'生成数据'给了我一个'标签'属性,我不想要

1 个答案:

答案 0 :(得分:0)

三家运营商似乎是最低限度的。您可以将Generate Data by User SpecificationLoopAppend结合使用。这是一个例子......

<?xml version="1.0" encoding="UTF-8"?><process version="7.5.000">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="7.5.000" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="concurrency:loop" compatibility="7.5.000" expanded="true" height="82" name="Loop" width="90" x="246" y="136">
        <process expanded="true">
          <operator activated="true" class="generate_data_user_specification" compatibility="7.5.000" expanded="true" height="68" name="Generate Data by User Specification" width="90" x="179" y="238">
            <list key="attribute_values">
              <parameter key="attribute1" value="0"/>
              <parameter key="anotherattribute" value="0"/>
            </list>
            <list key="set_additional_roles"/>
          </operator>
          <connect from_op="Generate Data by User Specification" from_port="output" to_port="output 1"/>
          <portSpacing port="source_input 1" spacing="0"/>
          <portSpacing port="sink_output 1" spacing="0"/>
          <portSpacing port="sink_output 2" spacing="0"/>
        </process>
      </operator>
      <operator activated="true" class="append" compatibility="7.5.000" expanded="true" height="82" name="Append" width="90" x="447" y="136"/>
      <connect from_op="Loop" from_port="output 1" to_op="Append" to_port="example set 1"/>
      <connect from_op="Append" from_port="merged set" to_port="result 1"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
    </process>
  </operator>
</process>

安德鲁