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
Newsletter Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Smarter Decisions - The Intersection of Internet of Things and Decision Science

You're reading from   Smarter Decisions - The Intersection of Internet of Things and Decision Science A comprehensive guide for solving IoT business problems using decision science

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781785884191
Length 392 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Jojo Moolayil Jojo Moolayil
Author Profile Icon Jojo Moolayil
Jojo Moolayil
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. IoT and Decision Science FREE CHAPTER 2. Studying the IoT Problem Universe and Designing a Use Case 3. The What and Why - Using Exploratory Decision Science for IoT 4. Experimenting Predictive Analytics for IoT 5. Enhancing Predictive Analytics with Machine Learning for IoT 6. Fast track Decision Science with IoT 7. Prescriptive Science and Decision Making 8. Disruptions in IoT 9. A Promising Future with IoT

Exploratory Data Analysis and Feature Engineering


We will now focus on diving deep into the data and performing exploratory data analysis. The following code downloads the data from my public Git repository and creates a data frame. We'll start by exploring the data at a high level:

>#Read Solar Panel IoT use case CSV data from public repository 
 
>url<-"https://github.com/jojo62000/Smarter_Decisions/raw/master/Chapter%206/Data/Final_SolarData.csv" 
 
>#Load the data into a dataframe 
>data<-read.csv(url) 
 
>#Check the dimensions of the dataframe 
>dim(data) 
[1] 119296     23 
 
>#Take a glimpse into each column of the dataframe 
>str(data) 
 
'data.frame':    119296 obs. of  23 variables: 
 $ location              : Factor w/ 1 level "Peru":  1 1 1 ... 
 $ date_time             : Factor w/ 119308 levels "2015-12-02 00:01:40",... 
 $ solarvoltage          : num  0 0 0 0 0...
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