Search icon
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
Predictive Analytics Using Rattle and Qlik Sense

You're reading from  Predictive Analytics Using Rattle and Qlik Sense

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781784395803
Pages 242 pages
Edition 1st Edition
Languages
Authors (2):
Ferran Garcia Pagans Ferran Garcia Pagans
Profile icon Ferran Garcia Pagans
Fernando G Pagans Fernando G Pagans
Profile icon Fernando G Pagans
View More author details

Table of Contents (16) Chapters

Predictive Analytics Using Rattle and Qlik Sense
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Ready with Predictive Analytics 2. Preparing Your Data 3. Exploring and Understanding Your Data 4. Creating Your First Qlik Sense Application 5. Clustering and Other Unsupervised Learning Methods 6. Decision Trees and Other Supervised Learning Methods 7. Model Evaluation 8. Visualizations, Data Applications, Dashboards, and Data Storytelling 9. Developing a Complete Application Index

Cross-validation


Cross-validation is a very useful technique to evaluate the performance of a supervised method. We will randomly split our dataset into k sub-datasets called folds (usually, 5 to 10). We will choose a fold for testing and keep the rest for training. We will train the model using the other k-1 folds and test it with a fold. We will repeat this process of training and testing k times, each time keeping a different folder for testing.

In each iteration, we will create a model and obtain a performance measure such as accuracy. When we've finished, we have k measures of performance, and we can obtain the performance of the modeling technique by calculating the average.

Using Rattle, we can split the original dataset into training, validation, and testing. Some R packages implement cross-validation when creating the model. If the model we are creating, uses cross-validation, we can skip the creation of the validation dataset and only create the training and testing datasets.

When...

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 $15.99/month. Cancel anytime}