The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"TIme series

svpriyansvpriyan Member Posts: 29 Maven
edited May 2019 in Help
Hi,

I am also interested in predicting time-series values using the windowing process.
I am however, a bit stuck at the pre processing stage.

My data looks like

Month  Profit
1 36
2 204
3 212
4 224
5 196
6 196
7 202
8 189
9 180
10 192
11 198
12 154

I am going to predict the following months from this!.
what would the best preprocessing algorithm or process be to use. if you have already worked examples please be kind enough to show me.


secondly,
i am interested in applying this derived data to a cost sensitive learner later on.
do Rapid miner provide this !!! ( in this case i need to use my own cost matrix obtained )

thanks
Priya

Deon
Tagged:

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    you will need to window your data set. Take a look at the multivariateSeries2WindowExamples operator. I guess, the series_representation is encode_series_by_examples in your case. After this you should have several windows, containing the next month as label and a fixed number of the n last months. This can be used with any learner to predict the next month's outcome.
    To your second question: Yes, you can use the metaCost operator for cost sensitive learning.

    Greetings,
      Sebastian
  • svpriyansvpriyan Member Posts: 29 Maven
    Thanks for the reply
    i was trying the same and i got stuck with this when i try to use the

    <operator name="Root" class="Process" expanded="yes">
        <operator name="CSVExampleSource" class="CSVExampleSource">
            <parameter key="filename" value="C:\Documents and Settings\user3\Desktop\Book1.csv"/>
            <parameter key="label_name" value="sale"/>
        </operator>
        <operator name="MultivariateSeries2WindowExamples" class="MultivariateSeries2WindowExamples">
            <parameter key="window_size" value="3"/>
        </operator>
        <operator name="W-CostSensitiveClassifier" class="W-CostSensitiveClassifier" expanded="yes">
            <parameter key="M" value="true"/>
        </operator>
        <operator name="ResultWriter" class="ResultWriter">
            <parameter key="result_file" value="C:\Documents and Settings\svpriyan\Desktop\testing1.res"/>
        </operator>
    </operator>
    i have doubts:
    Since i am having numeric values in my time series (as given above), DO i need to pre process it.
    also i could not get clear idea where to define my cost matrix.

    Your help is greatly appreciated!!!


  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    sorry, but I'm not familiar with the WEKA learner and its parameters. So you have to figure out yourself, where to enter the cost matrix.
    And I cannot test your process, since I dont have your data. If you want me to debug it, please use an example Set generator, so that I simply can copy it into rapid miner.

    Greetings,
      Sebastian
Sign In or Register to comment.