"[SOLVED] Nested Operators in Weka don't have ports to connect?"
earmijo
New Altair Community Member
Answers
-
Hi Ernesto,
Weka Ensemble Models work with Weka classifiers only. You dont have to connect the classifiers, they will get the input automaticly. Here is an example:
Regards,
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.1.014">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.1.014" expanded="true" name="Process">
<process expanded="true" height="579" width="708">
<operator activated="true" class="retrieve" compatibility="5.1.014" expanded="true" height="60" name="Retrieve" width="90" x="150" y="176">
<parameter key="repository_entry" value="//Samples/data/Sonar"/>
</operator>
<operator activated="true" class="weka:W-Vote" compatibility="5.1.001" expanded="true" height="76" name="W-Vote" width="90" x="313" y="165">
<process expanded="true" height="639" width="950">
<operator activated="true" class="weka:W-KStar" compatibility="5.1.001" expanded="true" height="76" name="W-KStar" width="90" x="363" y="216"/>
</process>
</operator>
<connect from_op="Retrieve" from_port="output" to_op="W-Vote" to_port="training set"/>
<connect from_op="W-Vote" 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>
Nils0 -
That was embarrasingly (for me :-)) simple. Thank you very much Nils.0