Book Image

Mastering Predictive Analytics with Python

By : Joseph Babcock
Book Image

Mastering Predictive Analytics with Python

By: Joseph Babcock

Overview of this book

The volume, diversity, and speed of data available has never been greater. Powerful machine learning methods can unlock the value in this information by finding complex relationships and unanticipated trends. Using the Python programming language, analysts can use these sophisticated methods to build scalable analytic applications to deliver insights that are of tremendous value to their organizations. In Mastering Predictive Analytics with Python, you will learn the process of turning raw data into powerful insights. Through case studies and code examples using popular open-source Python libraries, this book illustrates the complete development process for analytic applications and how to quickly apply these methods to your own data to create robust and scalable prediction services. Covering a wide range of algorithms for classification, regression, clustering, as well as cutting-edge techniques such as deep learning, this book illustrates not only how these methods work, but how to implement them in practice. You will learn to choose the right approach for your problem and how to develop engaging visualizations to bring the insights of predictive modeling to life
Table of Contents (16 chapters)
Mastering Predictive Analytics with Python
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 3. Finding Patterns in the Noise – Clustering and Unsupervised Learning

One of the natural questions to ask about a dataset is if it contains groups. For example, if we examine financial market data consisting of stock price fluctuations over time, are there groups of stocks that fall and rise with a similar pattern? Similarly, for a set of customer transactions from an e-commerce business we might ask if are there groups of user accounts distinguished by patterns of similar purchasing activity? By identifying groups of related items using the methods described in this chapter, we can understand data as a set of general patterns rather than just individual points. These patterns can help in making high-level summaries at the outset of a predictive modeling project, or as an ongoing way to report on the shape of the data we are modeling. The groupings produced can serve as insights themselves, or they can provide starting points for the models we will cover in later chapters. For...