Hey there,
I'm freaking out. Two weeks ago everything was fine (except for my own bugs) and now this: I've written some scripting operators that allow the use of matlab syntax inside rapidminer.
My process looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.0">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.0.10" expanded="true" name="Process">
<process expanded="true" height="616" width="768">
<operator activated="true" class="generate_data" compatibility="5.0.10" expanded="true" height="60" name="Generate Data" width="90" x="54" y="22"/>
<operator activated="true" class="igg:matlab_environment" compatibility="5.0.1" expanded="true" height="76" name="Matlab Environment" width="90" x="313" y="30">
<process expanded="true" height="616" width="768">
<operator activated="true" class="igg:matlab_multi_command_op" compatibility="5.0.1" expanded="true" height="60" name="matcommand" width="90" x="301" y="136">
<parameter key="command" value="matlabOutput = zeros(10);"/>
</operator>
<connect from_port="input 1" to_op="matcommand" to_port="example set"/>
<connect from_op="matcommand" from_port="example set" to_port="output 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="source_input 2" spacing="0"/>
<portSpacing port="sink_output 1" spacing="0"/>
<portSpacing port="sink_output 2" spacing="0"/>
</process>
</operator>
<operator activated="true" class="write_aml" compatibility="5.0.10" expanded="true" height="60" name="Write AML" width="90" x="542" y="108">
<parameter key="example_set_file" value="\\tigris\home1$\pwelke\Eigene Dateien\test.dat"/>
<parameter key="attribute_description_file" value="\\tigris\home1$\pwelke\Eigene Dateien\test.aml"/>
</operator>
<connect from_op="Generate Data" from_port="output" to_op="Matlab Environment" to_port="input 1"/>
<connect from_op="Matlab Environment" from_port="output 1" to_op="Write AML" to_port="input"/>
<connect from_op="Write AML" from_port="through" 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>
The .aml and .dat files produced by the "Write AML" operator contain the desired data. But at the end of the process when I switch to the result view that view freezes and shows nothing.
What did I do wrong?
My Operator converts the results of matlabs work as a MemoryExampleTable t containing DoubleArrayDataRows and delivers t.createExampleSet()