Book Image

Predictive Analytics Using Rattle and Qlik Sense

By : Ferran Garcia Pagans, Fernando G Pagans
Book Image

Predictive Analytics Using Rattle and Qlik Sense

By: Ferran Garcia Pagans, Fernando G Pagans

Overview of this book

Table of Contents (16 chapters)
Predictive Analytics Using Rattle and Qlik Sense
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
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...