SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
A GUIDED TOUR OF
MACHINE LEARNING FOR
TRADERS
TUCKER BALCH, PH.D.
PROFESSOR, GEORGIA TECH
CO-FOUNDER AND CTO, LUCENA RESEARCH
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
WHO THIS IS FOR
People who are…
•  familiar with quantitative techniques
•  interested to know what’s under the “hood”
with ML techniques.
•  No Machine Learning knowledge assumed.
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
ABOUT THE SPEAKER
•  Professor of Interactive Computing at
Georgia Institute of Technology.
•  Teach courses in Artificial Intelligence and
Finance.
•  Teach MOOCs on Machine Learning for
Trading
•  Published over 120 research publications
related to Robotics and Machine Learning.
•  Co-founder of Lucena Research.
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
ABOUT MY COURSE
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
ABOUT LUCENA
RESEARCH
•  Fin-tech company who employ
experts in Computational
Finance, Quantitative Analysis,
and Software Development.
•  We deliver investment decision
support technology to hedge
funds and wealth managers:
•  Price forecasting
•  Hedging
•  ML-based stock screening
•  Model portfolios
•  Python-based infrastructure.
•  http://lucenaresearch.com
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
TALK OVERVIEW
•  Machine Learning: Big Picture
•  Decision Trees: Classification
•  Decision Trees: Regression
•  Decision Trees Example: Sentiment-based strategy
•  kNN: Classification
•  kNN: Regression
•  Reinforcement Learning
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
THE BIG PICTURE
“Machine Learning” goes by many names:
•  Machine Learning
•  Big Data
•  Predictive Analytics
Focus: Supervised Learning
•  Start with examples: Factor values & outcomes
•  Build model from examples
•  Use model to predict outcomes
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
HOW TO BUILD A
PREDICTIVE MODEL
Factors (X1, X2, … XN)
Predict outcome: Y
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
HOW TO BUILD A
PREDICTIVE MODEL
Factors (X1, X2, … XN)
Predict outcome: Y
Classification: One of several outcomes
Regression: Numerical outcome
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
HOW TO BUILD A
PREDICTIVE MODEL
Factors (X1, X2, … XN)
Predict outcome: Y
Classification: One of several outcomes
Regression: Numerical outcome
Lots of methods solve same problem
•  kNN
•  Decision Trees
•  Support Vector Machines (SVM)
•  Artificial Neural Networks (ANN)
•  Deep Learning
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
WHO SHOULD I VOTE
FOR?
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
PREDICT VOTING
BEHAVIOR
Factors:
•  Do you believe the country is “broken”?
•  If so, what caused the country to become broken?
•  Where do you stand on a woman’s right to chose?
•  What are your religious views?
Outcomes:
•  Trump
•  Clinton
•  Cruz
•  Sanders
•  Kasich
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
PREDICT VOTING
BEHAVIOR
Model: Decision Tree
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
PREDICT STOCK
BEHAVIOR
Model: Decision Tree
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
TREES ALSO WORK
FOR REGRESSION
Model: Decision Tree
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
LOTS OF TREES =
FOREST
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
HOW TO BUILD A
TREE
•  Gather data <X1, X2, X3, Y>
•  Find most predictive factor Xi of Y
•  Find threshold Ti that splits data most effectively
•  Decision node: Xi < Ti?
•  Left tree: Xi < Ti
•  Right tree: Xi >= Ti
•  Recurse until only one data item left: Leaf
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
DECISION TREES
RECAP
•  A decision tree is a flow chart of yes/no questions
•  When you reach a leaf, that is your prediction
•  Can be used for classification or regression
•  Training:
•  find most predictive factor
•  split data based on that factor
•  Recurse
•  Query:
•  Follow path through decision nodes until leaf
•  Forest: An ensemble learner with multiple trees
•  Training: Build trees with sampled data
•  Query: Query each tree: Vote, or average to find result
•  Less susceptible to overfitting
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
USING DECISION TREES
FOR STOCK SCANS
•  CHECKMATE: Trading strategy developed by Lucena Research,
Inc. in partnership with PsychSignal.com
•  Classification-based strategy
•  Separate scans for long and short positions
•  Factors:
•  PyschSignal: Sentiment data: stocktwits, twitter analysis
•  Lucena: 400+ technical & fundamental factors per stock
•  Outcomes: Up/Down/Neutral
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
BACKTEST OF LONG
SCAN
Backtest simulation performance from QuantDesk® – Past performance is no guarantee of future
results. In-sample training period: 2011.
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
BACKTEST OF SHORT
SCAN
Backtest simulation performance from QuantDesk® – Past performance is no guarantee of future
results. In-sample training period: 2011.
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
BACKTEST OF LONG &
SHORT COMBINED
Backtest simulation performance from QuantDesk® – Past performance is no guarantee of future
results. In-sample training period: 2011.
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
FORWARD TESTING
SINCE NOV 2015
Forward testing performance – Past performance is no guarantee of future results. In-sample training
period: 2011.
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
K NEAREST NEIGHBOR
•  Solves the same problem as decision trees
•  Train: Save data
•  Query: Find k nearest neighbors, vote or take mean
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
K NEAREST NEIGHBOR
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
TRADE OFFS
KNN
•  Classification or regression
•  Training is fast
•  Query is slow
•  Requires data normalization
•  Susceptible to overfitting
•  Larger K
•  Ensemble
•  Must discover features
•  You must map to strategy
Decision Trees
•  Classification or regression
•  Training is slow
•  Query is fast
•  No data normalization
•  Susceptible to overfitting
•  Larger leafsize
•  Ensemble (forest)
•  Auto feature discovery
•  You must map to strategy
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
REINFORCEMENT
LEARNING
Solves a different problem:
•  Find a policy π that tells us which action a to take in
every situation s.
•  a = π(s)
•  π*(s) is the optimal policy
Nomenclature
•  s: state
•  r: reward for last action
•  a: action
•  T: transition matrix (which state is next)
•  π: the policy
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
REINFORCEMENT
LEARNING
For trading problem:
•  s: factors/features describing a stock’s “situation”
•  r: return
•  a: buy, sell, do nothing
Algorithms:
•  Model-based:
•  Policy iteration
•  Value iteration
•  Model-free
•  Q-learning
•  Dyna-Q
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
REINFORCEMENT
LEARNING
Advantages:
•  Maps well to finance problems
•  Provides entire strategy including
entry and exit conditions
•  Policy accounts for whether to enter
based on probability of success
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
REVIEW
•  Decision Trees
•  Classification
•  Regression
•  kNN
•  Classification
•  Regression
•  Reinforcement learning
•  Finds a policy
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
THANK YOU
To learn about my company:
•  www.lucenaresearch.com
To learn about my course:
•  Google “Balch Udacity”
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
OVERFITTING
Description: An overfit model is one that models in-sample
data very well. It predicts the data so well that it is likely
modeling noise.
A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D.
OVERFITTING
Description: An overfit model is one that models in-sample
data very well. It predicts the data so well that it is likely
modeling noise.
As the degrees of freedom of the model increase, overfitting
occurs when in-sample prediction error decreases and out-
of-sample prediction error increases.

