Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Deep Learning with R

You're reading from   Hands-On Deep Learning with R A practical guide to designing, building, and improving neural network models using R

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781788996839
Length 330 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Rodger Devine Rodger Devine
Author Profile Icon Rodger Devine
Rodger Devine
Michael Pawlus Michael Pawlus
Author Profile Icon Michael Pawlus
Michael Pawlus
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Section 1: Deep Learning Basics
2. Machine Learning Basics FREE CHAPTER 3. Setting Up R for Deep Learning 4. Artificial Neural Networks 5. Section 2: Deep Learning Applications
6. CNNs for Image Recognition 7. Multilayer Perceptron for Signal Detection 8. Neural Collaborative Filtering Using Embeddings 9. Deep Learning for Natural Language Processing 10. Long Short-Term Memory Networks for Stock Forecasting 11. Generative Adversarial Networks for Faces 12. Section 3: Reinforcement Learning
13. Reinforcement Learning for Gaming 14. Deep Q-Learning for Maze Solving 15. Other Books You May Enjoy

Training a model on prepared data

Now that the data is ready, we will split it into train and test sets and run a simple model. The objective at this point is not to try to achieve the best performance, but rather to get some type of a benchmark result to use in the future as we try to improve our model.

Train and test data

When we build predictive models, we need to create two separate sets of data with the help of the following segments. One is used by the model to learn the task and the other is used to test how well the model learned the task. Here are the types of data that we will look at:

  • Train data: The segment of the data used to fit the model. The model has access to the explainer variables or independent variables...
You have been reading a chapter from
Hands-On Deep Learning with R
Published in: Apr 2020
Publisher: Packt
ISBN-13: 9781788996839
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 £16.99/month. Cancel anytime