"svm prediction module guidence"

rm_stallionrm_stallion MemberPosts:1Contributor I
edited June 2019 inHelp
Hi,

I am doing an academic project on stock prediction. while trying to figure out how SVM works, i bumped into rapid miner. I am using it since last 2 hours and i am not able to figure out how to predict values for future dates (horizon > 1). I increased the horizon size but then it shows me 1 future value for every value in input data (if horizon is 5, it shows me 1 value for every input which is suposed to be a predicted value on 5th day after current input). Is there any way by which i can display future values in proper sequence e.g. day 1 - predicted value 1, day 2 - predicted value 2, etc.
also, is there any way by which I can improve the prediction accuracy ?????
also, can i somehow incorporate such a particular prediction module in my java code for my GUI or should i call rapid miner explicitly from my java program ??? (i just want to use the SVm prediction module and not all the features of rapid miner)
It would be great if you can help me out

I am attaching here the XML of my test file




































































































csv files i used had following data
train.csv
1 GOOG 564.08 564.78 561.01 565.18
2 GOOG 562.48 564.78 561.01 565.18
3 GOOG 562.76 559.46 558.71 564.66
4 GOOG 562.3 559.46 558.71 564.66
5 GOOG 562.17 559.46 558.71 564.66
6 GOOG 562.08 559.46 558.71 564.66
7 google 561.658 559.46 558.71 564.66
8 GOOG 561.52 559.46 558.71 564.66
9 GOOG 560.548 559.46 558.71 564.66
10 GOOG 560.19 559.46 556.5 564.66
11 GOOG 562.77 563.75 562.4 564.22
12 GOOG 564.95 563.75 562.21 565.85
13 GOOG 566.87 563.75 562.21 568
14 GOOG 571.01 563.75 562.21 571.22
15 google 571.89 563.75 562.21 571.909
16 GOOG 570.8115 563.75 562.21 572
17 GOOG 567.34 563.75 562.21 572
18 GOOG 569.2 563.75 562.21 572
19 GOOG 570.73 563.75 562.21 572
20 GOOG 570.13 563.75 562.21 572
21 GOOG 572.16 563.75 562.21 572.2

test.csv
1 GOOG 575.22 563.75 562.21 575.25
2 GOOG 575.16 563.75 562.21 578.5

I wanted to predict future values (for next 10 days) using input from test.csv. Is there any way by which I can predict all 10 values (with as high accuracy as possible) and display them too ???
Tagged:
    Sign InorRegisterto comment.