Weitere ähnliche Inhalte

Was ist angesagt?

"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an..."Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
Quantopian
 
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
Quantopian
 
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
QuantInsti
 

Was ist angesagt? (20)

"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ..."How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
"How to Run a Quantitative Trading Business in China with Python" by Xiaoyou ...
 
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle..."Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
"Build Effective Risk Management on Top of Your Trading Strategy" by Danielle...
 
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D..."From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
"From Alpha Discovery to Portfolio Construction: Pitfalls and Solutions" by D...
 
Classification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar pptClassification of quantitative trading strategies webinar ppt
Classification of quantitative trading strategies webinar ppt
 
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe..."Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
"Trading Strategies That Are Designed Not Fitted" by Robert Carver, Independe...
 
Market Timing, Big Data, and Machine Learning by Xiao Qiao at QuantCon 2016
Market Timing, Big Data, and Machine Learning by Xiao Qiao at QuantCon 2016Market Timing, Big Data, and Machine Learning by Xiao Qiao at QuantCon 2016
Market Timing, Big Data, and Machine Learning by Xiao Qiao at QuantCon 2016
 
10 Ways Backtests Lie by Tucker Balch
10 Ways Backtests Lie by Tucker Balch10 Ways Backtests Lie by Tucker Balch
10 Ways Backtests Lie by Tucker Balch
 
