Just a simple Fourier Transform?

stever1kstever1k Member Posts: 10 Contributor II
edited November 2018 in Help
Hi,

I just want to make a simple fourier transform, yet I m not able to make one :-( The data set is multidimensional - but I tried with a simple

x      y
x1 sin(x1)
x2 sin(x2)
...

set, load the set and try the fourier operator, but I get the error:
G Jan 24, 2010 5:54:55 PM: [Fatal] ArrayIndexOutOfBoundsException occured in 1st application of FourierTransform (FourierTransform)
G Jan 24, 2010 5:54:55 PM: [Fatal] Process failed: operator cannot be executed (16). Check the log messages...
I really don't see where the problem is here, because there are no options for me than just reading data and as a second operator the fourier module which has no settings at all :-(

best regards,
Stever

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Stever,
    could you please send me your example process with the sinus generator?
    I guess, there's something broken during the migration on RapidMiner 5.

    Greetings,
      Sebastian
  • stever1kstever1k Member Posts: 10 Contributor II
    hi Sebastian,

    I just used openoffice to create a file to test the routine. Its only a few periods, but I can attach it anyway.

    At the moment I use rm 4.5 with linux.

    When  I insert a breakpoint after the data source and plot it, everything looks okay.


    0,1 0,1
    0,2 0,2
    0,3 0,3
    0,4 0,39
    0,5 0,48
    0,6 0,56
    0,7 0,64
    0,8 0,72
    0,9 0,78
    1 0,84
    1,1 0,89
    1,2 0,93
    1,3 0,96
    1,4 0,99
    1,5 1
    1,6 1
    1,7 0,99
    1,8 0,97
    1,9 0,95
    2 0,91
    2,1 0,86
    2,2 0,81
    2,3 0,75
    2,4 0,68
    2,5 0,6
    2,6 0,52
    2,7 0,43
    2,8 0,33
    2,9 0,24
    3 0,14
    3,1 0,04
    3,2 -0,06
    3,3 -0,16
    3,4 -0,26
    3,5 -0,35
    3,6 -0,44
    3,7 -0,53
    3,8 -0,61
    3,9 -0,69
    4 -0,76
    4,1 -0,82
    4,2 -0,87
    4,3 -0,92
    4,4 -0,95
    4,5 -0,98
    4,6 -0,99
    4,7 -1
    4,8 -1
    4,9 -0,98
    5 -0,96
    5,1 -0,93
    5,2 -0,88
    5,3 -0,83
    5,4 -0,77
    5,5 -0,71
    5,6 -0,63
    5,7 -0,55
    5,8 -0,46
    5,9 -0,37
    6 -0,28
    6,1 -0,18
    6,2 -0,08
    6,3 0,02
    6,4 0,12
    6,5 0,22
    6,6 0,31
    6,7 0,4
    6,8 0,49
    6,9 0,58
    7 0,66
    7,1 0,73
    7,2 0,79
    7,3 0,85
    7,4 0,9
    7,5 0,94
    7,6 0,97
    7,7 0,99
    7,8 1
    7,9 1
    8 0,99
    8,1 0,97
    8,2 0,94
    8,3 0,9
    8,4 0,85
    8,5 0,8
    8,6 0,73
    8,7 0,66
    8,8 0,58
    8,9 0,5
    9 0,41
    9,1 0,32
    9,2 0,22
    9,3 0,12
    9,4 0,02
    9,5 -0,08
    9,6 -0,17
    9,7 -0,27
    9,8 -0,37
    9,9 -0,46
    10 -0,54
    10,1 -0,63
    10,2 -0,7
    10,3 -0,77
    10,4 -0,83
    10,5 -0,88
    10,6 -0,92
    10,7 -0,96
    10,8 -0,98
    10,9 -1
    11 -1
    11,1 -0,99
    11,2 -0,98
    11,3 -0,95
    11,4 -0,92
    11,5 -0,88
    11,6 -0,82
    11,7 -0,76
    11,8 -0,69
    11,9 -0,62
    12 -0,54
    12,1 -0,45
    12,2 -0,36
    12,3 -0,26
    12,4 -0,17
    12,5 -0,07
    12,6 0,03
    12,7 0,13
    12,8 0,23
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    could you please post your process here, so that I can start without having to guess what you have done?

    Greetings,
      Sebastian
  • stever1kstever1k Member Posts: 10 Contributor II
    sure - its just an example loader and the FT:
    <operator name="Root" class="Process" expanded="yes">
        <operator name="ExampleSource" class="ExampleSource">
            <parameter key="attributes" value="/user/XXXXX/usr/rapidminer-4.5/1"/>
        </operator>
        <operator name="FourierTransform" class="FourierTransform">
        </operator>
    </operator>
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    it seems to work with a generated example set. Please try to reproduce the error on a generated example set and post this process again. I cannot start your process without the data.

    Greetings,
      Sebastian
Sign In or Register to comment.