[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund...

a data-centric way to build predictive models

 

 

 

The ML problem

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第1张图片

 

 

Supervised regression learning 

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第2张图片

 

 

 

Robot navigation example 

 

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第3张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第4张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第5张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第6张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第7张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第8张图片

 

 

 

 

 How it works with stock data

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第9张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第10张图片

 

 

 

 

 Example at a fintech company

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第11张图片

 

 

 

Price forecasting demo 

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第12张图片

QuantDesk

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第13张图片

factors we are using now <= choices of these factors are from another genetic algorithm 

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第14张图片 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第15张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第16张图片 <= roll back time, and we look over all this last three months and look forward one month, see how accurate all those predictions were

 

 

https://lucenaresearch.com/#register

https://quantdesk.lucenaresearch.com/#login

 

 

Backtesting 

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第17张图片

 

 

 

 ML tool in use

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第18张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第19张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第20张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第21张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第22张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第23张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第24张图片

orange line => historical value of our portfolio

blue => benchmark (S&P500 here)

 

 

 

 

 

 Problems with regression

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第25张图片

 

 

Problem we will focus on 

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第26张图片

 

 

 





 

 

 

 

Parametric regression 

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第27张图片

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第28张图片

 

 

 

 K nearest neighbor

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第29张图片

 

 

 

 

 

 How to predict

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第30张图片

 

 

 

 

 Kernel regression

[Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第31张图片

Kernel regression is different from KNN, because it uses kernel to weight the contribution of each nearest point

 

 

 

 

 Parametric vs non parametric

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第32张图片

Yes, the cannon ball distance can be best estimated using a parametric model, as it follows a well-defined trajectory.

On the other hand, the behavior of honey bees can be hard to model mathematically. Therefore, a non-parametric approach would be more suitable.

 

 

 

 Training and testing

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第33张图片

typically: train on older data; test on newer data

look ahead bias occurs if training reversely

 

 

 

Learning APIs 

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第34张图片

 

 

 

 Example for linear regression

 [Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund..._第35张图片

 Note: This is intended to be pseudo-code only, although some Python-specific syntax has been shown.

 

转载于:https://www.cnblogs.com/ecoflex/p/10977432.html

你可能感兴趣的:([Machine Learning for Trading] {ud501} Lesson 21: 03-01 How Machine Learning is used at a hedge fund...)