Learning Algorithms for Trading

From Quantitative Analysis Software Courses
Revision as of 23:53, 3 March 2015 by 3xdkyr (talk | contribs)
Jump to navigation Jump to search

Supervised machine learning

  • Regression
  • Classification
  • Parametric
  • Instance-based
  • Overview: LinReg, KNN, Decision Trees, ANN

Time series prediction as an ML problem

[note: need to create fake stock data that has embedded patterns]

Learner APIs

Linear regression

Using a learner in a trading strategy

  • Long/short

KNN

Assessing a learning algorithm

  • Now that we have two, (linreg & KNN), let's compare them
  • RMS error
  • Scatterplot predict vs actual
  • Corrcoef

Overfitting