What are the attributes used in time series to be forecasted using SVM? I have two values the date and the value at that date for the class I already know that I can use -1 and 1 when price gets up or down but still don't know how to plot the time series to calculate the hyperplane
time series forecasting using Support Vector Machine
5.7k Views Asked by Cyber Progs At
1
There are 1 best solutions below
Related Questions in TIME-SERIES
- How to best compress timeseries into a different duration?
- Calculating the difference in dates in a Pandas GroupBy object
- Simple Python Median Filter for time series
- Converting time series to data frame, matrix, or table
- Highstock time series navigator blank
- How to compute relative difference in a circular domain (weekday) in R
- How to store and retrieve time series using google appengine using python
- Plotting multivariate time-series data in R
- Reintroduction of AR and GARCH processes in MATLAB
- value from a past, potentially missing month in dataframe
- Forecasting an Arima Model in R Returning Strange Error
- computed initial MA coefficients are not invertible [Python] [TSA] [ARIMAX] [CrossValidation]
- Load local dataset into Python 3.4 Pandas statsmodel for Time Series
- Combining time series data into a single data frame
- Plotting Probability Density Heatmap Over Time in R
Related Questions in SVM
- Feature selection SVM-Recursive Feature elimination (SVM-RFE) with Libsvm, the accuracy result is worse than without feature selection, why?
- How to interpret scikit's learn confusion matrix and classification report?
- must a dataset contain all factors in SVM in R
- Unable to run the method fit for svm (by scikit-learn)
- Cannot train KSVM in R
- R - One Class SVM classification with multiple predictions
- How to parallelize the training of an SVC with RBF kernel through MapReduce in scikit-learn for Python
- OpenCV HOG+SVM: assertion failed checkDetectorSize()
- SVM is not generating forecast using R
- Right function for normalizing input of sklearn SVM
- SVM in R language
- How can I train SVM in Matlab, with more than 2 classes
- Support vector machine in Python using libsvm example of features
- Support Vector Machine in Torch7
- Understanding an linear classification SVM
Related Questions in FORECASTING
- weka API import
- Forecasting an Arima Model in R Returning Strange Error
- multiple seasonality-using Tbat() function ,-forecasting
- ETS multiplicative trend model written in state space form
- Forecast using auto.arima with help of dplyr groupby function
- SVM is not generating forecast using R
- In ETS packages can you use high frequency f=365..?
- Fitted values in R forecast missing date / time component
- Forecasting models for the following data
- time series forecasting using Support Vector Machine
- passing sparse xreg to stlf in R causes optimisation error
- Forecasting values along with corresponding years
- How to sample a SARIMA model with given parameters in R
- Limit the range of forecast values for R forecast package
- Use of frequency argument in window function
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There are some papers that show some ways to do it:
Financial time series forecasting using support vector machine
Using Support Vector Machines in Financial Time Series Forecasting
Financial Forecasting Using Support Vector Machines
I really recommend that you go through the existent literature, but just for fun I will describe an easy way (probably not the best) to do it.
Let's say you have N pairs
where
is the particular date/time of the pair and
its corresponding value. The pairs are sorted by its X component.
Let's say you want to predict if given
, the corresponding unknown value
will go up or down (Notice that you could also use regression and instead try to predict the value itself).
Then we could train a model with a training set like this:
Basically, you will be training the algorithm to make an educated guess of the next "tick" in the future by given to it a glimpse of the past. Once your model is trained to make a prediction you feed the model with the N values (where N is the amount of values you used as input in your training phase) previous to the value you want to predict.