Book Image

Bayesian Analysis with Python

Book Image

Bayesian Analysis with Python

Overview of this book

The purpose of this book is to teach the main concepts of Bayesian data analysis. We will learn how to effectively use PyMC3, a Python library for probabilistic programming, to perform Bayesian parameter estimation, to check models and validate them. This book begins presenting the key concepts of the Bayesian framework and the main advantages of this approach from a practical point of view. Moving on, we will explore the power and flexibility of generalized linear models and how to adapt them to a wide array of problems, including regression and classification. We will also look into mixture models and clustering data, and we will finish with advanced topics like non-parametrics models and Gaussian processes. With the help of Python and PyMC3 you will learn to implement, check and expand Bayesian models to solve data analysis problems.
Table of Contents (15 chapters)
Bayesian Analysis with Python
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Kernel-based models


The study of kernel-based methods is a very productive and active area of research, with entire books dedicated to the subject. Their popularity relies on some interesting mathematical properties of kernels. For the sake of our current introduction to kernels, we are just going to say that we can use kernels as the basis of flexible non-linear models that also are relatively easy to compute. Two popular kernel-based methods are the support vector machine (SVM) and the Gaussian processes. The later is a probabilistic method and is the topic of this chapter while the former is a non-probabilistic method that we are not going to discuss it here, you can read more about it in the following books Python Data Science Handbook, Jake Vanderplas and Python Machine Learning, Sebastian Raschka. Before discussing Gaussian Processes, let's explore what kernels are and how we can use them.

You may find more than one definition of kernel in the statistical literature, and according to...