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
Operator Rename
I try to reproduce the example of Chapter 3 from the book of M. Hofmann & R. Klinkenberg. I can't introduce the new name in the Operator Rename. Version used: RapidMiner Studio Free Version 8.0.001 on Windows 7 64 Pro. Is there any incompatibility between the book and this version? Input is http://archive.ics.uci.edu/ml/machine-learning-databases/tae/tae.data
Mark
0
Answers
hello @Maerkli - welcome to the community. Yes there are many inconsistencies between that online book and RM8; the former having used a much older version of the software. I'd recommend posting your XML process here (see "Read Before Posting" on right when you reply) and attach your dataset. This way we can replicate what you're doing and help you better.
Scott
Hallo Scott,
Thanks a lot for the rapid (!) answer. I am quite new with RM. I tried to follow your recommendations. Here is the xml file:
<?xml version="1.0" encoding="UTF-8"?><process version="8.0.001">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="8.0.001" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="read_url" compatibility="8.0.001" expanded="true" height="68" name="Read URL" width="90" x="45" y="85">
<parameter key="url" value="http://archive.ics.uci.edu/ml/machine-learning-databases/tae/tae.data"/>
<parameter key="read_attribute_names" value="true"/>
</operator>
<operator activated="true" class="rename" compatibility="8.0.001" expanded="true" height="82" name="Rename" width="90" x="313" y="85">
<parameter key="old_name" value="Att1"/>
<parameter key="new_name" value="English Speaker"/>
<list key="rename_additional_attributes"/>
</operator>
<operator activated="true" class="numerical_to_binominal" compatibility="8.0.001" expanded="true" height="82" name="Numerical to Binominal" width="90" x="447" y="85">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="|English Speaker|Summer"/>
<parameter key="include_special_attributes" value="true"/>
<parameter key="min" value="2.0"/>
<parameter key="max" value="2.0"/>
</operator>
<operator activated="true" class="numerical_to_polynominal" compatibility="8.0.001" expanded="true" height="82" name="Numerical to Polynominal" width="90" x="648" y="85">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="Score Category|Instructor"/>
</operator>
<operator activated="true" class="set_role" compatibility="8.0.001" expanded="true" height="82" name="Set Role" width="90" x="246" y="289">
<parameter key="attribute_name" value="Score Category"/>
<parameter key="target_role" value="label"/>
<list key="set_additional_roles"/>
</operator>
<operator activated="true" class="split_validation" compatibility="8.0.001" expanded="true" height="124" name="Validation" width="90" x="581" y="289">
<process expanded="true">
<portSpacing port="source_training" spacing="0"/>
<portSpacing port="sink_model" spacing="0"/>
<portSpacing port="sink_through 1" spacing="0"/>
</process>
<process expanded="true">
<portSpacing port="source_model" spacing="0"/>
<portSpacing port="source_test set" spacing="0"/>
<portSpacing port="source_through 1" spacing="0"/>
<portSpacing port="sink_averagable 1" spacing="0"/>
<portSpacing port="sink_averagable 2" spacing="0"/>
</process>
</operator>
<connect from_op="Read URL" from_port="output" to_op="Rename" to_port="example set input"/>
<connect from_op="Rename" from_port="example set output" to_op="Numerical to Binominal" to_port="example set input"/>
<connect from_op="Numerical to Binominal" from_port="example set output" to_op="Numerical to Polynominal" to_port="example set input"/>
<connect from_op="Numerical to Polynominal" from_port="example set output" to_op="Set Role" to_port="example set input"/>
<connect from_op="Set Role" from_port="example set output" to_op="Validation" to_port="training"/>
<connect from_op="Validation" from_port="model" to_port="result 1"/>
<connect from_op="Validation" from_port="training" to_port="result 2"/>
<connect from_op="Validation" from_port="averagable 1" to_port="result 3"/>
<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"/>
<portSpacing port="sink_result 4" spacing="0"/>
</process>
</operator>
</process>
Which operator shall I choose instead of Rename in order to fix the example of M. Hofmann & R. Klinkenberg?
Best regards,
Mark
hi @Maerkli - no problem. This should get you going.
Scott