Combining the Best Stock Selection Factors by Patrick O'Shaughnessy at QuantC...
Combining the Best Stock Selection Factors by Patrick O'Shaughnessy at QuantC...Combining the Best Stock Selection Factors by Patrick O'Shaughnessy at QuantC...
Combining the Best Stock Selection Factors by Patrick O'Shaughnessy at QuantC...
 
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
Should You Build Your Own Backtester? by Michael Halls-Moore at QuantCon 2016
 
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an..."Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
"Quantitative Trading as a Mathematical Science" by Dr. Haksun Li, Founder an...
 
Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.Being open (source) in the traditionally secretive field of quant finance.
Being open (source) in the traditionally secretive field of quant finance.
 
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob..."Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
"Portfolio Optimisation When You Don’t Know the Future (or the Past)" by Rob...
 
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris..."A Framework for Developing Trading Models Based on Machine Learning" by Kris...
"A Framework for Developing Trading Models Based on Machine Learning" by Kris...
 
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
"Fundamental Forecasts: Methods and Timing" by Vinesh Jha, CEO of ExtractAlpha
 
"Alpha from Alternative Data" by Emmett Kilduff, Founder and CEO of Eagle Alpha
"Alpha from Alternative Data" by Emmett Kilduff,  Founder and CEO of Eagle Alpha"Alpha from Alternative Data" by Emmett Kilduff,  Founder and CEO of Eagle Alpha
"Alpha from Alternative Data" by Emmett Kilduff, Founder and CEO of Eagle Alpha
 
DIY Quant Strategies on Quantopian
DIY Quant Strategies on QuantopianDIY Quant Strategies on Quantopian
DIY Quant Strategies on Quantopian
 
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
The QuantCon Keynote: "Counter Trend Trading – Threat or Complement to Trend ...
 
Modeling Transaction Costs for Algorithmic Strategies
Modeling Transaction Costs for Algorithmic StrategiesModeling Transaction Costs for Algorithmic Strategies
Modeling Transaction Costs for Algorithmic Strategies
 
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
Technology Edge in Algo Trading: Traditional Vs Automated Trading System Arch...
 
Algo Trading
Algo TradingAlgo Trading
Algo Trading
 

Andere mochten auch

Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...
Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...
Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...
Quantopian
 
Pydata12 upload
Pydata12 uploadPydata12 upload
Pydata12 upload
twiecki
 
Welcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of Quantopian
Welcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of QuantopianWelcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of Quantopian
Welcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of Quantopian
Quantopian
 

Andere mochten auch (15)

Statistics - The Missing Link Between Technical Analysis and Algorithmic Trad...
Statistics - The Missing Link Between Technical Analysis and Algorithmic Trad...Statistics - The Missing Link Between Technical Analysis and Algorithmic Trad...
Statistics - The Missing Link Between Technical Analysis and Algorithmic Trad...
 
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
From Backtesting to Live Trading by Vesna Straser at QuantCon 2016
 
A Vision for Quantitative Investing in the Data Economy by Michael Beal at Qu...
A Vision for Quantitative Investing in the Data Economy by Michael Beal at Qu...A Vision for Quantitative Investing in the Data Economy by Michael Beal at Qu...
A Vision for Quantitative Investing in the Data Economy by Michael Beal at Qu...
 
