GCNN

marcopomarcopo Member Posts: 14 Contributor II
edited November 2018 in Help
Hey,

have anyone tried the GCNN instance selection method of the ISPR package?

I think it is not working. I always get the same error: "The setup does not seem to contain any obvious errors, but you should check the log messages" --> java.lang.NullpointerException
 <?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="generate_up_selling_data" compatibility="5.3.008" expanded="true" height="60" name="Generate Up-Selling Data" width="90" x="45" y="255"/>
      <operator activated="true" class="prules:gcnn_sel" compatibility="5.2.006" expanded="true" height="94" name="Generalized CNN" width="90" x="246" y="255">
        <process expanded="true">
          <operator activated="true" class="k_nn" compatibility="5.3.008" expanded="true" height="76" name="k-NN" width="90" x="112" y="30">
            <parameter key="weighted_vote" value="true"/>
          </operator>
          <connect from_port="ExampleSet" to_op="k-NN" to_port="training set"/>
          <connect from_op="k-NN" from_port="model" to_port="Model"/>
          <portSpacing port="source_ExampleSet" spacing="0"/>
          <portSpacing port="sink_Model" spacing="0"/>
        </process>
        <process expanded="true">
          <operator activated="true" class="apply_model" compatibility="5.3.008" expanded="true" height="76" name="Apply Model" width="90" x="112" y="30">
            <list key="application_parameters"/>
          </operator>
          <connect from_port="Model" to_op="Apply Model" to_port="model"/>
          <connect from_port="TestSet" to_op="Apply Model" to_port="unlabelled data"/>
          <connect from_op="Apply Model" from_port="labelled data" to_port="Labeled Example Set"/>
          <portSpacing port="source_Model" spacing="0"/>
          <portSpacing port="source_TestSet" spacing="0"/>
          <portSpacing port="sink_Labeled Example Set" spacing="0"/>
        </process>
      </operator>
      <connect from_op="Generate Up-Selling Data" from_port="output" to_op="Generalized CNN" to_port="ExampleSet"/>
      <connect from_op="Generalized CNN" from_port="Prototypes" to_port="result 1"/>
      <connect from_op="Generalized CNN" from_port="ExampleSet" to_port="result 2"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
      <portSpacing port="sink_result 3" spacing="0"/>
    </process>
  </operator>
</process>
Thanks a lot!

Answers

  • marcin_blachnikmarcin_blachnik Member Posts: 61 Guru
    Hi

    Yes, you are right, there is a bug in this operator. I’m the author of this extension, and soon I’ll provide an update or even a new version of this extension with many new features ex.
    - New instance selection algorithms
    - Ensemble of instance selection
    - More recent version of LVQ algorithm etc.
    The new version requires some clean-up to make it publically available. Around the end of September it should appear on the marketplace.
    If you are interested I can provide you with the development version where both the GCNN and GENN work good.

    Best
    Marcin
  • marcopomarcopo Member Posts: 14 Contributor II
    Hey,

    ahh alright. Thank you for the information and thank you for the extension. It is an awesome ex. At the moment, I don't need GCNN and GENN. But I am impatient to see the new version ;-)

    Best

    Marco

Sign In or Register to comment.