
Hands-On Markov Models with Python
Implement probabilistic models for learning complex data sequences using the Python ecosystem
- 178 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Hands-On Markov Models with Python
Implement probabilistic models for learning complex data sequences using the Python ecosystem
About this book
Unleash the power of unsupervised machine learning in Hidden Markov Models using TensorFlow, pgmpy, and hmmlearn
Key Features
- Build a variety of Hidden Markov Models (HMM)
- Create and apply models to any sequence of data to analyze, predict, and extract valuable insights
- Use natural language processing (NLP) techniques and 2D-HMM model for image segmentation
Book Description
Hidden Markov Model (HMM) is a statistical model based on the Markov chain concept. Hands-On Markov Models with Python helps you get to grips with HMMs and different inference algorithms by working on real-world problems. The hands-on examples explored in the book help you simplify the process flow in machine learning by using Markov model concepts, thereby making it accessible to everyone.
Once you've covered the basic concepts of Markov chains, you'll get insights into Markov processes, models, and types with the help of practical examples. After grasping these fundamentals, you'll move on to learning about the different algorithms used in inferences and applying them in state and parameter inference. In addition to this, you'll explore the Bayesian approach of inference and learn how to apply it in HMMs.
In further chapters, you'll discover how to use HMMs in time series analysis and natural language processing (NLP) using Python. You'll also learn to apply HMM to image processing using 2D-HMM to segment images. Finally, you'll understand how to apply HMM for reinforcement learning (RL) with the help of Q-Learning, and use this technique for single-stock and multi-stock algorithmic trading.
By the end of this book, you will have grasped how to build your own Markov and hidden Markov models on complex datasets in order to apply them to projects.
What you will learn
- Explore a balance of both theoretical and practical aspects of HMM
- Implement HMMs using different datasets in Python using different packages
- Understand multiple inference algorithms and how to select the right algorithm to resolve your problems
- Develop a Bayesian approach to inference in HMMs
- Implement HMMs in finance, natural language processing (NLP), and image processing
- Determine the most likely sequence of hidden states in an HMM using the Viterbi algorithm
Who this book is for
Hands-On Markov Models with Python is for you if you are a data analyst, data scientist, or machine learning developer and want to enhance your machine learning knowledge and skills. This book will also help you build your own hidden Markov models by applying them to any sequence of data.
Basic knowledge of machine learning and the Python programming language is expected to get the most out of the book
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Introduction to the Markov Process
- Hidden Markov Models
- State Inference - Predicting the States
- Parameter Learning Using Maximum Likelihood
- Parameter Inference Using the Bayesian Approach
- Time Series Predicting
- Natural Language Processing
- 2D HMM for Image Processing
- Markov Decision Process
- Other Books You May Enjoy