VOOZH about

URL: https://www.coursera.org/learn/packt-python-machine-learning-by-example

⇱ Python Machine Learning By Example | Coursera


Python Machine Learning By Example

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Python Machine Learning By Example

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

3 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Apply machine learning best practices in data preparation and model development

  • Build and refine image classifiers using convolutional neural networks and transfer learning

  • Develop and tune neural networks with TensorFlow and PyTorch

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

April 2026

Assessments

15 assignments

Taught in English

There are 15 modules in this course

Machine learning is one of the most sought-after skills in today’s data-driven world, and this course provides the perfect balance between theory and application. You’ll explore how Python can be leveraged to build, evaluate, and deploy machine learning models effectively across various domains.

Through this course, you’ll gain hands-on experience with practical tools and techniques to improve your ability to design, train, and optimize predictive models. You’ll learn how to apply advanced methods in areas such as deep learning, computer vision, and natural language processing to achieve measurable, real-world outcomes. What sets this course apart is its focus on bridging theoretical foundations with practical, implementation-based exercises. You’ll work on real-world case studies using TensorFlow and PyTorch, ensuring that the skills you acquire are immediately applicable in professional settings. This course is ideal for data scientists, ML engineers, and Python developers aiming to strengthen their expertise in applied machine learning. A working knowledge of Python and basic data analysis concepts will help you get the most out of this course.

In this section, we explore foundational machine learning concepts, data preprocessing, and model combination techniques using Python, emphasizing practical applications and model accuracy.

What's included

2 videos12 readings1 assignment

2 videosTotal 2 minutes
  • Course Overview1 minute
  • Getting Started with Machine Learning and Python - Overview Video1 minute
12 readingsTotal 135 minutes
  • Introduction10 minutes
  • Machine Learning Applications10 minutes
  • A Brief History of the Development of Machine Learning Algorithms10 minutes
  • Overfitting10 minutes
  • The Bias-Variance Trade-Off10 minutes
  • Avoiding Overfitting with Cross-Validation10 minutes
  • Avoiding Overfitting with Regularization10 minutes
  • Data Preprocessing and Feature Engineering10 minutes
  • One-hot Encoding10 minutes
  • Combining Models15 minutes
  • Setting Up Python and Environments20 minutes
  • TensorFlow10 minutes
1 assignmentTotal 10 minutes
  • Introduction to Machine Learning Fundamentals10 minutes

In this section, we explore binary classification using Bayes to build a movie recommendation system, evaluate model performance, and apply cross-validation for refinement

What's included

1 video7 readings1 assignment

1 videoTotal 1 minute
  • Building a Movie Recommendation Engine with Naïve Bayes - Overview Video1 minute
7 readingsTotal 115 minutes
  • Introduction15 minutes
  • Exploring Naïve Bayes15 minutes
  • The Mechanics of Naïve Bayes20 minutes
  • Implementing Naïve Bayes from Scratch20 minutes
  • Building a Movie Recommender with Naïve Bayes15 minutes
  • Training a Naïve Bayes Model20 minutes
  • Tuning Models with Cross-Validation10 minutes
1 assignmentTotal 10 minutes
  • Movie Recommendation System Fundamentals10 minutes

In this section, we explore tree-based algorithms for predicting ad click-through rates, focusing on decision trees, random forests, and gradient-boosted trees with practical implementations using scikit-learn and XGBoost.

What's included

1 video5 readings1 assignment

1 videoTotal 1 minute
  • Predicting Online Ad Click-Through with Tree-Based Algorithms - Overview Video1 minute
5 readingsTotal 100 minutes
  • Introduction15 minutes
  • Gini Impurity20 minutes
  • Implementing a Decision Tree from Scratch20 minutes
  • Implementing a Decision Tree with Scikit-learn25 minutes
  • Ensembling Decision Trees Random Forests20 minutes
1 assignmentTotal 10 minutes
  • Tree-Based Algorithms in Ad Click Prediction10 minutes

In this section, we cover logistic regression, including encoding, training, regularization, and TensorFlow implementation for ad click prediction.

What's included

1 video8 readings1 assignment

1 videoTotal 1 minute
  • Predicting Online Ad Click-Through with Logistic Regression - Overview Video1 minute
8 readingsTotal 135 minutes
  • Introduction20 minutes
  • Jumping from the Logistic Function to Logistic Regression20 minutes
  • Training a Logistic Regression Model Using Gradient Descent20 minutes
  • Predicting Ad Click-Through with Logistic Regression Using Gradient Descent15 minutes
  • Training a Logistic Regression Model with Regularization20 minutes
  • Training on Large Datasets with Online Learning10 minutes
  • Handling Multiclass Classification15 minutes
  • Implementing Logistic Regression Using TensorFlow15 minutes
