Hey,
i´m not sure if this is a bug, but i´m searching for a tree model which is updateable and as it is writen in the JavaDOCS
http://rapid-i.com/api/rapidminer-5.1/com/rapidminer/operator/learner/tree/ID3NumericalLearner.htmlthe Class ID3NumericalLearner comes from the AbstractTreeLearner and should be updatable. But my little example shows, that it does not.
The first code is for creation of the model, the second for the update. I use the latest Version 5.1.006. If i´m wrong i would appreciate if s.o. can tell me if there is any tree which is updatable or how to use W-BayesNet so that i can update.
Thank you very much for the help and greetings
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.1.006">
<context>
<input/>
<output>
<location>./ID3Model</location>
</output>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.1.006" expanded="true" name="Process">
<process expanded="true" height="456" width="1006">
<operator activated="true" class="generate_data" compatibility="5.1.006" expanded="true" height="60" name="Generate Data" width="90" x="112" y="75">
<parameter key="target_function" value="polynomial classification"/>
</operator>
<operator activated="true" class="parallel:id3_numerical_parallel" compatibility="5.1.000" expanded="true" height="76" name="ID3 Numerical" width="90" x="380" y="75"/>
<connect from_op="Generate Data" from_port="output" to_op="ID3 Numerical" to_port="training set"/>
<connect from_op="ID3 Numerical" from_port="model" 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>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.1.006">
<context>
<input>
<location>./ID3Model</location>
</input>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.1.006" expanded="true" name="Process">
<process expanded="true" height="474" width="1024">
<operator activated="true" class="generate_data" compatibility="5.1.006" expanded="true" height="60" name="Generate Data" width="90" x="41" y="119">
<parameter key="target_function" value="polynomial classification"/>
</operator>
<operator activated="true" class="update_model" compatibility="5.1.006" expanded="true" height="76" name="Update Model" width="90" x="246" y="75"/>
<connect from_port="input 1" to_op="Update Model" to_port="model"/>
<connect from_op="Generate Data" from_port="output" to_op="Update Model" to_port="example set"/>
<connect from_op="Update Model" from_port="example set" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="source_input 2" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>