The Sustainable Active Investing Framework: Simple, but Not Easy by Wesley Gr...
The Sustainable Active Investing Framework: Simple, but Not Easy by Wesley Gr...The Sustainable Active Investing Framework: Simple, but Not Easy by Wesley Gr...
The Sustainable Active Investing Framework: Simple, but Not Easy by Wesley Gr...
 
Trade Like a Chimp: Unleash Your Inner Primate by Andreas Clenow at QuantCon ...
Trade Like a Chimp: Unleash Your Inner Primate by Andreas Clenow at QuantCon ...Trade Like a Chimp: Unleash Your Inner Primate by Andreas Clenow at QuantCon ...
Trade Like a Chimp: Unleash Your Inner Primate by Andreas Clenow at QuantCon ...
 
Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...
Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...
Self-Directed Investing by Akhil Lodha, Co-founder of Sliced Investing, and M...
 
Pydata12 upload
Pydata12 uploadPydata12 upload
Pydata12 upload
 
HDDM: Hierarchical Bayesian estimation of the Drift Diffusion Model
HDDM: Hierarchical Bayesian estimation of the Drift Diffusion ModelHDDM: Hierarchical Bayesian estimation of the Drift Diffusion Model
HDDM: Hierarchical Bayesian estimation of the Drift Diffusion Model
 
Crowd-sourced Alpha: The Search for the Holy Grail of Investing
 Crowd-sourced Alpha: The Search for the Holy Grail of Investing Crowd-sourced Alpha: The Search for the Holy Grail of Investing
Crowd-sourced Alpha: The Search for the Holy Grail of Investing
 
Mean Reversion
Mean ReversionMean Reversion
Mean Reversion
 
Agente de seguridad 03 en campus universitario
Agente de seguridad 03 en campus universitarioAgente de seguridad 03 en campus universitario
Agente de seguridad 03 en campus universitario
 
The Genesis of an Order Type by Dan Aisen, Co-founder and Quantitative Develo...
The Genesis of an Order Type by Dan Aisen, Co-founder and Quantitative Develo...The Genesis of an Order Type by Dan Aisen, Co-founder and Quantitative Develo...
The Genesis of an Order Type by Dan Aisen, Co-founder and Quantitative Develo...
 
Beyond Semantic Analysis Utilizing Social Finance Data Sets to Improve Quanti...
Beyond Semantic Analysis Utilizing Social Finance Data Sets to Improve Quanti...Beyond Semantic Analysis Utilizing Social Finance Data Sets to Improve Quanti...
Beyond Semantic Analysis Utilizing Social Finance Data Sets to Improve Quanti...
 
Welcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of Quantopian
Welcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of QuantopianWelcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of Quantopian
Welcome to QuantCon 2015 by John “Fawce” Fawcett, Founder and CEO of Quantopian
 
Introduction to Neural Networks in Tensorflow
Introduction to Neural Networks in TensorflowIntroduction to Neural Networks in Tensorflow
Introduction to Neural Networks in Tensorflow
 

Ähnlich wie A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016

Predict oscars (4:17)
Predict oscars (4:17)Predict oscars (4:17)
Predict oscars (4:17)
Thinkful
 
Achieving Growth: 3 Keys to Accelerating Adoption of Your Cloud Services
Achieving Growth: 3 Keys to Accelerating Adoption of Your Cloud ServicesAchieving Growth: 3 Keys to Accelerating Adoption of Your Cloud Services
Achieving Growth: 3 Keys to Accelerating Adoption of Your Cloud Services
SalesChannel International
 

Ähnlich wie A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016 (20)

Mini datathon - Bengaluru
Mini datathon - BengaluruMini datathon - Bengaluru
Mini datathon - Bengaluru
 
How to Use Machine Learning as a Product Manager by Wework PM
 How to Use Machine Learning as a Product Manager by Wework PM How to Use Machine Learning as a Product Manager by Wework PM
How to Use Machine Learning as a Product Manager by Wework PM
 