1 assignmentTotal 10 minutes
  • Logistic Regression and Feature Engineering Fundamentals10 minutes

In this section, we explore regression techniques for stock price prediction, focusing on feature engineering, linear regression, and model evaluation for data-driven financial decisions.

What's included

1 video7 readings1 assignment

1 videoTotal 1 minute
  • Predicting Stock Prices with Regression Algorithms - Overview Video1 minute
7 readingsTotal 120 minutes
  • Introduction15 minutes
  • Getting Started with Feature Engineering10 minutes
  • Acquiring Data and Generating Features15 minutes
  • How Does Linear Regression Work?20 minutes
  • Implementing Linear Regression with Scikit-learn20 minutes
  • Implementing Decision Tree Regression15 minutes
  • Implementing a Regression Forest25 minutes
1 assignmentTotal 10 minutes
  • Regression Techniques in Financial Forecasting10 minutes

In this section, we cover building and optimizing neural networks for stock price prediction using activation functions, dropout, and early stopping.

What's included

1 video6 readings1 assignment

1 videoTotal 1 minute
  • Predicting Stock Prices with Artificial Neural Networks - Overview Video1 minute
6 readingsTotal 115 minutes
  • Introduction20 minutes
  • Backpropagation15 minutes
  • Implementing Neural Networks from Scratch20 minutes
  • Implementing Neural Networks with PyTorch20 minutes
  • Early Stopping20 minutes
  • Fine-tuning the Neural Network20 minutes
1 assignmentTotal 10 minutes
  • Neural Networks in Financial Forecasting10 minutes

In this section, we explore text analysis techniques using NLP, focusing on preprocessing, visualizing newsgroups data with t-SNE, and applying unsupervised learning to unstructured data.

What's included

1 video10 readings1 assignment

1 videoTotal 1 minute
  • Mining the 20 Newsgroups Dataset with Text Analysis Techniques - Overview Video1 minute
10 readingsTotal 135 minutes
  • Introduction10 minutes
  • NLP Applications15 minutes
  • Corpora20 minutes
  • NER10 minutes
  • Getting the Newsgroups Data10 minutes
  • Exploring the Newsgroups Data10 minutes
  • Counting the Occurrence of Each Word Token15 minutes
  • Reducing Inflectional and Derivational Forms of Words10 minutes
  • t-SNE for Dimensionality Reduction15 minutes
  • Building Embedding Models Using Shallow Neural Networks20 minutes
1 assignmentTotal 10 minutes
  • Exploring Text Analysis with the 20 Newsgroups Dataset10 minutes

In this section, we explore clustering and topic modeling to uncover hidden structures in text data. Techniques like k-means and NMF/LDA reveal underlying themes and groupings for practical data analysis.

What's included

1 video7 readings1 assignment

1 videoTotal 1 minute
  • Discovering Underlying Topics in the Newsgroups Dataset with Clustering and Topic Modeling - Overview Video1 minute
7 readingsTotal 105 minutes
  • Introduction10 minutes
  • Getting Started with K-Means Clustering20 minutes
  • Implementing k-Means with scikit-learn20 minutes
  • Clustering Newsgroups Data Using K-Means15 minutes
  • Describing the Clusters Using GPT10 minutes
  • Discovering Underlying Topics in Newsgroups10 minutes
  • Topic Modeling Using LDA20 minutes
1 assignmentTotal 10 minutes
  • Exploring Text Data Analysis Techniques10 minutes

In this section, we explore SVM for face recognition, analyze hyperplane separation in high-dimensional data, and apply PCA to enhance image classification performance.

What's included

1 video5 readings1 assignment

1 videoTotal 1 minute
  • Recognizing Faces with Support Vector Machine - Overview Video1 minute
5 readingsTotal 105 minutes
  • Introduction20 minutes
  • Handling Outliers20 minutes
  • Multiclass Cases in Scikit-learn25 minutes
  • Choosing Between Linear and RBF Kernels20 minutes
  • Building an SVM-Based Image Classifier20 minutes
1 assignmentTotal 10 minutes
  • Exploring SVM Techniques and Applications10 minutes

In this section, we explore 21 machine learning best practices, focusing on data preparation, model selection, and continuous monitoring to ensure effective real-world implementations.

What's included

1 video8 readings1 assignment

1 videoTotal 1 minute
  • Machine Learning Best Practices - Overview Video1 minute
