Book Image

Predictive Analytics with TensorFlow

By : Md. Rezaul Karim
Book Image

Predictive Analytics with TensorFlow

By: Md. Rezaul Karim

Overview of this book

<p>Predictive analytics discovers hidden patterns from structured and unstructured data for automated decision-making in business intelligence.</p> <p>This book will help you build, tune, and deploy predictive models with TensorFlow in three main sections. The first section covers linear algebra, statistics, and probability theory for predictive modeling.</p> <p>The second section covers developing predictive models via supervised (classification and regression) and unsupervised (clustering) algorithms. It then explains how to develop predictive models for NLP and covers reinforcement learning algorithms. Lastly, this section covers developing a factorization machines-based recommendation system.</p> <p>The third section covers deep learning architectures for advanced predictive analytics, including deep neural networks and recurrent neural networks for high-dimensional and sequence data. Finally, convolutional neural networks are used for predictive modeling for emotion recognition, image classification, and sentiment analysis.</p>
Table of Contents (20 chapters)
Predictive Analytics with TensorFlow
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
Index

Using deep belief networks for predictive analytics


In the previous example on the bank marketing dataset, we observed about 89% classification accuracy using MLP. We also normalized the original dataset before feeding it to the MLP.

In this section, we will see how to use the same datasets for the DBN-based predictive model. We will use the customized and extended version of DBN implantation called deep-belief-network that can be downloaded from GitHub at https://github.com/albertbup/deep-belief-network. The deep-belief-network is a simple, clean, fast Python implementation of deep belief networks based on binary Restricted Boltzmann Machines (RBM), built upon NumPy and TensorFlow libraries in order to take advantage of GPU computation. This library is implemented based on the following two research papers:

  • Hinton, Geoffrey E., Simon Osindero, and Yee-Whye Teh. A fast learning algorithm for deep belief nets Neural Computation 18.7 (2006): 1527-1554.

  • Fischer, Asja, and Christian Igel. Training...