RapidMiner 9.8 Beta is now available

Be one of the first to get your hands on the new features. More details and downloads here:

GET RAPIDMINER 9.8 BETA

NeurophRM operator

NiccoloNiccolo Member Posts: 2 Contributor I
edited November 2018 in Help
Hi everybody, I'm new in this forum and I hope I'm doing everything right... :)
I'm trying to use neural network built with Neuroph Studio in RapidMiner. It seems I've installed the plug-in correctly since I can finde the neurophRM oparator but when I make the process running I get a Porcess failure error message even if the setup does not seem to contain any obvious errors...

Can anybody give me a hand with this?

Thanks a lot!!!

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.008">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="5.3.008" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="read_excel" compatibility="5.3.008" expanded="true" height="60" name="Read Excel" width="90" x="45" y="30">
        <parameter key="excel_file" value="C:\ITT\Progetti\Modellizzazione\neuroph-2.7\Concrete cpx\Concrete_Normalised_Data70.xls"/>
        <parameter key="imported_cell_range" value="A1:I1031"/>
        <parameter key="first_row_as_names" value="false"/>
        <list key="annotations">
          <parameter key="0" value="Name"/>
        </list>
        <list key="data_set_meta_data_information">
          <parameter key="0" value="Cement (component 1)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="1" value="Blast Furnace Slag (component 2)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="2" value="Fly Ash (component 3)(kg in a m^3 mixture).true.integer.attribute"/>
          <parameter key="3" value="Water  (component 4)(kg in a m^3 mixture).true.real.attribute"/>
          <parameter key="4" value="Superplasticizer (component 5)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="5" value="Coarse Aggregate  (component 6)(kg in a m^3 mixture).true.real.attribute"/>
          <parameter key="6" value="Fine Aggregate (component 7)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="7" value="Age (day).true.numeric.attribute"/>
          <parameter key="8" value="Concrete compressive strength(MPa, megapascals) .true.real.label"/>
        </list>
      </operator>
      <operator activated="true" class="neuroph:neuroph_regression" compatibility="0.1.001" expanded="true" height="76" name="Neuroph Regression NN" width="90" x="179" y="30">
        <parameter key="nn_file" value="C:\ITT\Progetti\Modellizzazione\neuroph-2.7\Concrete cpx\Neural Networks\ConcreteCPX.nnet"/>
      </operator>
      <operator activated="true" class="read_excel" compatibility="5.3.008" expanded="true" height="60" name="Read Excel (2)" width="90" x="179" y="165">
        <parameter key="excel_file" value="C:\ITT\Progetti\Modellizzazione\neuroph-2.7\Concrete cpx\Concrete_Normalised_Data30test.xls"/>
        <parameter key="imported_cell_range" value="A1:I1031"/>
        <parameter key="first_row_as_names" value="false"/>
        <list key="annotations">
          <parameter key="0" value="Name"/>
        </list>
        <list key="data_set_meta_data_information">
          <parameter key="0" value="Cement (component 1)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="1" value="Blast Furnace Slag (component 2)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="2" value="Fly Ash (component 3)(kg in a m^3 mixture).true.integer.attribute"/>
          <parameter key="3" value="Water  (component 4)(kg in a m^3 mixture).true.real.attribute"/>
          <parameter key="4" value="Superplasticizer (component 5)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="5" value="Coarse Aggregate  (component 6)(kg in a m^3 mixture).true.real.attribute"/>
          <parameter key="6" value="Fine Aggregate (component 7)(kg in a m^3 mixture).true.numeric.attribute"/>
          <parameter key="7" value="Age (day).true.numeric.attribute"/>
          <parameter key="8" value="Concrete compressive strength(MPa, megapascals) .true.real.label"/>
        </list>
      </operator>
      <operator activated="true" class="apply_model" compatibility="5.3.008" expanded="true" height="76" name="Apply Model" width="90" x="380" y="30">
        <list key="application_parameters"/>
      </operator>
      <operator activated="true" class="write_excel" compatibility="5.3.008" expanded="true" height="76" name="Write Excel" width="90" x="514" y="120">
        <parameter key="excel_file" value="C:\ITT\Progetti\Modellizzazione\neuroph-2.7\Concrete cpx\Testdataminer.xlsx"/>
        <parameter key="file_format" value="xlsx"/>
        <parameter key="number_format" value="#.00"/>
      </operator>
      <connect from_op="Read Excel" from_port="output" to_op="Neuroph Regression NN" to_port="training set"/>
      <connect from_op="Neuroph Regression NN" from_port="model" to_op="Apply Model" to_port="model"/>
      <connect from_op="Read Excel (2)" from_port="output" to_op="Apply Model" to_port="unlabelled data"/>
      <connect from_op="Apply Model" from_port="labelled data" to_op="Write Excel" to_port="input"/>
      <connect from_op="Apply Model" 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>
 


Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,944   RM Engineering
    Hi,

    I don't know said extension, but what you generally need to do in such a case is start RapidMiner from the commandline so you can see the errors which do pop up in the background when such a message dialog occurs. Navigate to your RapidMiner/scripts folder and launch via RapidMinerGUI.bat or RapidMinerGUI depending on your OS. Then you should see an error during process execution in the console. If it's inside the operator of the extension (first line of the error says something along the lines of "com.neuroph...neurophRM.java") you will have to contact the author of the extension. Otherwise you can post the error here and we will have a look at it.

    Regards,
    Marco
  • NiccoloNiccolo Member Posts: 2 Contributor I
    Hello Marco I'll follow your advice and try to solve the problem.
    Thank you,
    Niccolo
Sign In or Register to comment.