Skip to Content
Machine Learning for Finance
book

Machine Learning for Finance

by James Le, Jannes Klaas
May 2019
Intermediate to advanced
456 pages
11h 38m
English
Packt Publishing
Content preview from Machine Learning for Finance

Exercises

Now that we're at the end of the chapter, let's see what we've learned. To finish this chapter, I've included three exercises that will challenge you based on what we've covered in this chapter:

  1. Add an extra layer to the encoder of the translation model. The translation model might work better if it had a bit more capacity to learn the structure of French sentences. Adding one more LSTM layer will be a good exercise to learn about the functional API.
  2. Add attention to the encoder of the translation model. Attention will allow the model to focus on the (English) words that really matter for translation. It is best to use attention as the last layer. This task is a bit harder than the previous one, but you will understand the inner workings ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Machine Learning for Finance

Machine Learning for Finance

Aryan Singh
Machine Learning and Data Science Blueprints for Finance

Machine Learning and Data Science Blueprints for Finance

Hariom Tatsat, Sahil Puri, Brad Lookabaugh

Publisher Resources

ISBN: 9781789136364Supplemental Content