Book Image

Analytics for the Internet of Things (IoT)

By : Andrew Minteer
5 (1)
Book Image

Analytics for the Internet of Things (IoT)

5 (1)
By: Andrew Minteer

Overview of this book

We start with the perplexing task of extracting value from huge amounts of barely intelligible data. The data takes a convoluted route just to be on the servers for analysis, but insights can emerge through visualization and statistical modeling techniques. You will learn to extract value from IoT big data using multiple analytic techniques. Next we review how IoT devices generate data and how the information travels over networks. You’ll get to know strategies to collect and store the data to optimize the potential for analytics, and strategies to handle data quality concerns. Cloud resources are a great match for IoT analytics, so Amazon Web Services, Microsoft Azure, and PTC ThingWorx are reviewed in detail next. Geospatial analytics is then introduced as a way to leverage location information. Combining IoT data with environmental data is also discussed as a way to enhance predictive capability. We’ll also review the economics of IoT analytics and you’ll discover ways to optimize business value. By the end of the book, you’ll know how to handle scale for both data storage and analytics, how Apache Spark can be leveraged to handle scalability, and how R and Python can be used for analytic modeling.
Table of Contents (20 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Anomaly detection using R


Anomaly detection is a way to use historical data to identify unusual observations without requiring a labeled training set. Modern anomaly detection methods take into account long-term trends and cyclical variation in the data while determining which observations to flag as anomalies.

Twitter has recently released an advanced open source anomaly detection package for R called AnomalyDetection. It is geared toward detecting anomalies in single value high frequency (less than a day) time series data; however, it is possible to set an option to handle datasets longer than a month. It can also be used on a vector of non-time series data.

It is good at handling the effects of trends and seasonality - although seasonality, in this case, is at the minutes to days level not yearly. The GitHub page is located here (https://github.com/twitter/AnomalyDetection), and it can be installed easily as an R package using the following R code. Make sure to spell Anomaly with a capital...