Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Predictive Analytics using Rattle and Qlik Sense

You're reading from   Predictive Analytics using Rattle and Qlik Sense Create comprehensive solutions for predictive analysis using Rattle and share them with Qlik Sense

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781784395803
Length 242 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ferran Garcia Pagans Ferran Garcia Pagans
Author Profile Icon Ferran Garcia Pagans
Ferran Garcia Pagans
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Ready with Predictive Analytics FREE CHAPTER 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

Using Rattle to forecast the demand


In this section, we'll use Rattle for a quick correlation analysis and to create a model to forecast the bike demand.

Correlation Analysis with Rattle

Our dataset has three possible target variables: cnt, registered, and casual. Rattle doesn't handle multiple targets. We can create a model for registered and a second model for casual and add both values to have the total number of users, or we can build a model for cnt (the total amount). We will only create a model for cnt because we're interested in the level of activity and this variable will provide it.

Load the dataset into Rattle and set instant to Ident and dteday, registered and casual to Ignore, and set the rest of variables to Input.

To perform the correlation analysis, go to the Explore tab, select the Correlation radio button and, finally, press the Execute button, as shown in this screenshot:

Rattle will return us a correlation matrix and a correlation plot. The correlation matrix is a matrix that...

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 $19.99/month. Cancel anytime
Banner background image