Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference for time series analysis #7

Open
yzderiv opened this issue Apr 12, 2017 · 4 comments
Open

Reference for time series analysis #7

yzderiv opened this issue Apr 12, 2017 · 4 comments

Comments

@yzderiv
Copy link

yzderiv commented Apr 12, 2017

Does anyone happen to come upon any good reference on time series analysis using machine learning techniques?

@pwaller
Copy link

pwaller commented Apr 12, 2017

One technique is called dynamic time warping. Here are a few links. Afraid I haven't used it myself, but found it interesting to read about. Not sure if it is applicable to your specific problem as you didn't specify what kind of problem you seek to solve :)

@yzderiv
Copy link
Author

yzderiv commented Apr 12, 2017

Thanks a lot! The problem is to analyze and forecast customer demand in option markets. These are usually similar but slightly different contracts traded by various kinds of customers.

I will have a look at the references.

@betatim
Copy link
Member

betatim commented Apr 13, 2017

In a trading setting I have seen people setup the problem like this:

  • currently at time n
  • want to predict value of time series at n+1
  • use k previous days to make a prediction for "today", so split the time series into chunks of k observations.
  • build a model that has k inputs to predict the value for today

Straight forward cross-validation doesn't work anymore in this case, in sklearn there was a recent addition called http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.TimeSeriesSplit.html#sklearn.model_selection.TimeSeriesSplit which might help.

@yzderiv
Copy link
Author

yzderiv commented Apr 13, 2017

Thank you very much. I will have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants