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

Convolutional operations


A convolution is a mathematical operation that slides one function over another and measures the integral of their pointwise multiplication. It has deep connections with the Fourier transform and the Laplace transform and is heavily used in signal processing. Convolutional layers actually use cross-correlations, which are very similar to convolutions.

Thus, the most important building block of a CNN is the convolutional layer: neurons in the first convolutional layer are not connected to every single pixel in the input image (like they were in previous chapters), but only to pixels in their receptive fields – see figure 3. In turn, each neuron in the second convolutional layer is connected only to neurons located within a small rectangle in the first layer:

Figure 3: CNN layers with rectangular local receptive fields

This architecture allows the network to concentrate on low-level features in the first hidden layer, then assemble them into higher-level features in the...