process failed: java.lang.ArrayIndexOutOfBoundsException
nolle
New Altair Community Member
Hi folks,
I'm using RapidMiner 5.3.008 and get the following error on ApplyModel of a trained NeuralNetwork:
The setup does not seem to contain any obvious errors, but you should check the log messages or activate the debug mode in the settings dialog in order to get more information about this problem.
The error log contains:
SEVERE: Process failed: operator cannot be executed (DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.). Check the log messages...
java.lang.ArrayIndexOutOfBoundsException: DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.
at com.rapidminer.example.table.DataRow.get(DataRow.java:78)
at com.rapidminer.example.Example.getValue(Example.java:94)
at com.rapidminer.operator.learner.functions.neuralnet.InputNode.calculateValue(InputNode.java:61)
at com.rapidminer.operator.learner.functions.neuralnet.SigmoidFunction.calculateValue(SigmoidFunction.java:50)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.LinearFunction.calculateValue(LinearFunction.java:49)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.OutputNode.calculateValue(OutputNode.java:68)
at com.rapidminer.operator.learner.functions.neuralnet.ImprovedNeuralNetModel.performPrediction(ImprovedNeuralNetModel.java:192)
at com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:76)
at com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:100)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:711)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:379)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.Process.run(Process.java:949)
at com.rapidminer.Process.run(Process.java:873)
at com.rapidminer.Process.run(Process.java:832)
at com.rapidminer.Process.run(Process.java:827)
at com.rapidminer.Process.run(Process.java:817)
at com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)
Jun 25, 2013 10:04:23 AM com.rapidminer.gui.ProcessThread run
SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
+- Read Database[1] (Read Database)
+- Set Role (2)[1] (Set Role)
+- Retrieve NewcastleAndMiddlesbrough[1] (Retrieve)
+- Select Attributes (2)[1] (Select Attributes)
+- Rename[1] (Rename)
+- Select Attributes (4)[1] (Select Attributes)
+- Generate Attributes[1] (Generate Attributes)
+- Set Role[1] (Set Role)
+- Real to Integer[1] (Real to Integer)
+- Text to Nominal[1] (Text to Nominal)
+- Multiply (2)[1] (Multiply)
+- Generate Attributes (2)[1] (Generate Attributes)
+- Nominal to Text[1] (Nominal to Text)
+- Set Role (3)[1] (Set Role)
+- Multiply[1] (Multiply)
+- Nominal to Numerical (2)[1] (Nominal to Numerical)
+- Weight by Correlation (2)[1] (Weight by Correlation)
+- Select Attributes (3)[1] (Select Attributes)
+- Select by Weights (2)[1] (Select by Weights)
+- Nominal to Numerical[1] (Nominal to Numerical)
+- NeuralNet(Correlation)[1] (Neural Net)
==> +- ApplyModel(Correliert)[1] (Apply Model)
+- Rename (2)[0] (Rename)
+- Join (2)[0] (Join)
+- Join[0] (Join)
+- Select Attributes[0] (Select Attributes)
Jun 25, 2013 10:04:23 AM com.rapidminer.gui.ProcessThread run
SEVERE: java.lang.ArrayIndexOutOfBoundsException: DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.
java.lang.ArrayIndexOutOfBoundsException: DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.
at com.rapidminer.example.table.DataRow.get(DataRow.java:78)
at com.rapidminer.example.Example.getValue(Example.java:94)
at com.rapidminer.operator.learner.functions.neuralnet.InputNode.calculateValue(InputNode.java:61)
at com.rapidminer.operator.learner.functions.neuralnet.SigmoidFunction.calculateValue(SigmoidFunction.java:50)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.LinearFunction.calculateValue(LinearFunction.java:49)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.OutputNode.calculateValue(OutputNode.java:68)
at com.rapidminer.operator.learner.functions.neuralnet.ImprovedNeuralNetModel.performPrediction(ImprovedNeuralNetModel.java:192)
at com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:76)
at com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:100)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:711)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:379)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.Process.run(Process.java:949)
at com.rapidminer.Process.run(Process.java:873)
at com.rapidminer.Process.run(Process.java:832)
at com.rapidminer.Process.run(Process.java:827)
at com.rapidminer.Process.run(Process.java:817)
at com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)
Is this a known issue or did I missed something?
Cheers,
Andy
I'm using RapidMiner 5.3.008 and get the following error on ApplyModel of a trained NeuralNetwork:
The setup does not seem to contain any obvious errors, but you should check the log messages or activate the debug mode in the settings dialog in order to get more information about this problem.
The error log contains:
SEVERE: Process failed: operator cannot be executed (DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.). Check the log messages...
java.lang.ArrayIndexOutOfBoundsException: DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.
at com.rapidminer.example.table.DataRow.get(DataRow.java:78)
at com.rapidminer.example.Example.getValue(Example.java:94)
at com.rapidminer.operator.learner.functions.neuralnet.InputNode.calculateValue(InputNode.java:61)
at com.rapidminer.operator.learner.functions.neuralnet.SigmoidFunction.calculateValue(SigmoidFunction.java:50)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.LinearFunction.calculateValue(LinearFunction.java:49)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.OutputNode.calculateValue(OutputNode.java:68)
at com.rapidminer.operator.learner.functions.neuralnet.ImprovedNeuralNetModel.performPrediction(ImprovedNeuralNetModel.java:192)
at com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:76)
at com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:100)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:711)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:379)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.Process.run(Process.java:949)
at com.rapidminer.Process.run(Process.java:873)
at com.rapidminer.Process.run(Process.java:832)
at com.rapidminer.Process.run(Process.java:827)
at com.rapidminer.Process.run(Process.java:817)
at com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)
Jun 25, 2013 10:04:23 AM com.rapidminer.gui.ProcessThread run
SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
+- Read Database[1] (Read Database)
+- Set Role (2)[1] (Set Role)
+- Retrieve NewcastleAndMiddlesbrough[1] (Retrieve)
+- Select Attributes (2)[1] (Select Attributes)
+- Rename[1] (Rename)
+- Select Attributes (4)[1] (Select Attributes)
+- Generate Attributes[1] (Generate Attributes)
+- Set Role[1] (Set Role)
+- Real to Integer[1] (Real to Integer)
+- Text to Nominal[1] (Text to Nominal)
+- Multiply (2)[1] (Multiply)
+- Generate Attributes (2)[1] (Generate Attributes)
+- Nominal to Text[1] (Nominal to Text)
+- Set Role (3)[1] (Set Role)
+- Multiply[1] (Multiply)
+- Nominal to Numerical (2)[1] (Nominal to Numerical)
+- Weight by Correlation (2)[1] (Weight by Correlation)
+- Select Attributes (3)[1] (Select Attributes)
+- Select by Weights (2)[1] (Select by Weights)
+- Nominal to Numerical[1] (Nominal to Numerical)
+- NeuralNet(Correlation)[1] (Neural Net)
==> +- ApplyModel(Correliert)[1] (Apply Model)
+- Rename (2)[0] (Rename)
+- Join (2)[0] (Join)
+- Join[0] (Join)
+- Select Attributes[0] (Select Attributes)
Jun 25, 2013 10:04:23 AM com.rapidminer.gui.ProcessThread run
SEVERE: java.lang.ArrayIndexOutOfBoundsException: DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.
java.lang.ArrayIndexOutOfBoundsException: DataRow: table index 82 of Attribute Draught_Lobby_Yes is out of bounds.
at com.rapidminer.example.table.DataRow.get(DataRow.java:78)
at com.rapidminer.example.Example.getValue(Example.java:94)
at com.rapidminer.operator.learner.functions.neuralnet.InputNode.calculateValue(InputNode.java:61)
at com.rapidminer.operator.learner.functions.neuralnet.SigmoidFunction.calculateValue(SigmoidFunction.java:50)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.LinearFunction.calculateValue(LinearFunction.java:49)
at com.rapidminer.operator.learner.functions.neuralnet.InnerNode.calculateValue(InnerNode.java:72)
at com.rapidminer.operator.learner.functions.neuralnet.OutputNode.calculateValue(OutputNode.java:68)
at com.rapidminer.operator.learner.functions.neuralnet.ImprovedNeuralNetModel.performPrediction(ImprovedNeuralNetModel.java:192)
at com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:76)
at com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:100)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:711)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:379)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.Process.run(Process.java:949)
at com.rapidminer.Process.run(Process.java:873)
at com.rapidminer.Process.run(Process.java:832)
at com.rapidminer.Process.run(Process.java:827)
at com.rapidminer.Process.run(Process.java:817)
at com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)
Is this a known issue or did I missed something?
Cheers,
Andy
0
Answers
-
Please find below the XML of my process as well as the data:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.008">
<context>
<input/>
<output/>
<macros>
<macro>
<key>DB_TABLE_NAME</key>
<value>SAPPrediction</value>
</macro>
<macro>
<key>FIELD_NAME_0</key>
<value>ID</value>
</macro>
<macro>
<key>ROLE_0</key>
<value>id</value>
</macro>
<macro>
<key>FIELD_NAME_1</key>
<value/>
</macro>
<macro>
<key>ROLE_1</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_2</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_3</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_4</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_5</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_6</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_7</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_8</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_9</key>
<value/>
</macro>
<macro>
<key>ROLE_2</key>
<value/>
</macro>
<macro>
<key>ROLE_3</key>
<value/>
</macro>
<macro>
<key>ROLE_4</key>
<value/>
</macro>
<macro>
<key>ROLE_5</key>
<value/>
</macro>
<macro>
<key>ROLE_6</key>
<value/>
</macro>
<macro>
<key>ROLE_7</key>
<value/>
</macro>
<macro>
<key>ROLE_8</key>
<value/>
</macro>
<macro>
<key>ROLE_9</key>
<value/>
</macro>
</macros>
</context>
<operator activated="true" class="process" compatibility="5.3.008" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="read_database" compatibility="5.3.008" expanded="true" height="60" name="Read Database" width="90" x="246" y="435">
<parameter key="connection" value="Semanco01TempDB"/>
<parameter key="define_query" value="table name"/>
<parameter key="table_name" value="%{DB_TABLE_NAME}"/>
<enumeration key="parameters"/>
</operator>
<operator activated="true" class="set_role" compatibility="5.3.008" expanded="true" height="76" name="Set Role (2)" width="90" x="447" y="435">
<parameter key="attribute_name" value="%{FIELD_NAME_0}"/>
<parameter key="target_role" value="%{ROLE_0}"/>
<list key="set_additional_roles">
<parameter key="%{FIELD_NAME_1}" value="%{ROLE_1}"/>
<parameter key="%{FIELD_NAME_2}" value="%{ROLE_2}"/>
<parameter key="%{FIELD_NAME_3}" value="%{ROLE_3}"/>
<parameter key="%{FIELD_NAME_4}" value="%{ROLE_4}"/>
<parameter key="%{FIELD_NAME_5}" value="%{ROLE_5}"/>
<parameter key="%{FIELD_NAME_6}" value="%{ROLE_6}"/>
<parameter key="%{FIELD_NAME_7}" value="%{ROLE_7}"/>
<parameter key="%{FIELD_NAME_8}" value="%{ROLE_8}"/>
<parameter key="%{FIELD_NAME_9}" value="%{ROLE_9}"/>
</list>
</operator>
<operator activated="true" class="retrieve" compatibility="5.3.008" expanded="true" height="60" name="Retrieve NewcastleAndMiddlesbrough" width="90" x="45" y="30">
<parameter key="repository_entry" value="../data/NewcastleAndMiddlesbrough"/>
</operator>
<operator activated="true" class="select_attributes" compatibility="5.3.008" expanded="true" height="76" name="Select Attributes (2)" width="90" x="246" y="30">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="Adress|DraughtLobby|EstimatedSAP|GroudFloorHight|GroundFloorArea|NumberOfFloors|NumberOfRooms|NumberOfSidesSheltered|PassiveVents|Perimeter|PropertyAge|RoofArea|RoofTilt|TypeOfFloor|WallIsolation|WallType|WindowType|WindowsAndDoorsDraughtStripped|"/>
</operator>
<operator activated="true" class="rename" compatibility="5.3.008" expanded="true" height="76" name="Rename" width="90" x="447" y="30">
<parameter key="old_name" value="Adress"/>
<parameter key="new_name" value="addressValue"/>
<list key="rename_additional_attributes">
<parameter key="NumberOfFloors" value="number_Of_Complete_StoreysValue"/>
<parameter key="NumberOfRooms" value="number_Of_RoomsValue"/>
<parameter key="PropertyAge" value="Age_Class"/>
<parameter key="GroundFloorArea" value="ground_Floor_AreaValue"/>
<parameter key="GroudFloorHight" value="ground_Floor_HeightValue"/>
<parameter key="Perimeter" value="building_PerimeterValue"/>
<parameter key="PassiveVents" value="number_Of_Natural_Ventilation_DeviceValue"/>
<parameter key="TypeOfFloor" value="Bottom_Floor_Type"/>
<parameter key="DraughtLobby" value="Draught_Lobby"/>
<parameter key="WindowsAndDoorsDraughtStripped" value="percentage_Of_Window_Door_Draught_StrippedValue"/>
<parameter key="NumberOfSidesSheltered" value="number_Of_Sides_ShelteredValue"/>
<parameter key="WallType" value="Type_Of_Wall"/>
<parameter key="WindowType" value="window_TypeValue"/>
<parameter key="RoofArea" value="Roof_Area"/>
<parameter key="RoofTilt" value="Roof_Tilt"/>
<parameter key="WallIsolation" value="Wall_Insulation_Type"/>
</list>
</operator>
<operator activated="true" class="select_attributes" compatibility="5.3.008" expanded="true" height="76" name="Select Attributes (4)" width="90" x="648" y="435">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="window_TypeValue|percentage_Of_Window_Door_Draught_StrippedValue|number_Of_Sides_ShelteredValue|number_Of_RoomsValue|number_Of_Natural_Ventilation_DeviceValue|number_Of_Complete_StoreysValue|ground_Floor_HeightValue|ground_Floor_AreaValue|building_PerimeterValue|addressValue|Wall_Insulation_Type|Type_Of_Wall|Roof_Tilt|Roof_Area|Draught_Lobby|Building|Bottom_Floor_Type|Age_Class"/>
<parameter key="include_special_attributes" value="true"/>
</operator>
<operator activated="true" class="generate_attributes" compatibility="5.3.008" expanded="true" height="76" name="Generate Attributes" width="90" x="849" y="435">
<list key="function_descriptions">
<parameter key="Age_Class" value="replace(Age_Class, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/age_class/", "")"/>
<parameter key="Bottom_Floor_Type" value="replace(Bottom_Floor_Type, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/bottom_floor_type/", "")"/>
<parameter key="Type_Of_Wall" value="replace(Type_Of_Wall, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/type_of_wall/", "")"/>
<parameter key="Wall_Insulation_Type" value="replace(Wall_Insulation_Type, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/wall_insulation_type/", "")"/>
<parameter key="Roof_Area" value="parse(replace(Roof_Area, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/roof_area/", ""))"/>
<parameter key="Roof_Tilt" value="parse(replace(Roof_Tilt, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/roof_tilt/", ""))"/>
<parameter key="Draught_Lobby" value="replace(Draught_Lobby, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/draught_lobby/", "")"/>
</list>
</operator>
<operator activated="true" class="set_role" compatibility="5.3.008" expanded="true" height="76" name="Set Role" width="90" x="1050" y="435">
<parameter key="attribute_name" value="addressValue"/>
<parameter key="target_role" value="id"/>
<list key="set_additional_roles"/>
</operator>
<operator activated="true" class="real_to_integer" compatibility="5.3.008" expanded="true" height="76" name="Real to Integer" width="90" x="1251" y="435">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="include_special_attributes" value="true"/>
</operator>
<operator activated="true" class="text_to_nominal" compatibility="5.3.008" expanded="true" height="76" name="Text to Nominal" width="90" x="1452" y="435">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="window_TypeValue||Draught_Lobby"/>
</operator>
<operator activated="true" class="multiply" compatibility="5.3.008" expanded="true" height="94" name="Multiply (2)" width="90" x="1653" y="435"/>
<operator activated="true" class="generate_attributes" compatibility="5.3.008" expanded="true" height="76" name="Generate Attributes (2)" width="90" x="648" y="30">
<list key="function_descriptions">
<parameter key="Bottom_Floor_Type" value="replaceAll(Bottom_Floor_Type, " ", "_")"/>
<parameter key="Type_Of_Wall" value="replaceAll(Type_Of_Wall, " ", "_")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, " ", "_")"/>
<parameter key="Type_Of_Wall" value="replaceAll(Type_Of_Wall, "Solid_Brick_with_internal", "Solid_Brick_with_internal_or_external_insulation")"/>
<parameter key="Type_Of_Wall" value="replaceAll(Type_Of_Wall, "Cavity_with_internal_or_e", "Cavity_with_internal_or_external_insulation")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, "Stone/Solid_Brick_with_50_mm_e", "Stone%2FSolid_Brick_with_50_mm_external_or_Internal_Insulation")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, "StonelithiumGranite_or_Whinestone_a", "Stone%3A_Granite_or_Whinestone_as_Built")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, "Filled_Cavity_with_50_mm_exter", "Filled_Cavity_with_50_mm_external_or_internal_insulation")"/>
</list>
</operator>
<operator activated="true" class="nominal_to_text" compatibility="5.3.008" expanded="true" height="76" name="Nominal to Text" width="90" x="849" y="30">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="addressValue"/>
</operator>
<operator activated="true" class="set_role" compatibility="5.3.008" expanded="true" height="76" name="Set Role (3)" width="90" x="1050" y="30">
<parameter key="attribute_name" value="EstimatedSAP"/>
<parameter key="target_role" value="label"/>
<list key="set_additional_roles">
<parameter key="addressValue" value="id"/>
</list>
</operator>
<operator activated="true" class="multiply" compatibility="5.3.008" expanded="true" height="94" name="Multiply" width="90" x="1251" y="30"/>
<operator activated="true" class="nominal_to_numerical" compatibility="5.3.008" expanded="true" height="94" name="Nominal to Numerical (2)" width="90" x="1452" y="165">
<list key="comparison_groups"/>
<parameter key="use_underscore_in_name" value="true"/>
</operator>
<operator activated="true" class="weight_by_correlation" compatibility="5.3.008" expanded="true" height="76" name="Weight by Correlation (2)" width="90" x="1653" y="165"/>
<operator activated="true" class="select_attributes" compatibility="5.3.008" expanded="true" height="76" name="Select Attributes (3)" width="90" x="1854" y="300">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="addressValue|Age_Class|Bottom_Floor_Type|Draught_Lobby|Roof_Area|Roof_Tilt|Type_Of_Wall|Wall_Insulation_Type|building_PerimeterValue|ground_Floor_AreaValue|ground_Floor_HeightValue|number_Of_Complete_StoreysValue|number_Of_Natural_Ventilation_DeviceValue|number_Of_RoomsValue|number_Of_Sides_ShelteredValue|percentage_Of_Window_Door_Draught_StrippedValue|window_TypeValue"/>
</operator>
<operator activated="true" class="select_by_weights" compatibility="5.3.008" expanded="true" height="94" name="Select by Weights (2)" width="90" x="1854" y="165">
<parameter key="weight" value="0.5"/>
</operator>
<operator activated="true" class="nominal_to_numerical" compatibility="5.3.008" expanded="true" height="94" name="Nominal to Numerical" width="90" x="2055" y="300">
<parameter key="attributes" value="Age_Class|Bottom_Floor_Type|Draught_Lobby|Roof_Area|Roof_Tilt|Type_Of_Wall|Wall_Insulation_Type|window_TypeValue|addressValue"/>
<list key="comparison_groups"/>
<parameter key="use_underscore_in_name" value="true"/>
</operator>
<operator activated="true" class="neural_net" compatibility="5.3.008" expanded="true" height="76" name="NeuralNet(Correlation)" width="90" x="2055" y="165">
<list key="hidden_layers"/>
<parameter key="training_cycles" value="12"/>
<parameter key="learning_rate" value="0.6"/>
<parameter key="decay" value="true"/>
</operator>
<operator activated="true" class="apply_model" compatibility="5.3.008" expanded="true" height="76" name="ApplyModel(Correliert)" width="90" x="2256" y="165">
<list key="application_parameters"/>
</operator>
<operator activated="true" breakpoints="before" class="rename" compatibility="5.3.008" expanded="true" height="76" name="Rename (2)" width="90" x="2457" y="165">
<parameter key="old_name" value="prediction(EstimatedSAP)"/>
<parameter key="new_name" value="PredictionSAP"/>
<list key="rename_additional_attributes"/>
</operator>
<operator activated="true" class="join" compatibility="5.3.008" expanded="true" height="76" name="Join (2)" width="90" x="2658" y="300">
<list key="key_attributes"/>
</operator>
<operator activated="true" class="join" compatibility="5.3.008" expanded="true" height="76" name="Join" width="90" x="2859" y="30">
<list key="key_attributes">
<parameter key="addressValue" value="addressValue"/>
</list>
</operator>
<operator activated="true" class="select_attributes" compatibility="5.3.008" expanded="true" height="76" name="Select Attributes" width="90" x="3060" y="30">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="EstimatedSAP|PredictionSAP|addressValue||Building"/>
</operator>
<connect from_op="Read Database" from_port="output" to_op="Set Role (2)" to_port="example set input"/>
<connect from_op="Set Role (2)" from_port="example set output" to_op="Select Attributes (4)" to_port="example set input"/>
<connect from_op="Retrieve NewcastleAndMiddlesbrough" from_port="output" to_op="Select Attributes (2)" to_port="example set input"/>
<connect from_op="Select Attributes (2)" from_port="example set output" to_op="Rename" to_port="example set input"/>
<connect from_op="Rename" from_port="example set output" to_op="Generate Attributes (2)" to_port="example set input"/>
<connect from_op="Select Attributes (4)" 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_op="Set Role" to_port="example set input"/>
<connect from_op="Set Role" from_port="example set output" to_op="Real to Integer" to_port="example set input"/>
<connect from_op="Real to Integer" from_port="example set output" to_op="Text to Nominal" to_port="example set input"/>
<connect from_op="Text to Nominal" from_port="example set output" to_op="Multiply (2)" to_port="input"/>
<connect from_op="Multiply (2)" from_port="output 1" to_op="Select Attributes (3)" to_port="example set input"/>
<connect from_op="Multiply (2)" from_port="output 2" to_op="Join (2)" to_port="right"/>
<connect from_op="Generate Attributes (2)" from_port="example set output" to_op="Nominal to Text" to_port="example set input"/>
<connect from_op="Nominal to Text" from_port="example set output" to_op="Set Role (3)" to_port="example set input"/>
<connect from_op="Set Role (3)" from_port="example set output" to_op="Multiply" to_port="input"/>
<connect from_op="Multiply" from_port="output 1" to_op="Join" to_port="left"/>
<connect from_op="Multiply" from_port="output 2" to_op="Nominal to Numerical (2)" to_port="example set input"/>
<connect from_op="Nominal to Numerical (2)" from_port="example set output" to_op="Weight by Correlation (2)" to_port="example set"/>
<connect from_op="Weight by Correlation (2)" from_port="weights" to_op="Select by Weights (2)" to_port="weights"/>
<connect from_op="Weight by Correlation (2)" from_port="example set" to_op="Select by Weights (2)" to_port="example set input"/>
<connect from_op="Select Attributes (3)" from_port="example set output" to_op="Nominal to Numerical" to_port="example set input"/>
<connect from_op="Select by Weights (2)" from_port="example set output" to_op="NeuralNet(Correlation)" to_port="training set"/>
<connect from_op="Nominal to Numerical" from_port="example set output" to_op="ApplyModel(Correliert)" to_port="unlabelled data"/>
<connect from_op="NeuralNet(Correlation)" from_port="model" to_op="ApplyModel(Correliert)" to_port="model"/>
<connect from_op="ApplyModel(Correliert)" from_port="labelled data" to_op="Rename (2)" to_port="example set input"/>
<connect from_op="Rename (2)" from_port="example set output" to_op="Join (2)" to_port="left"/>
<connect from_op="Join (2)" from_port="join" 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_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>
[ /code]
Please let me know if you also need the data used in this process.0 -
Hi,
this is a very complex process, next time please break it down to the minimal operator set that still reproduces the error.
The problem here is probably that you train the model on data with different attributes than where you apply it. Please set a breakpoint before the Neural Net operator and the Apply Model operator to check that the attribute names and types match. If they don't you have to adapt the preprocessing such that it is the same for both training and application.
The next RapidMiner version will probably provide a more informative error message when you run into this problem.
Best regards,
Marius0 -
Many thanks to your reply and sorry for that complex process (but all operators before the neural net can probably ignored because they are only for preprocessing and align both example sets).
I've compared the two example sets and the data as well as the meta data are equal. I've also stored both example sets to create a trimmed process that only train and apply the model. The strange thing is that in the original process the error still occurs but the trimmed process runs through, although in both processes the operators are equally configured.
Another point is that the results for the trimmed processes depends on the used example set even though the example sets looks equally.
Please find both processes and example sets on this link: https://www.dropbox.com/s/30nbcynzi6gtgw4/testdata-dump.zip
Cheers,
Andy0 -
Andy,
what kind of data is this? It does not have any file endings or whatsoever.
The easiest way to provide me with data and processes would be to:
- store the data and the processes in a single repository folder
- configure all processes such that I can run them right away (that means they only use data from that folder)
- rightclick the repository folder and select Show in File Browser
- upload the respective file system folder as zip.
Best regards,
Marius0 -
You can find the requested data at: https://www.dropbox.com/s/wxtnpz98q562g2w/testdata.zip0
-
Thank you for this detailed processes and data. Now I could reproduce the error, and it is clearly a bug. It probably relates to the bug described below (that has already been fixed), but I'll forward it to our developers in any case.
Still, what I have said is valid: the data sets have different attributes and meta data. Even though it seems at a quick glance that all attributes of the training data are present in the test data, there are many additional attributes in the test data, and the order of the attributes is different. For most algorithms this is not a problem, but the Neural Net has a bug in the current version such that it requires the exact same attributes in the same order as in the training data.
This bug has already been fixed and will be part of the next release.
In the meanwhile, please use Select Attributes to remove the additional features, and Reorder Attributes to equalize the order. The easiest way here would be to apply Reorder Attributes with the default settings on both data sets.
Additionally, you can workaround the original error message by storing and retrieving the training data. I have modified your process and attached it below.
Sorry for the inconvenience - the next release will bring relieve
Best regards,
Marius
0 -
Process Pt.1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.008">
<context>
<input/>
<output/>
<macros>
<macro>
<key>DB_TABLE_NAME</key>
<value>SAPPrediction</value>
</macro>
<macro>
<key>FIELD_NAME_0</key>
<value>ID</value>
</macro>
<macro>
<key>ROLE_0</key>
<value>id</value>
</macro>
<macro>
<key>FIELD_NAME_1</key>
<value/>
</macro>
<macro>
<key>ROLE_1</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_2</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_3</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_4</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_5</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_6</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_7</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_8</key>
<value/>
</macro>
<macro>
<key>FIELD_NAME_9</key>
<value/>
</macro>
<macro>
<key>ROLE_2</key>
<value/>
</macro>
<macro>
<key>ROLE_3</key>
<value/>
</macro>
<macro>
<key>ROLE_4</key>
<value/>
</macro>
<macro>
<key>ROLE_5</key>
<value/>
</macro>
<macro>
<key>ROLE_6</key>
<value/>
</macro>
<macro>
<key>ROLE_7</key>
<value/>
</macro>
<macro>
<key>ROLE_8</key>
<value/>
</macro>
<macro>
<key>ROLE_9</key>
<value/>
</macro>
</macros>
</context>
<operator activated="true" class="process" compatibility="5.3.008" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="retrieve" compatibility="5.3.008" expanded="true" height="60" name="Retrieve NewcastleAndMiddlesbrough" width="90" x="45" y="30">
<parameter key="repository_entry" value="./NewcastleAndMiddlesbrough"/>
</operator>
<operator activated="true" class="retrieve" compatibility="5.3.008" expanded="true" height="60" name="Retrieve (2)" width="90" x="246" y="435">
<parameter key="repository_entry" value="./rdforiginal"/>
</operator>
<operator activated="true" class="set_role" compatibility="5.3.008" expanded="true" height="76" name="Set Role (2)" width="90" x="447" y="435">
<parameter key="attribute_name" value="%{FIELD_NAME_0}"/>
<parameter key="target_role" value="%{ROLE_0}"/>
<list key="set_additional_roles">
<parameter key="%{FIELD_NAME_1}" value="%{ROLE_1}"/>
<parameter key="%{FIELD_NAME_2}" value="%{ROLE_2}"/>
<parameter key="%{FIELD_NAME_3}" value="%{ROLE_3}"/>
<parameter key="%{FIELD_NAME_4}" value="%{ROLE_4}"/>
<parameter key="%{FIELD_NAME_5}" value="%{ROLE_5}"/>
<parameter key="%{FIELD_NAME_6}" value="%{ROLE_6}"/>
<parameter key="%{FIELD_NAME_7}" value="%{ROLE_7}"/>
<parameter key="%{FIELD_NAME_8}" value="%{ROLE_8}"/>
<parameter key="%{FIELD_NAME_9}" value="%{ROLE_9}"/>
</list>
</operator>
<operator activated="true" class="select_attributes" compatibility="5.3.008" expanded="true" height="76" name="Select Attributes (2)" width="90" x="246" y="30">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="Adress|DraughtLobby|EstimatedSAP|GroudFloorHight|GroundFloorArea|NumberOfFloors|NumberOfRooms|NumberOfSidesSheltered|PassiveVents|Perimeter|PropertyAge|RoofArea|RoofTilt|TypeOfFloor|WallIsolation|WallType|WindowType|WindowsAndDoorsDraughtStripped|"/>
</operator>
<operator activated="true" class="rename" compatibility="5.3.008" expanded="true" height="76" name="Rename" width="90" x="447" y="30">
<parameter key="old_name" value="Adress"/>
<parameter key="new_name" value="addressValue"/>
<list key="rename_additional_attributes">
<parameter key="NumberOfFloors" value="number_Of_Complete_StoreysValue"/>
<parameter key="NumberOfRooms" value="number_Of_RoomsValue"/>
<parameter key="PropertyAge" value="Age_Class"/>
<parameter key="GroundFloorArea" value="ground_Floor_AreaValue"/>
<parameter key="GroudFloorHight" value="ground_Floor_HeightValue"/>
<parameter key="Perimeter" value="building_PerimeterValue"/>
<parameter key="PassiveVents" value="number_Of_Natural_Ventilation_DeviceValue"/>
<parameter key="TypeOfFloor" value="Bottom_Floor_Type"/>
<parameter key="DraughtLobby" value="Draught_Lobby"/>
<parameter key="WindowsAndDoorsDraughtStripped" value="percentage_Of_Window_Door_Draught_StrippedValue"/>
<parameter key="NumberOfSidesSheltered" value="number_Of_Sides_ShelteredValue"/>
<parameter key="WallType" value="Type_Of_Wall"/>
<parameter key="WindowType" value="window_TypeValue"/>
<parameter key="RoofArea" value="Roof_Area"/>
<parameter key="RoofTilt" value="Roof_Tilt"/>
<parameter key="WallIsolation" value="Wall_Insulation_Type"/>
</list>
</operator>
<operator activated="true" class="select_attributes" compatibility="5.3.008" expanded="true" height="76" name="Select Attributes (4)" width="90" x="648" y="435">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="window_TypeValue|percentage_Of_Window_Door_Draught_StrippedValue|number_Of_Sides_ShelteredValue|number_Of_RoomsValue|number_Of_Natural_Ventilation_DeviceValue|number_Of_Complete_StoreysValue|ground_Floor_HeightValue|ground_Floor_AreaValue|building_PerimeterValue|addressValue|Wall_Insulation_Type|Type_Of_Wall|Roof_Tilt|Roof_Area|Draught_Lobby|Building|Bottom_Floor_Type|Age_Class"/>
<parameter key="include_special_attributes" value="true"/>
</operator>
<operator activated="true" class="generate_attributes" compatibility="5.3.008" expanded="true" height="76" name="Generate Attributes" width="90" x="849" y="435">
<list key="function_descriptions">
<parameter key="Age_Class" value="replace(Age_Class, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/age_class/", "")"/>
<parameter key="Bottom_Floor_Type" value="replace(Bottom_Floor_Type, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/bottom_floor_type/", "")"/>
<parameter key="Type_Of_Wall" value="replace(Type_Of_Wall, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/type_of_wall/", "")"/>
<parameter key="Wall_Insulation_Type" value="replace(Wall_Insulation_Type, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/wall_insulation_type/", "")"/>
<parameter key="Roof_Area" value="parse(replace(Roof_Area, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/roof_area/", ""))"/>
<parameter key="Roof_Tilt" value="parse(replace(Roof_Tilt, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/roof_tilt/", ""))"/>
<parameter key="Draught_Lobby" value="replace(Draught_Lobby, "http://arcdev.housing.salle.url.edu/semanco/repository/sap/draught_lobby/", "")"/>
<parameter key="EstimatedSAP" value="parse("1")"/>
</list>
</operator>
<operator activated="true" class="set_role" compatibility="5.3.008" expanded="true" height="76" name="Set Role" width="90" x="1050" y="435">
<parameter key="attribute_name" value="addressValue"/>
<parameter key="target_role" value="id"/>
<list key="set_additional_roles">
<parameter key="EstimatedSAP" value="label"/>
</list>
</operator>
<operator activated="true" class="real_to_integer" compatibility="5.3.008" expanded="true" height="76" name="Real to Integer" width="90" x="1251" y="435">
<parameter key="attribute_filter_type" value="value_type"/>
<parameter key="include_special_attributes" value="true"/>
</operator>
<operator activated="true" class="text_to_nominal" compatibility="5.3.008" expanded="true" height="76" name="Text to Nominal" width="90" x="1452" y="435">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="window_TypeValue||Draught_Lobby"/>
</operator>
<operator activated="true" class="multiply" compatibility="5.3.008" expanded="true" height="76" name="Multiply (2)" width="90" x="1653" y="435"/>
<operator activated="true" class="generate_attributes" compatibility="5.3.008" expanded="true" height="76" name="Generate Attributes (2)" width="90" x="648" y="30">
<list key="function_descriptions">
<parameter key="Bottom_Floor_Type" value="replaceAll(Bottom_Floor_Type, " ", "_")"/>
<parameter key="Type_Of_Wall" value="replaceAll(Type_Of_Wall, " ", "_")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, " ", "_")"/>
<parameter key="Type_Of_Wall" value="replaceAll(Type_Of_Wall, "Solid_Brick_with_internal", "Solid_Brick_with_internal_or_external_insulation")"/>
<parameter key="Type_Of_Wall" value="replaceAll(Type_Of_Wall, "Cavity_with_internal_or_e", "Cavity_with_internal_or_external_insulation")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, "Stone/Solid_Brick_with_50_mm_e", "Stone%2FSolid_Brick_with_50_mm_external_or_Internal_Insulation")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, "StonelithiumGranite_or_Whinestone_a", "Stone%3A_Granite_or_Whinestone_as_Built")"/>
<parameter key="Wall_Insulation_Type" value="replaceAll(Wall_Insulation_Type, "Filled_Cavity_with_50_mm_exter", "Filled_Cavity_with_50_mm_external_or_internal_insulation")"/>
</list>
</operator>
<operator activated="true" class="nominal_to_text" compatibility="5.3.008" expanded="true" height="76" name="Nominal to Text" width="90" x="849" y="30">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="addressValue"/>
</operator>
<operator activated="true" class="set_role" compatibility="5.3.008" expanded="true" height="76" name="Set Role (3)" width="90" x="1050" y="30">
<parameter key="attribute_name" value="EstimatedSAP"/>
<parameter key="target_role" value="label"/>
<list key="set_additional_roles">
<parameter key="addressValue" value="id"/>
</list>
</operator>
<operator activated="true" class="multiply" compatibility="5.3.008" expanded="true" height="76" name="Multiply" width="90" x="1251" y="30"/>
<operator activated="true" class="nominal_to_numerical" compatibility="5.3.008" expanded="true" height="94" name="Nominal to Numerical (2)" width="90" x="1452" y="165">
<list key="comparison_groups"/>
<parameter key="use_underscore_in_name" value="true"/>
</operator>
<operator activated="true" class="multiply" compatibility="5.3.008" expanded="true" height="94" name="Multiply (3)" width="90" x="1519" y="300"/>
<operator activated="true" class="store" compatibility="5.3.008" expanded="true" height="60" name="Store" width="90" x="1653" y="300">
<parameter key="repository_entry" value="./original"/>
</operator>
<operator activated="true" class="weight_by_correlation" compatibility="5.3.008" expanded="true" height="76" name="Weight by Correlation (2)" width="90" x="1653" y="165"/>
<operator activated="true" class="select_attributes" compatibility="5.3.008" expanded="true" height="76" name="Select Attributes (3)" width="90" x="1854" y="300">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="addressValue|Age_Class|Bottom_Floor_Type|Draught_Lobby|Roof_Area|Roof_Tilt|Type_Of_Wall|Wall_Insulation_Type|building_PerimeterValue|ground_Floor_AreaValue|ground_Floor_HeightValue|number_Of_Complete_StoreysValue|number_Of_Natural_Ventilation_DeviceValue|number_Of_RoomsValue|number_Of_Sides_ShelteredValue|percentage_Of_Window_Door_Draught_StrippedValue|window_TypeValue"/>
</operator>
<operator activated="true" class="select_by_weights" compatibility="5.3.008" expanded="true" height="94" name="Select by Weights (2)" width="90" x="1854" y="165">
<parameter key="weight" value="0.5"/>
</operator>
<operator activated="true" class="nominal_to_numerical" compatibility="5.3.008" expanded="true" height="94" name="Nominal to Numerical" width="90" x="2055" y="300">
<parameter key="attributes" value="Age_Class|Bottom_Floor_Type|Draught_Lobby|Roof_Area|Roof_Tilt|Type_Of_Wall|Wall_Insulation_Type|window_TypeValue|addressValue"/>
<list key="comparison_groups"/>
<parameter key="use_underscore_in_name" value="true"/>
</operator>
<operator activated="true" class="multiply" compatibility="5.3.008" expanded="true" height="76" name="Multiply (5)" width="90" x="2189" y="525"/>
<operator activated="true" class="data_to_weights" compatibility="5.3.008" expanded="true" height="76" name="Data to Weights" width="90" x="1988" y="210"/>
<operator activated="true" class="order_attributes" compatibility="5.3.008" expanded="true" height="76" name="Reorder Attributes (2)" width="90" x="2189" y="165">
<parameter key="sort_mode" value="alphabetically"/>
</operator>
<operator activated="true" class="store" compatibility="5.3.008" expanded="true" height="60" name="Store (4)" width="90" x="2256" y="75">
<parameter key="repository_entry" value="train data"/>
</operator>
<operator activated="true" class="retrieve" compatibility="5.3.008" expanded="true" height="60" name="Retrieve" width="90" x="2457" y="525">
<parameter key="repository_entry" value="./rdfdata"/>
</operator>
<operator activated="true" breakpoints="after" class="select_by_weights" compatibility="5.3.008" expanded="true" height="94" name="Select by Weights" width="90" x="2524" y="390"/>
<operator activated="true" class="order_attributes" compatibility="5.3.008" expanded="true" height="76" name="Reorder Attributes" width="90" x="2658" y="390">
<parameter key="sort_mode" value="alphabetically"/>
</operator>
<operator activated="true" class="store" compatibility="5.3.008" expanded="true" height="60" name="Store (2)" width="90" x="2323" y="525">
<parameter key="repository_entry" value="./rdfdata"/>
</operator>
<operator activated="true" class="retrieve" compatibility="5.3.008" expanded="true" height="60" name="Retrieve (4)" width="90" x="2256" y="255">
<parameter key="repository_entry" value="train data"/>
</operator>
<operator activated="true" class="neural_net" compatibility="5.3.008" expanded="true" height="76" name="NeuralNet(Correlation)" width="90" x="2390" y="165">
<list key="hidden_layers"/>
<parameter key="training_cycles" value="12"/>
<parameter key="learning_rate" value="0.6"/>
<parameter key="decay" value="true"/>
</operator>0 -
Process Pt. 2
<operator activated="true" class="apply_model" compatibility="5.3.008" expanded="true" height="76" name="ApplyModel(Correliert)" width="90" x="2524" y="165">
<list key="application_parameters"/>
</operator>
<connect from_op="Retrieve NewcastleAndMiddlesbrough" from_port="output" to_op="Select Attributes (2)" to_port="example set input"/>
<connect from_op="Retrieve (2)" from_port="output" to_op="Set Role (2)" to_port="example set input"/>
<connect from_op="Set Role (2)" from_port="example set output" to_op="Select Attributes (4)" to_port="example set input"/>
<connect from_op="Select Attributes (2)" from_port="example set output" to_op="Rename" to_port="example set input"/>
<connect from_op="Rename" from_port="example set output" to_op="Generate Attributes (2)" to_port="example set input"/>
<connect from_op="Select Attributes (4)" 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_op="Set Role" to_port="example set input"/>
<connect from_op="Set Role" from_port="example set output" to_op="Real to Integer" to_port="example set input"/>
<connect from_op="Real to Integer" from_port="example set output" to_op="Text to Nominal" to_port="example set input"/>
<connect from_op="Text to Nominal" from_port="example set output" to_op="Multiply (2)" to_port="input"/>
<connect from_op="Multiply (2)" from_port="output 1" to_op="Select Attributes (3)" to_port="example set input"/>
<connect from_op="Generate Attributes (2)" from_port="example set output" to_op="Nominal to Text" to_port="example set input"/>
<connect from_op="Nominal to Text" from_port="example set output" to_op="Set Role (3)" to_port="example set input"/>
<connect from_op="Set Role (3)" from_port="example set output" to_op="Multiply" to_port="input"/>
<connect from_op="Multiply" from_port="output 1" to_op="Nominal to Numerical (2)" to_port="example set input"/>
<connect from_op="Nominal to Numerical (2)" from_port="example set output" to_op="Multiply (3)" to_port="input"/>
<connect from_op="Multiply (3)" from_port="output 1" to_op="Weight by Correlation (2)" to_port="example set"/>
<connect from_op="Multiply (3)" from_port="output 2" to_op="Store" to_port="input"/>
<connect from_op="Weight by Correlation (2)" from_port="weights" to_op="Select by Weights (2)" to_port="weights"/>
<connect from_op="Weight by Correlation (2)" from_port="example set" to_op="Select by Weights (2)" to_port="example set input"/>
<connect from_op="Select Attributes (3)" from_port="example set output" to_op="Nominal to Numerical" to_port="example set input"/>
<connect from_op="Select by Weights (2)" from_port="example set output" to_op="Data to Weights" to_port="example set"/>
<connect from_op="Nominal to Numerical" from_port="example set output" to_op="Multiply (5)" to_port="input"/>
<connect from_op="Multiply (5)" from_port="output 1" to_op="Store (2)" to_port="input"/>
<connect from_op="Data to Weights" from_port="weights" to_op="Select by Weights" to_port="weights"/>
<connect from_op="Data to Weights" from_port="example set" to_op="Reorder Attributes (2)" to_port="example set input"/>
<connect from_op="Reorder Attributes (2)" from_port="example set output" to_op="Store (4)" to_port="input"/>
<connect from_op="Retrieve" from_port="output" to_op="Select by Weights" to_port="example set input"/>
<connect from_op="Select by Weights" from_port="example set output" to_op="Reorder Attributes" to_port="example set input"/>
<connect from_op="Reorder Attributes" from_port="example set output" to_op="ApplyModel(Correliert)" to_port="unlabelled data"/>
<connect from_op="Retrieve (4)" from_port="output" to_op="NeuralNet(Correlation)" to_port="training set"/>
<connect from_op="NeuralNet(Correlation)" from_port="model" to_op="ApplyModel(Correliert)" to_port="model"/>
<connect from_op="ApplyModel(Correliert)" from_port="labelled data" 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>0 -
Many thanks for that!0
-
By the way: is it possible to get the current trunk version of RapidMiner that already includes the fixed bug? I've already checked out the current RapidMiner_Unuk version but the last checkin was in February....
Our problem is that we use RapidMiner and RapidAnalytics in our research project and it would be helpful to have the bug fixed instead of integrate some work arounds. Or can you tell us the next release day?0 -
We have no concrete date for the next release and as you already mentioned the source code on Sourceforge is not up-to-date since we have switched to git internally. However, we plan to push to our GitHub account in the near future. I will come back to this thread when this is done.0
-
A new release is out since some days now and the code for this release can be found here: https://github.com/rapid-i/rapidminer0