Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Practical Machine Learning Cookbook

You're reading from  Practical Machine Learning Cookbook

Product type Book
Published in Apr 2017
Publisher Packt
ISBN-13 9781785280511
Pages 570 pages
Edition 1st Edition
Languages
Author (1):
Atul Tripathi Atul Tripathi
Profile icon Atul Tripathi

Table of Contents (21) Chapters

Practical Machine Learning Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Introduction to Machine Learning 2. Classification 3. Clustering 4. Model Selection and Regularization 5. Nonlinearity 6. Supervised Learning 7. Unsupervised Learning 8. Reinforcement Learning 9. Structured Prediction 10. Neural Networks 11. Deep Learning 12. Case Study - Exploring World Bank Data 13. Case Study - Pricing Reinsurance Contracts 14. Case Study - Forecast of Electricity Consumption

Decision tree learning - predicting the direction of stock movement


Stock trading is one of the most challenging problems statisticians are trying to solve. There are multiple technical indicators, such as trend direction, momentum or lack of momentum in the market, volatility for profit potential, and volume measures to monitor the popularity in the market, to name a few. These indicators can be used to create strategy to high-probability trading opportunities. Days/weeks/months can be spent discovering the relationships between technical indicators. An efficient and less time-consuming tool, such as a decision tree, can be used. The main advantage of a decision tree is that it is a powerful and easily interpretable algorithm, which gives a good head start.

Getting ready

In order to perform decision tree classification, we will be using a dataset collected from the stock markets dataset.

Step 1 - collecting and describing the data

The dataset to be used is the Bank of America's daily closing...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}