Difference between revisions of "Learning Algorithms for Trading"

From Quantitative Analysis Software Courses
Jump to navigation Jump to search
Line 5: Line 5:
 
*Instance-based
 
*Instance-based
 
*Overview: LinReg, KNN, Decision Trees, ANN
 
*Overview: LinReg, KNN, Decision Trees, ANN
 +
 +
==How ML fits into the computing at a hedge fund==
 +
*Long/short
  
 
==Time series prediction as an ML problem==
 
==Time series prediction as an ML problem==
Line 12: Line 15:
  
 
==Linear regression==
 
==Linear regression==
 
==Using a learner in a trading strategy==
 
*Long/short
 
  
 
==KNN==
 
==KNN==

Revision as of 00:55, 4 March 2015

Supervised machine learning

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

How ML fits into the computing at a hedge fund

  • Long/short

Time series prediction as an ML problem

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

Learner APIs

Linear regression

KNN

Assessing a learning algorithm

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

Overfitting