Sales Onboarding SMM Webinar - Mike Kunkle/Brainshark 2016
Sales Onboarding SMM Webinar - Mike Kunkle/Brainshark 2016Sales Onboarding SMM Webinar - Mike Kunkle/Brainshark 2016
Sales Onboarding SMM Webinar - Mike Kunkle/Brainshark 2016
 
Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...
Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...
Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...
 
Barga Data Science lecture 2
Barga Data Science lecture 2Barga Data Science lecture 2
Barga Data Science lecture 2
 
Mastering the 80% of Analytics: What Data Scientists Really Do
Mastering the 80% of Analytics: What Data Scientists Really DoMastering the 80% of Analytics: What Data Scientists Really Do
Mastering the 80% of Analytics: What Data Scientists Really Do
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Successful Outsourced QA Knowledge Transfer
Successful Outsourced QA Knowledge TransferSuccessful Outsourced QA Knowledge Transfer
Successful Outsourced QA Knowledge Transfer
 
Selling Text Analytics to your boss
Selling Text Analytics to your bossSelling Text Analytics to your boss
Selling Text Analytics to your boss
 
Wheelhouse 360 Degree Operational Systems Development
Wheelhouse 360 Degree Operational Systems DevelopmentWheelhouse 360 Degree Operational Systems Development
Wheelhouse 360 Degree Operational Systems Development
 
Introduction To VEVA
Introduction To VEVAIntroduction To VEVA
Introduction To VEVA
 
Predict oscars (4:17)
Predict oscars (4:17)Predict oscars (4:17)
Predict oscars (4:17)
 
Business intelligence prof nikhat fatma mumtaz husain shaikh
Business intelligence  prof nikhat fatma mumtaz husain shaikhBusiness intelligence  prof nikhat fatma mumtaz husain shaikh
Business intelligence prof nikhat fatma mumtaz husain shaikh
 
User Testing: Adapt to Fit Your Needs
User Testing: Adapt to Fit Your NeedsUser Testing: Adapt to Fit Your Needs
User Testing: Adapt to Fit Your Needs
 
Cox Automotive: Testing Across Multiple Brands
Cox Automotive: Testing Across Multiple BrandsCox Automotive: Testing Across Multiple Brands
Cox Automotive: Testing Across Multiple Brands
 
The Costs Associated with an Open Source LMS
The Costs Associated with an Open Source LMSThe Costs Associated with an Open Source LMS
The Costs Associated with an Open Source LMS
 
Introduction To VEVA
Introduction To VEVAIntroduction To VEVA
Introduction To VEVA
 
Career in Data Using Tableau
Career in Data Using TableauCareer in Data Using Tableau
Career in Data Using Tableau
 
CORPORATE UNIVERSITY INFRASTRUCTURE for SUCCESS
CORPORATE UNIVERSITY INFRASTRUCTURE for SUCCESSCORPORATE UNIVERSITY INFRASTRUCTURE for SUCCESS
CORPORATE UNIVERSITY INFRASTRUCTURE for SUCCESS
 
Achieving Growth: 3 Keys to Accelerating Adoption of Your Cloud Services
Achieving Growth: 3 Keys to Accelerating Adoption of Your Cloud ServicesAchieving Growth: 3 Keys to Accelerating Adoption of Your Cloud Services
Achieving Growth: 3 Keys to Accelerating Adoption of Your Cloud Services
 

Mehr von Quantopian

"From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red..."From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red...
Quantopian
 

Mehr von Quantopian (20)

Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
Stauth common pitfalls_stock_market_modeling_pqtc_fall2018
 
Tearsheet feedback webinar 10.10.18
Tearsheet feedback webinar 10.10.18Tearsheet feedback webinar 10.10.18
Tearsheet feedback webinar 10.10.18
 
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,..."Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
"Three Dimensional Time: Working with Alternative Data" by Kathryn Glowinski,...
 
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese..."Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
"Supply Chain Earnings Diffusion" by Josh Holcroft, Head of Quantitative Rese...
 
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
“Real Time Machine Learning Architecture and Sentiment Analysis Applied to Fi...
 
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
“Market Insights Through the Lens of a Risk Model” by Olivier d'Assier, Head ...
 
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin..."Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
"Maximize Alpha with Systematic Factor Testing" by Cheng Peng, Software Engin...
 
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo..."Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
"Deep Reinforcement Learning for Optimal Order Placement in a Limit Order Boo...
 
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes..."Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
"Making the Grade: A Look Inside the Algorithm Evaluation Process" by Dr. Jes...
 