8 readingsTotal 120 minutes
  • Introduction10 minutes
  • Best Practice 4 Dealing with Missing Data20 minutes
  • Best practice 5 – Storing large-scale data10 minutes
  • Best Practice 10 Deciding Whether to Rescale Features15 minutes
  • TF and TF-IDF15 minutes
  • Best practices in the model training, evaluation, and selection stage15 minutes
  • Best Practice Reducing Overfitting15 minutes
  • Saving and Restoring Models Using Pickle20 minutes
1 assignmentTotal 10 minutes
  • Machine Learning Data Preparation Essentials10 minutes

In this section, we explore CNNs for clothing image classification, focusing on building blocks, model design, and data augmentation techniques to enhance performance.

What's included

1 video5 readings1 assignment

1 videoTotal 1 minute
  • Categorizing Images of Clothing with Convolutional Neural Networks - Overview Video1 minute
5 readingsTotal 105 minutes
  • Introduction10 minutes
  • The Pooling Layer25 minutes
  • Classifying Clothing Images with CNNs20 minutes
  • Fitting the CNN Model25 minutes
  • Rotation for Data Augmentation25 minutes
1 assignmentTotal 10 minutes
  • Exploring Convolutional Neural Networks for Clothing Image Classification10 minutes

In this section, we explore RNNs and LSTMs for sequence prediction, focusing on training models to handle time-dependent data and generate text with practical applications.

What's included

1 video7 readings1 assignment

1 videoTotal 1 minute
  • Making Predictions with Sequences Using Recurrent Neural Networks - Overview Video1 minute
7 readingsTotal 110 minutes
  • Introduction15 minutes
  • One-to-many RNNs20 minutes
  • Analyzing and Preprocessing the Data20 minutes
  • Building a Simple LSTM Network15 minutes
  • Revisiting Stock Price Forecasting with LSTM10 minutes
  • Writing Your Own War and Peace with RNNs20 minutes
  • Building and Training an RNN Text Generator10 minutes
1 assignmentTotal 10 minutes
  • Exploring Sequence Modeling with RNNs10 minutes

In this section, we explore Transformer models, focusing on self-attention mechanisms and their application in NLP tasks like sentiment analysis and text generation using BERT and GPT.

What's included

1 video7 readings1 assignment

1 videoTotal 1 minute
  • Advancing Language Understanding and Generation with the Transformer Models - Overview Video1 minute
7 readingsTotal 120 minutes
  • Introduction10 minutes
  • Attention Score Calculation and Embedding Vector Generation25 minutes
  • Multi-head Attention10 minutes
  • Positional Encoding20 minutes
  • Fine-tuning a Pre-trained BERT Model for Sentiment Analysis20 minutes
  • Using the Trainer API to Train Transformer Models15 minutes
  • Writing Your Own Version of War and Peace with GPT20 minutes
1 assignmentTotal 10 minutes
  • Exploring Transformer Architecture and Applications10 minutes

In this section, we cover CLIP for image and text retrieval, focusing on contrastive learning and zero-shot classification.

What's included

1 video7 readings1 assignment

1 videoTotal 1 minute
  • Building an Image Search Engine Using CLIP a Multimodal Approach - Overview Video1 minute
7 readingsTotal 110 minutes
  • Introduction15 minutes
  • Zero-shot Image Classification10 minutes
  • Getting Started with the Dataset20 minutes
  • Vision Encoder15 minutes
  • CLIP Model10 minutes
  • Obtaining Embeddings for Images and Text to Identify Matches25 minutes
  • Zero-shot Classification15 minutes
1 assignmentTotal 10 minutes
  • Multimodal Models in Image Search10 minutes

In this section, we cover decision-making in complex environments using reinforcement learning.

What's included

1 video8 readings1 assignment

1 videoTotal 1 minute
  • Making Decisions in Complex Environments with Reinforcement Learning - Overview Video1 minute
8 readingsTotal 150 minutes
  • Introduction20 minutes
  • Cumulative Rewards10 minutes
  • Simulating the FrozenLake Environment25 minutes
  • Solving FrozenLake with the Value Iteration Algorithm20 minutes
  • Solving FrozenLake with the Policy Iteration Algorithm20 minutes
  • Simulating the Blackjack Environment20 minutes
  • Performing On-Policy Monte Carlo Control15 minutes
  • Introducing the Q-Learning Algorithm20 minutes
1 assignmentTotal 10 minutes
  • Reinforcement Learning Fundamentals10 minutes

Instructor

Offered by

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,