Book Image

Smarter Decisions - The Intersection of Internet of Things and Decision Science

By : Jojo Moolayil
Book Image

Smarter Decisions - The Intersection of Internet of Things and Decision Science

By: Jojo Moolayil

Overview of this book

With an increasing number of devices getting connected to the Internet, massive amounts of data are being generated that can be used for analysis. This book helps you to understand Internet of Things in depth and decision science, and solve business use cases. With IoT, the frequency and impact of the problem is huge. Addressing a problem with such a huge impact requires a very structured approach. The entire journey of addressing the problem by defining it, designing the solution, and executing it using decision science is articulated in this book through engaging and easy-to-understand business use cases. You will get a detailed understanding of IoT, decision science, and the art of solving a business problem in IoT through decision science. By the end of this book, you’ll have an understanding of the complex aspects of decision making in IoT and will be able to take that knowledge with you onto whatever project calls for it
Table of Contents (15 chapters)
Smarter Decisions – The Intersection of Internet of Things and Decision Science
Credits
About the Author
About the Reviewer
eBooks, discount offers, and more
Preface

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...