Book Image

Hands-On Predictive Analytics with Python

By : Alvaro Fuentes
Book Image

Hands-On Predictive Analytics with Python

By: Alvaro Fuentes

Overview of this book

Predictive analytics is an applied field that employs a variety of quantitative methods using data to make predictions. It involves much more than just throwing data onto a computer to build a model. This book provides practical coverage to help you understand the most important concepts of predictive analytics. Using practical, step-by-step examples, we build predictive analytics solutions while using cutting-edge Python tools and packages. The book's step-by-step approach starts by defining the problem and moves on to identifying relevant data. We will also be performing data preparation, exploring and visualizing relationships, building models, tuning, evaluating, and deploying model. Each stage has relevant practical examples and efficient Python code. You will work with models such as KNN, Random Forests, and neural networks using the most important libraries in Python's data science stack: NumPy, Pandas, Matplotlib, Seaborn, Keras, Dash, and so on. In addition to hands-on code examples, you will find intuitive explanations of the inner workings of the main techniques and algorithms used in predictive analytics. By the end of this book, you will be all set to build high-performance predictive analytics solutions using Python programming.
Table of Contents (11 chapters)

What this book covers

Chapter 1, The Predictive Analytics Process, presents the foundational concepts of the field, explains at a high level the different stages in the predictive analytics process, and gives an overview of the libraries we will use in the book.

Chapter 2, Problem Understanding and Data Preparation, introduces the problems and datasets we will be using throughout the book and shows the basics of how to collect and prepare a dataset for modeling.

Chapter 3, Dataset Understanding – Exploratory Data Analysis, shows how to get important information from a dataset using visualizations and other numerical techniques.

Chapter 4, Predicting Numerical Values with Machine Learning, introduces the main ideas and concepts of machine learning and some of the most popular regression models.

Chapter 5, Predicting Categories with Machine Learning, introduces some of the most important classification machine learning models.

Chapter 6, Introducing Neural Nets for Predictive Analytics, shows how to build neural network models. These have become very popular because they are very powerful and are capable of producing highly accurate models.

Chapter 7, Model Evaluation, shows the main metrics and approaches you need to evaluate how good the predictions produced by a predictive model are.

Chapter 8, Model Tuning and Improving Performance, presents important techniques such as K-fold cross-validation that will improve the performance of our predictive model.

Chapter 9, Implementing a Model with Dash, shows how to build an interactive web application that will take input from the user and will use a trained predictive model to provide predictions.