The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Error labels must start or end with white spaces

michaelglovenmichaelgloven RapidMiner Certified Analyst, Member Posts: 46 Guru
edited October 2019 in Help

I am trying to generate a simple correlation matrix - the input is nominal data which has been converted to binominal (I tried all parameter settings). The process fails at the input or immediate processing of the correlation matrix. Any suggestions on what this error means?

 

<?xml version="1.0" encoding="UTF-8"?><process version="8.1.000">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="8.1.000" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="retrieve" compatibility="8.1.000" expanded="true" height="68" name="Retrieve 4 - MN Excav Data - Digs wDefects - Data Set" width="90" x="112" y="85">
<parameter key="repository_entry" value="../02 - Excavation Data/4 - MN Excav Data - Digs wDefects - Data Set"/>
</operator>
<operator activated="true" class="retrieve" compatibility="8.1.000" expanded="true" height="68" name="Retrieve 20 - EC Weights" width="90" x="112" y="238">
<parameter key="repository_entry" value="20 - EC Weights"/>
</operator>
<operator activated="true" class="select_by_weights" compatibility="8.1.000" expanded="true" height="103" name="Select by Weights" width="90" x="313" y="187"/>
<operator activated="true" class="nominal_to_binominal" compatibility="8.1.000" expanded="true" height="103" name="Nominal to Binominal" width="90" x="514" y="187">
<parameter key="include_special_attributes" value="true"/>
<parameter key="transform_binominal" value="true"/>
<parameter key="use_underscore_in_name" value="true"/>
</operator>
<operator activated="true" class="concurrency:correlation_matrix" compatibility="8.1.000" expanded="true" height="103" name="Correlation Matrix" width="90" x="715" y="187">
<parameter key="include_special_attributes" value="true"/>
</operator>
<connect from_op="Retrieve 4 - MN Excav Data - Digs wDefects - Data Set" from_port="output" to_op="Select by Weights" to_port="example set input"/>
<connect from_op="Retrieve 20 - EC Weights" from_port="output" to_op="Select by Weights" to_port="weights"/>
<connect from_op="Select by Weights" from_port="example set output" to_op="Nominal to Binominal" to_port="example set input"/>
<connect from_op="Nominal to Binominal" from_port="example set output" to_op="Correlation Matrix" to_port="example set"/>
<connect from_op="Correlation Matrix" from_port="example set" to_port="result 1"/>
<connect from_op="Correlation Matrix" from_port="matrix" to_port="result 2"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
<portSpacing port="sink_result 3" spacing="0"/>
<description align="center" color="yellow" colored="false" height="105" resized="false" width="180" x="400" y="586">Type your comment</description>
</process>
</operator>
</process>

 

 

Tagged:

Best Answers

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn
    Solution Accepted

    @michaelgloven I would see if the Trim operator can help you out here, it removes trailing and leading whitespaces.

  • michaelglovenmichaelgloven RapidMiner Certified Analyst, Member Posts: 46 Guru
    Solution Accepted

    good suggestion, this resolved the issue...

     

    and thanks, you just saved me a lot of time mucking with data...

Answers

  • lionelderkrikorlionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn

    Hi @michaelgloven,

     

    I was not able to reproduce your error with this process using samples data : 

    Labels_error.png

    Maybe the problem come from your data : Can you share your dataset or an extract of it (if it is not sensitive)

     

    Regards, 

     

     

    Lionel

  • michaelglovenmichaelgloven RapidMiner Certified Analyst, Member Posts: 46 Guru

    thanks for taking a look, unfortunately I cannot share the data. I'm curious what this error means, I'd think there are documented conditions which cause error? Nonetheless, since your process works I probably have something going on with my data...

Sign In or Register to comment.