
Training Systems Using Python Statistical Modeling
Explore popular techniques for modeling your data in Python
- 290 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Training Systems Using Python Statistical Modeling
Explore popular techniques for modeling your data in Python
About this book
Leverage the power of Python and statistical modeling techniques for building accurate predictive models
Key Features
- Get introduced to Python's rich suite of libraries for statistical modeling
- Implement regression, clustering and train neural networks from scratch
- Includes real-world examples on training end-to-end machine learning systems in Python
Book Description
Python's ease of use and multi-purpose nature has led it to become the choice of tool for many data scientists and machine learning developers today. Its rich libraries are widely used for data analysis, and more importantly, for building state-of-the-art predictive models. This book takes you through an exciting journey, of using these libraries to implement effective statistical models for predictive analytics.
You'll start by diving into classical statistical analysis, where you will learn to compute descriptive statistics using pandas. You will look at supervised learning, where you will explore the principles of machine learning and train different machine learning models from scratch. You will also work with binary prediction models, such as data classification using k-nearest neighbors, decision trees, and random forests. This book also covers algorithms for regression analysis, such as ridge and lasso regression, and their implementation in Python. You will also learn how neural networks can be trained and deployed for more accurate predictions, and which Python libraries can be used to implement them.
By the end of this book, you will have all the knowledge you need to design, build, and deploy enterprise-grade statistical models for machine learning using Python and its rich ecosystem of libraries for predictive analytics.
What you will learn
- Understand the importance of statistical modeling
- Learn about the various Python packages for statistical analysis
- Implement algorithms such as Naive Bayes, random forests, and more
- Build predictive models from scratch using Python's scikit-learn library
- Implement regression analysis and clustering
- Learn how to train a neural network in Python
Who this book is for
If you are a data scientist, a statistician or a machine learning developer looking to train and deploy effective machine learning models using popular statistical techniques, then this book is for you. Knowledge of Python programming is required to get the most out of this 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
Binary Prediction Models
- K-nearest neighbors classifier
- Decision trees
- Random forests
- Naive Bayes
- Support vector machines
- Logistic regression
- Extending beyond binary classifiers
K-nearest neighbors classifier
- The first thing we're going to do is load in the dataset and other required functions, as follows:

- Then, we will load in an object that contains the iris data and save that into Python objects:

- Then, we will divide the dataset into training and test data by using the following lines of code:



Training a kNN classifier
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Classical Statistical Analysis
- Introduction to Supervised Learning
- Binary Prediction Models
- Regression Analysis and How to Use It
- Neural Networks
- Clustering Techniques
- Dimensionality Reduction
- Other Books You May Enjoy