"Getting Implicit Multiplication not Enabled Error"

asayreasayre Member Posts: 2 Contributor I
edited June 2019 in Help
I am trying to create a calculated attribute that is the difference between two integer attributes, namely "15hr" and "14hr". I have removed non-zero values and this problem still persists. Here is my process:
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="6.4.000">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="6.4.000" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="retrieve" compatibility="6.4.000" expanded="true" height="60" name="Retrieve TwentyFourteen" width="90" x="45" y="30">
        <parameter key="repository_entry" value="//NewLocalRepository/TwentyFourteen"/>
      </operator>
      <operator activated="true" class="retrieve" compatibility="6.4.000" expanded="true" height="60" name="Retrieve TwentyFifteen" width="90" x="45" y="75">
        <parameter key="repository_entry" value="//NewLocalRepository/TwentyFifteen"/>
      </operator>
      <operator activated="true" class="join" compatibility="6.4.000" expanded="true" height="76" name="Join" width="90" x="179" y="30">
        <parameter key="remove_double_attributes" value="false"/>
        <parameter key="join_type" value="right"/>
        <parameter key="use_id_attribute_as_key" value="false"/>
        <list key="key_attributes">
          <parameter key="Team" value="Team"/>
        </list>
      </operator>
      <operator activated="true" class="select_attributes" compatibility="6.4.000" expanded="true" height="76" name="Select Attributes" width="90" x="313" y="30">
        <parameter key="attribute_filter_type" value="subset"/>
        <parameter key="attributes" value="G|G_from_ES2|HR|HR_from_ES2|Team|W-L|W-L_from_ES2"/>
      </operator>
      <operator activated="true" class="rename" compatibility="6.4.000" expanded="true" height="76" name="Rename" width="90" x="447" y="30">
        <parameter key="old_name" value="G"/>
        <parameter key="new_name" value="14g"/>
        <list key="rename_additional_attributes">
          <parameter key="G_from_ES2" value="15g"/>
          <parameter key="HR" value="14hr"/>
          <parameter key="HR_from_ES2" value="15hr"/>
          <parameter key="W-L" value="14 W-L"/>
          <parameter key="W-L_from_ES2" value="15 W-L"/>
        </list>
      </operator>
      <operator activated="true" breakpoints="after" class="filter_examples" compatibility="6.4.000" expanded="true" height="94" name="Filter Examples" width="90" x="313" y="165">
        <list key="filters_list">
          <parameter key="filters_entry_key" value="14hr.is_not_missing."/>
          <parameter key="filters_entry_key" value="15hr.is_not_missing."/>
        </list>
      </operator>
      <operator activated="true" class="generate_attributes" compatibility="6.4.000" expanded="true" height="76" name="Generate Attributes" width="90" x="514" y="165">
        <list key="function_descriptions">
          <parameter key="HR_D" value="15hr-14hr"/>
        </list>
      </operator>
      <connect from_op="Retrieve TwentyFourteen" from_port="output" to_op="Join" to_port="left"/>
      <connect from_op="Retrieve TwentyFifteen" from_port="output" to_op="Join" to_port="right"/>
      <connect from_op="Join" from_port="join" to_op="Select Attributes" to_port="example set input"/>
      <connect from_op="Select Attributes" from_port="example set output" to_op="Rename" to_port="example set input"/>
      <connect from_op="Rename" from_port="example set output" to_op="Filter Examples" to_port="example set input"/>
      <connect from_op="Filter Examples" from_port="example set output" to_op="Generate Attributes" to_port="example set input"/>
      <connect from_op="Generate Attributes" from_port="example set output" 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>
Tagged:

Answers

  • asayreasayre Member Posts: 2 Contributor I
    My dad figured it out! It was the numbers in my attribute names!
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,497 RM Data Scientist
    Hi,

    neither numbers, white spaces nor brackets are allowed in attribute names. For now you need to rename them. In the next version we will have another way to handle them.

    Cheers,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.