🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Rapidminer can't show results after executing own operators

User: "Pascal_Welke"
New Altair Community Member
Updated by Jocelyn
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()

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "fischer"
    New Altair Community Member
    Accepted Answer
    Hi,

    maybe the perspective crashed when RM tries to find a dockable that is no longer there.

    Try these:

    - View -> Restore default perspective (Switch to the broken perspective before you do that. Maybe it is not frozen, but doesn't display anything.)
    - In your home folder, delete .RapidMiner5/vlperspective-*.xml

    Best,
    Simon