"Building Diversified Portfolios that Outperform Out-of-Sample" by Dr. Marcos...
"Building Diversified Portfolios that Outperform Out-of-Sample" by Dr. Marcos..."Building Diversified Portfolios that Outperform Out-of-Sample" by Dr. Marcos...
"Building Diversified Portfolios that Outperform Out-of-Sample" by Dr. Marcos...
 
"From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red..."From Insufficient Economic data to Economic Big Data – How Trade Data is red...
"From Insufficient Economic data to Economic Big Data – How Trade Data is red...
 
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael..."Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
"Machine Learning Approaches to Regime-aware Portfolio Management" by Michael...
 
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ..."Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
"Don't Lose Your Shirt Trading Mean-Reversion" by Edith Mandel, Principal at ...
 
"Quantum Hierarchical Risk Parity - A Quantum-Inspired Approach to Portfolio ...
"Quantum Hierarchical Risk Parity - A Quantum-Inspired Approach to Portfolio ..."Quantum Hierarchical Risk Parity - A Quantum-Inspired Approach to Portfolio ...
"Quantum Hierarchical Risk Parity - A Quantum-Inspired Approach to Portfolio ...
 
"Snake Oil, Swamp Land, and Factor-Based Investing" by Gary Antonacci, author...
"Snake Oil, Swamp Land, and Factor-Based Investing" by Gary Antonacci, author..."Snake Oil, Swamp Land, and Factor-Based Investing" by Gary Antonacci, author...
"Snake Oil, Swamp Land, and Factor-Based Investing" by Gary Antonacci, author...
 
"From Trading Strategy to Becoming an Industry Professional – How to Break in...
"From Trading Strategy to Becoming an Industry Professional – How to Break in..."From Trading Strategy to Becoming an Industry Professional – How to Break in...
"From Trading Strategy to Becoming an Industry Professional – How to Break in...
 
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin..."Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
"Enhancing Statistical Significance of Backtests" by Dr. Ernest Chan, Managin...
 
"Bayesian Deep Learning: Dealing with Uncertainty and Non-Stationarity" by Dr...
"Bayesian Deep Learning: Dealing with Uncertainty and Non-Stationarity" by Dr..."Bayesian Deep Learning: Dealing with Uncertainty and Non-Stationarity" by Dr...
"Bayesian Deep Learning: Dealing with Uncertainty and Non-Stationarity" by Dr...
 
"On the Bayesian Interpretation of Black–Litterman" by Dr. Gordon Ritter, Sen...
"On the Bayesian Interpretation of Black–Litterman" by Dr. Gordon Ritter, Sen..."On the Bayesian Interpretation of Black–Litterman" by Dr. Gordon Ritter, Sen...
"On the Bayesian Interpretation of Black–Litterman" by Dr. Gordon Ritter, Sen...
 
"Correlated Volatility Shocks" by Dr. Xiao Qiao, Researcher at SummerHaven In...
"Correlated Volatility Shocks" by Dr. Xiao Qiao, Researcher at SummerHaven In..."Correlated Volatility Shocks" by Dr. Xiao Qiao, Researcher at SummerHaven In...
"Correlated Volatility Shocks" by Dr. Xiao Qiao, Researcher at SummerHaven In...
 

Kürzlich hochgeladen

VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
priyasharma62062
 
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
roshnidevijkn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
dipikadinghjn ( Why You Choose Us? ) Escorts
 

Kürzlich hochgeladen (20)

VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
 
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...Top Rated  Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
Top Rated Pune Call Girls Viman Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Sex...
 
Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...
Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...
Vasai-Virar High Profile Model Call Girls📞9833754194-Nalasopara Satisfy Call ...
 
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-📞📞9833754194 No 1 Vipp HIgh...
 
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
VIP Kalyan Call Girls 🌐 9920725232 🌐 Make Your Dreams Come True With Mumbai E...
 
Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...
 
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
 
Webinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech BelgiumWebinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech Belgium
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
 
Top Rated Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunities
 
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdf
 
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road 💧 9920725232 ( Call Me ) Get A New Crush Everyday ...
 
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
Kopar Khairane Russian Call Girls Number-9833754194-Navi Mumbai Fantastic Unl...
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
 
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
 
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Koregaon Park Call Me 7737669865 Budget Friendly No Advance Booking
 

A Guided Tour of Machine Learning for Traders by Tucker Balch at QuantCon 2016

  • 1. A GUIDED TOUR OF MACHINE LEARNING FOR TRADERS TUCKER BALCH, PH.D. PROFESSOR, GEORGIA TECH CO-FOUNDER AND CTO, LUCENA RESEARCH
  • 2. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. WHO THIS IS FOR People who are… •  familiar with quantitative techniques •  interested to know what’s under the “hood” with ML techniques. •  No Machine Learning knowledge assumed.
  • 3. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. ABOUT THE SPEAKER •  Professor of Interactive Computing at Georgia Institute of Technology. •  Teach courses in Artificial Intelligence and Finance. •  Teach MOOCs on Machine Learning for Trading •  Published over 120 research publications related to Robotics and Machine Learning. •  Co-founder of Lucena Research.
  • 4. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. ABOUT MY COURSE
  • 5. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. ABOUT LUCENA RESEARCH •  Fin-tech company who employ experts in Computational Finance, Quantitative Analysis, and Software Development. •  We deliver investment decision support technology to hedge funds and wealth managers: •  Price forecasting •  Hedging •  ML-based stock screening •  Model portfolios •  Python-based infrastructure. •  http://lucenaresearch.com
  • 6. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. TALK OVERVIEW •  Machine Learning: Big Picture •  Decision Trees: Classification •  Decision Trees: Regression •  Decision Trees Example: Sentiment-based strategy •  kNN: Classification •  kNN: Regression •  Reinforcement Learning
  • 7. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. THE BIG PICTURE “Machine Learning” goes by many names: •  Machine Learning •  Big Data •  Predictive Analytics Focus: Supervised Learning •  Start with examples: Factor values & outcomes •  Build model from examples •  Use model to predict outcomes
  • 8. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. HOW TO BUILD A PREDICTIVE MODEL Factors (X1, X2, … XN) Predict outcome: Y
  • 9. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. HOW TO BUILD A PREDICTIVE MODEL Factors (X1, X2, … XN) Predict outcome: Y Classification: One of several outcomes Regression: Numerical outcome
  • 10. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. HOW TO BUILD A PREDICTIVE MODEL Factors (X1, X2, … XN) Predict outcome: Y Classification: One of several outcomes Regression: Numerical outcome Lots of methods solve same problem •  kNN •  Decision Trees •  Support Vector Machines (SVM) •  Artificial Neural Networks (ANN) •  Deep Learning
  • 11. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. WHO SHOULD I VOTE FOR?
  • 12. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. PREDICT VOTING BEHAVIOR Factors: •  Do you believe the country is “broken”? •  If so, what caused the country to become broken? •  Where do you stand on a woman’s right to chose? •  What are your religious views? Outcomes: •  Trump •  Clinton •  Cruz •  Sanders •  Kasich
  • 13. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. PREDICT VOTING BEHAVIOR Model: Decision Tree
  • 14. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. PREDICT STOCK BEHAVIOR Model: Decision Tree
  • 15. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. TREES ALSO WORK FOR REGRESSION Model: Decision Tree
  • 16. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. LOTS OF TREES = FOREST
  • 17. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. HOW TO BUILD A TREE •  Gather data <X1, X2, X3, Y> •  Find most predictive factor Xi of Y •  Find threshold Ti that splits data most effectively •  Decision node: Xi < Ti? •  Left tree: Xi < Ti •  Right tree: Xi >= Ti •  Recurse until only one data item left: Leaf
  • 18. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. DECISION TREES RECAP •  A decision tree is a flow chart of yes/no questions •  When you reach a leaf, that is your prediction •  Can be used for classification or regression •  Training: •  find most predictive factor •  split data based on that factor •  Recurse •  Query: •  Follow path through decision nodes until leaf •  Forest: An ensemble learner with multiple trees •  Training: Build trees with sampled data •  Query: Query each tree: Vote, or average to find result •  Less susceptible to overfitting
  • 19. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. USING DECISION TREES FOR STOCK SCANS •  CHECKMATE: Trading strategy developed by Lucena Research, Inc. in partnership with PsychSignal.com •  Classification-based strategy •  Separate scans for long and short positions •  Factors: •  PyschSignal: Sentiment data: stocktwits, twitter analysis •  Lucena: 400+ technical & fundamental factors per stock •  Outcomes: Up/Down/Neutral
  • 20. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. BACKTEST OF LONG SCAN Backtest simulation performance from QuantDesk® – Past performance is no guarantee of future results. In-sample training period: 2011.
  • 21. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. BACKTEST OF SHORT SCAN Backtest simulation performance from QuantDesk® – Past performance is no guarantee of future results. In-sample training period: 2011.
  • 22. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. BACKTEST OF LONG & SHORT COMBINED Backtest simulation performance from QuantDesk® – Past performance is no guarantee of future results. In-sample training period: 2011.
  • 23. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. FORWARD TESTING SINCE NOV 2015 Forward testing performance – Past performance is no guarantee of future results. In-sample training period: 2011.
  • 24. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. K NEAREST NEIGHBOR •  Solves the same problem as decision trees •  Train: Save data •  Query: Find k nearest neighbors, vote or take mean
  • 25. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. K NEAREST NEIGHBOR
  • 26. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. TRADE OFFS KNN •  Classification or regression •  Training is fast •  Query is slow •  Requires data normalization •  Susceptible to overfitting •  Larger K •  Ensemble •  Must discover features •  You must map to strategy Decision Trees •  Classification or regression •  Training is slow •  Query is fast •  No data normalization •  Susceptible to overfitting •  Larger leafsize •  Ensemble (forest) •  Auto feature discovery •  You must map to strategy
  • 27. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. REINFORCEMENT LEARNING Solves a different problem: •  Find a policy π that tells us which action a to take in every situation s. •  a = π(s) •  π*(s) is the optimal policy Nomenclature •  s: state •  r: reward for last action •  a: action •  T: transition matrix (which state is next) •  π: the policy
  • 28. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. REINFORCEMENT LEARNING For trading problem: •  s: factors/features describing a stock’s “situation” •  r: return •  a: buy, sell, do nothing Algorithms: •  Model-based: •  Policy iteration •  Value iteration •  Model-free •  Q-learning •  Dyna-Q
  • 29. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. REINFORCEMENT LEARNING Advantages: •  Maps well to finance problems •  Provides entire strategy including entry and exit conditions •  Policy accounts for whether to enter based on probability of success
  • 30. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. REVIEW •  Decision Trees •  Classification •  Regression •  kNN •  Classification •  Regression •  Reinforcement learning •  Finds a policy
  • 31. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. THANK YOU To learn about my company: •  www.lucenaresearch.com To learn about my course: •  Google “Balch Udacity”
  • 32. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. OVERFITTING Description: An overfit model is one that models in-sample data very well. It predicts the data so well that it is likely modeling noise.
  • 33. A Guided Tour of Machine Learning for Traders Tucker Balch, Ph.D. OVERFITTING Description: An overfit model is one that models in-sample data very well. It predicts the data so well that it is likely modeling noise. As the degrees of freedom of the model increase, overfitting occurs when in-sample prediction error decreases and out- of-sample prediction error increases.