Options

Generalized Sequential Patterns

studentstudent Member Posts: 17 Contributor II
Hallo,

I want start the program Generalized Sequential Patterns with the following data:

Customer Time_label prod1 prod2 prod3
customerA 1 true false false
customerA 2 false true false
customerA 3 false false true
customerB 1 true false false
customerB 2 false true false
customerB 3 false false true
customerC 1 true false false
customerC 2 false true false
customerC 3 false false true



My Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.005">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="5.3.005" expanded="true" name="Process">
    <process expanded="true">
      <operator activated="true" class="retrieve" compatibility="5.3.005" expanded="true" height="60" name="Retrieve daten2" width="90" x="45" y="120">
        <parameter key="repository_entry" value="../data/daten2"/>
      </operator>
      <operator activated="true" class="generalized_sequential_patterns" compatibility="5.3.005" expanded="true" height="76" name="GSP" width="90" x="380" y="120">
        <parameter key="customer_id" value="Customer "/>
        <parameter key="time_attribute" value="Time_label "/>
        <parameter key="window_size" value="11.0"/>
        <parameter key="max_gap" value="5.0"/>
        <parameter key="min_gap" value="2.0"/>
        <parameter key="positive_value" value="true"/>
      </operator>
      <connect from_op="Retrieve daten2" from_port="output" to_op="GSP" to_port="example set"/>
      <connect from_op="GSP" from_port="patterns" 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>


Why no results are displayed?


Answers

  • Options
    willgouldinwillgouldin Member Posts: 14 Contributor II
    Are you using Windows or another platform?

    There is currently a bug report for Windows and GSP for lack of output. 

    If you are experiencing this bug you will default to annotations screen in the output window of Rapidminer.

    If you have access to linux or Mac try that.  I'll peek at your code to see if work on this end.


    Will
  • Options
    studentstudent Member Posts: 17 Contributor II
    hi, thanks for the help.
    willG wrote:

    Are you using Windows or another platform?
    Yes, windows.
    willG wrote:

    If you have access to linux or Mac try that.  I'll peek at your code to see if work on this end.
    I have access only to windows.
  • Options
    willgouldinwillgouldin Member Posts: 14 Contributor II
    Work on your data transforms a bit and check the errors at the bottom of your screen.

    Read this thread:

    http://rapid-i.com/rapidforum/index.php/topic,3028.0.html

Sign In or Register to comment.