
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Meet your instructor, Abdel, a PhD researcher and experienced Data Scientist. Discover how this course combines theory, hands-on labs, real-world projects, and industry best practices to help you build practical Data Science and Machine Learning skills.
Discover the learning roadmap of this course and how each stage builds toward practical Machine Learning skills. We’ll explore the journey from AI/ML fundamentals and data preparation to model building, evaluation, deployment, and the final end-to-end Machine Learning project.
This video explains the history of Artificial Intelligence and its evolution, starting with the emergence of the term and continuing through the development of Machine Learning and the evolution of the field. It also explores the current relationship and overlap between Artificial Intelligence, Machine Learning, and Deep Learning.
This session explains the difference between weak and strong Artificial Intelligence, introduces the main concepts of Machine Learning, and explores the motivations behind its development and use.
In this lab, you will set up a complete Python development environment for Data Science and Machine Learning. You will learn the differences between Python and Anaconda, install and configure Anaconda, create and manage isolated Conda environments, and install packages using both conda and pip. You will also explore how to work with JupyterLab, Jupyter Notebook, and Visual Studio Code using your Conda environment, as well as how to use Google Colab for cloud-based development. By the end of this lab, you will have a fully configured and reproducible environment ready for the hands-on exercises and projects throughout the course.
This session explains the differences between Machine Learning, statistics, and traditional programming. It also explores how Artificial Intelligence connects with mathematics, computer science, neuroscience, philosophy, and sociology.
This lab introduces the fundamental Python concepts required for Data Science and Machine Learning. You will learn how to create and manipulate variables, work with Python's built-in data types, and use essential data structures such as lists, tuples, dictionaries, and sets. You will also perform arithmetic, string, and logical operations, safely convert between data types, and apply Pythonic programming techniques to write clean and efficient code. The lab concludes with a hands-on mini-project in which you will clean and analyze a small survey dataset, reinforcing the data manipulation and preprocessing skills that form the foundation of every Machine Learning workflow.
This lab introduces the fundamental Python concepts required for Data Science and Machine Learning. You will learn how to create and manipulate variables, work with Python's built-in data types, and use essential data structures such as lists, tuples, dictionaries, and sets. You will also perform arithmetic, string, and logical operations, safely convert between data types, and apply Pythonic programming techniques to write clean and efficient code. The lab concludes with a hands-on mini-project in which you will clean and analyze a small survey dataset, reinforcing the data manipulation and preprocessing skills that form the foundation of every Machine Learning workflow.
This session presents the main classifications of Machine Learning: by learning approach, including supervised, unsupervised, and reinforcement learning; by data type, including data mining, text mining and NLP, web mining, and computer vision; and by algorithm type, including traditional Machine Learning and Deep Learning.
This session introduces the essential terminology used in Artificial Intelligence and Machine Learning, including datasets, rows, samples, instances, observations, features, columns, attributes, variables, targets, outcomes, and predicted values. It also explains numerical and categorical data, as well as training, validation, and test datasets.
This lab introduces the two fundamental Python libraries used in Data Science: NumPy for high-performance numerical computing and pandas for data manipulation and analysis. You will learn how to create and manipulate NumPy arrays, perform vectorized mathematical operations, apply Boolean filtering, and work with multidimensional data. Using pandas, you will build and explore DataFrames, import datasets from CSV files, select and filter data, create new features, compute descriptive statistics, perform grouping and aggregation, and analyze both numerical and categorical variables. Finally, you will discover how NumPy and pandas complement each other by combining efficient numerical computation with powerful tabular data manipulation, preparing datasets for exploratory data analysis and Machine Learning workflows.
This lab introduces the two fundamental Python libraries used in Data Science: NumPy for high-performance numerical computing and pandas for data manipulation and analysis. You will learn how to create and manipulate NumPy arrays, perform vectorized mathematical operations, apply Boolean filtering, and work with multidimensional data. Using pandas, you will build and explore DataFrames, import datasets from CSV files, select and filter data, create new features, compute descriptive statistics, perform grouping and aggregation, and analyze both numerical and categorical variables. Finally, you will discover how NumPy and pandas complement each other by combining efficient numerical computation with powerful tabular data manipulation, preparing datasets for exploratory data analysis and Machine Learning workflows.
This session explains the KDD process and our complete machine learning workflow, from data collection, cleaning, transformation, and preprocessing to pattern discovery, model evaluation, deployment, and knowledge utilization.
Part 1
This lab introduces the essential Python libraries used for data visualization and Machine Learning. You will learn how to create informative visualizations using Matplotlib and Seaborn, including histograms, bar charts, scatter plots, and boxplots to explore distributions, relationships, and categorical data. Using the dataset from the previous lab, you will perform exploratory data analysis (EDA) to gain insights into student performance. The lab also provides a first hands-on experience with scikit-learn, where you will build, train, and evaluate a simple Linear Regression model to predict mathematics scores from reading and writing scores. By the end of this lab, you will understand how data visualization supports exploratory analysis and how Machine Learning models are developed using the standard scikit-learn workflow, laying the foundation for more advanced predictive modeling throughout the course.
Part 2
This lab introduces the essential Python libraries used for data visualization and Machine Learning. You will learn how to create informative visualizations using Matplotlib and Seaborn, including histograms, bar charts, scatter plots, and boxplots to explore distributions, relationships, and categorical data. Using the dataset from the previous lab, you will perform exploratory data analysis (EDA) to gain insights into student performance. The lab also provides a first hands-on experience with scikit-learn, where you will build, train, and evaluate a simple Linear Regression model to predict mathematics scores from reading and writing scores. By the end of this lab, you will understand how data visualization supports exploratory analysis and how Machine Learning models are developed using the standard scikit-learn workflow, laying the foundation for more advanced predictive modeling throughout the course.
This session covers the first stages of the data preparation process: collecting data from sources such as databases, websites, and APIs, then describing and exploring the dataset to understand its structure, variables, and content
In this lab, you will learn the fundamentals of web scraping using Python, Requests, and BeautifulSoup. Starting with a step-by-step exploration of the HTML structure of a web page, you will learn how to send HTTP requests, parse HTML content, locate and extract specific elements, and collect structured information from the web. You will then build reusable scraping functions to automatically extract book information (including titles, prices, availability, ratings, and image URLs) from multiple pages of the Books to Scrape website. Finally, you will organize the collected data into a pandas DataFrame and export it to a CSV file for further analysis. This lab introduces the core concepts and best practices of web scraping, providing a practical foundation for data acquisition in Data Science and Machine Learning projects.
In this practical lab, we learn how to collect data from an API using Python and the requests library.
We work with JSON data, handle HTTP responses and errors, and convert nested JSON into pandas DataFrames.
You will learn how to clean, select, rename, and save API data as a CSV file.
Finally, we combine data from multiple API endpoints using pandas merge, following a real-world data collection workflow.
This lab introduces database-based data collection using SQLite and pandas, demonstrating how structured data can be stored, queried, and prepared for Machine Learning applications. You will learn how to create a relational database, define tables, insert records, and retrieve data using SQL queries. You will then import the query results into a pandas DataFrame for further analysis, apply SQL filtering to extract relevant information, and prepare the dataset by separating input features and target variables for predictive modeling. By the end of this lab, you will understand the fundamentals of integrating SQL databases into Python-based Data Science and Machine Learning workflows.
This session covers essential data-cleaning techniques, including handling noise and errors, treating missing values, detecting and managing outliers, formatting data, and verifying overall data quality.
Part 1
In this lab, you will learn the complete data cleaning workflow required to prepare real-world datasets for Machine Learning. Using the Titanic dataset, you will explore and understand the data structure, identify missing values, detect data quality issues, and apply multiple cleaning techniques. You will compare different strategies for handling missing data, including row and column deletion, simple statistical imputation, and K-Nearest Neighbors (KNN) imputation. The lab also covers duplicate detection, text normalization, outlier treatment using the Interquartile Range (IQR) method, data type optimization, memory-efficient formatting, and automated data quality verification. Finally, you will export a fully cleaned and validated dataset, providing a robust foundation for feature engineering, model training, and predictive analytics in subsequent Machine Learning labs.
Part 2
In this lab, you will learn the complete data cleaning workflow required to prepare real-world datasets for Machine Learning. Using the Titanic dataset, you will explore and understand the data structure, identify missing values, detect data quality issues, and apply multiple cleaning techniques. You will compare different strategies for handling missing data, including row and column deletion, simple statistical imputation, and K-Nearest Neighbors (KNN) imputation. The lab also covers duplicate detection, text normalization, outlier treatment using the Interquartile Range (IQR) method, data type optimization, memory-efficient formatting, and automated data quality verification. Finally, you will export a fully cleaned and validated dataset, providing a robust foundation for feature engineering, model training, and predictive analytics in subsequent Machine Learning labs.
This session introduces data selection and provides an overview of feature engineering techniques used to prepare relevant and informative features for machine learning models.
This session explores feature-selection techniques for identifying the most informative variables, removing irrelevant or redundant features, reducing overfitting, and improving model performance and training speed.
This session introduces data transformation techniques, with a focus on feature scaling methods such as normalization and standardization, and explains when and why to use them in machine learning.
This session explores advanced feature engineering techniques, including feature selection and dimensionality reduction. You will learn how to choose the most appropriate method based on the data type, distribution, and modeling objective. The session also introduces Principal Component Analysis (PCA) as both a statistical technique and a powerful unsupervised machine learning method.
Part 1
This lab focuses on the essential data preprocessing techniques required to transform cleaned data into a machine learning–ready dataset. Using the cleaned Titanic dataset from the previous lab, you will learn how to perform data selection, remove irrelevant and redundant features, and engineer new features that improve model performance. The lab covers feature selection, feature engineering, one-hot encoding for nominal variables, ordinal and label encoding for categorical data, and common data transformation techniques such as standardization, normalization, and logarithmic transformation. By the end of this lab, you will have a fully preprocessed dataset suitable for predictive modeling, while gaining practical experience with the preprocessing pipeline commonly used in real-world Data Science and Machine Learning projects.
Part 2
This lab focuses on the essential data preprocessing techniques required to transform cleaned data into a machine learning–ready dataset. Using the cleaned Titanic dataset from the previous lab, you will learn how to perform data selection, remove irrelevant and redundant features, and engineer new features that improve model performance. The lab covers feature selection, feature engineering, one-hot encoding for nominal variables, ordinal and label encoding for categorical data, and common data transformation techniques such as standardization, normalization, and logarithmic transformation. By the end of this lab, you will have a fully preprocessed dataset suitable for predictive modeling, while gaining practical experience with the preprocessing pipeline commonly used in real-world Data Science and Machine Learning projects.
This session introduces the model-building phase of the machine learning lifecycle. You will learn how to select the most appropriate algorithm, train machine learning models, and gain an overview of the key concepts and metrics used to evaluate model performance.
Part 1
This lab introduces the complete machine learning model development workflow, from selecting an appropriate learning task to building, evaluating, and improving predictive models. Using a preprocessed dataset, you will identify whether the problem requires classification, regression, or clustering, prepare the training and testing datasets, and train baseline machine learning models using scikit-learn. You will evaluate model performance with appropriate metrics, compare multiple algorithms, and improve predictive performance through hyperparameter tuning using GridSearchCV. The lab also introduces basic error analysis to identify model weaknesses and demonstrates unsupervised learning with K-Means clustering when no target variable is available. Finally, you will save the best-performing model for future use in deployment and inference, completing a practical end-to-end machine learning modeling workflow.
Part 2
This lab introduces the complete machine learning model development workflow, from selecting an appropriate learning task to building, evaluating, and improving predictive models. Using a preprocessed dataset, you will identify whether the problem requires classification, regression, or clustering, prepare the training and testing datasets, and train baseline machine learning models using scikit-learn. You will evaluate model performance with appropriate metrics, compare multiple algorithms, and improve predictive performance through hyperparameter tuning using GridSearchCV. The lab also introduces basic error analysis to identify model weaknesses and demonstrates unsupervised learning with K-Means clustering when no target variable is available. Finally, you will save the best-performing model for future use in deployment and inference, completing a practical end-to-end machine learning modeling workflow.
This session provides an overview of the major machine learning algorithms used for classification, regression, and unsupervised learning. It then introduces the K-Nearest Neighbors (KNN) algorithm, explaining its core concepts, underlying principles, and step-by-step workflow through practical examples.
This session introduces the most common distance and similarity measures used in machine learning. You will learn numerical distance metrics such as Euclidean, Manhattan, and Minkowski distances, as well as distance measures for categorical data, including Hamming distance, and methods for measuring similarity in ordinal categorical data.
In this lecture, we learn how Decision Trees work and how they make predictions through a sequence of simple decisions.
We explore tree construction, nodes, branches, leaf nodes, splitting, and pruning to reduce overfitting.
You will understand entropy and Information Gain and how ID3 selects the best feature for splitting.
Finally, we build a Decision Tree step by step using a practical example with frequency tables and entropy calculations.
This session introduces the Support Vector Machine (SVM) algorithm for classification. You will learn the concepts of the Maximum Margin Classifier, support vectors, decision boundaries, soft margins, and kernel functions, including Linear, Polynomial, RBF, and Sigmoid kernels, with practical examples and visual illustrations.
This session introduces Logistic Regression for classification. You will learn its mathematical foundations, understand how it differs from Linear Regression, explore how the algorithm makes predictions using the sigmoid function, and visualize the decision boundary through practical examples.
In this lab, students train and compare four popular classification algorithms (KNN, Decision Tree, SVC, and Logistic Regression) using a preprocessed dataset. They perform data splitting, hyperparameter tuning with GridSearchCV, and evaluate each model using accuracy, precision, recall, F1-score, and the confusion matrix. The lab demonstrates the complete workflow of building, optimizing, comparing, and selecting the best classification model for predictive machine learning tasks.
This session introduces Linear Regression, one of the fundamental algorithms for regression tasks. You will learn its mathematical foundations, understand how it predicts continuous numerical values, interpret the coefficient of determination (R²), and explore common regression variants, including polynomial and transformed linear regression models. The concepts are reinforced through intuitive visualizations and practical examples.
In this lab, students develop and compare two popular regression algorithms—Linear Regression and Support Vector Regression (SVR)—using the California Housing dataset. The workflow includes identifying the target variable, splitting the dataset into training and testing sets, and building a preprocessing pipeline to handle missing values, encode categorical features, and scale numerical data. Students establish a baseline model with Linear Regression and optimize the SVR model through GridSearchCV by tuning key hyperparameters. Both models are evaluated and compared using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and R² Score, allowing students to select the best-performing regression model. Finally, the selected model is saved for future use, introducing students to a complete regression modeling workflow from preprocessing to model evaluation and persistence.
This session introduces the fundamentals of Ensemble Learning and explains how multiple machine learning models can be combined to build more accurate and robust predictive systems. You will learn the concepts, underlying principles, and workflows of the four main ensemble techniques (Bagging, Boosting, Stacking, and Voting) through intuitive explanations, algorithmic insights, and practical examples.
In this lab, students explore unsupervised machine learning by applying K-Means clustering to the Mall Customers dataset for customer segmentation. The workflow begins with feature selection and data standardization using StandardScaler to ensure distance-based clustering performs effectively. Students then determine the optimal number of clusters by analyzing the Elbow Method and Silhouette Score, before training the final K-Means model using the selected value of k. The resulting customer segments are visualized through scatter plots and Principal Component Analysis (PCA) for two-dimensional projection. As an additional clustering technique, students also explore Hierarchical Clustering and interpret a dendrogram to understand cluster relationships. This lab provides a practical introduction to clustering analysis, cluster evaluation, and visualization techniques for unsupervised learning.
In this lab, students explore advanced ensemble learning techniques by building and comparing multiple ensemble classifiers using the Titanic dataset. The workflow begins with preparing the feature matrix and target variable, followed by training baseline models for comparison. Students then implement Bagging methods (Random Forest, Extra Trees, and Bagging with Decision Trees), Boosting methods (AdaBoost, Gradient Boosting, and HistGradientBoosting), as well as Voting and Stacking ensembles. Each model is evaluated using Accuracy and F1-score, allowing students to compare their predictive performance and identify the best-performing approach. Finally, the selected model is analyzed using a classification report, confusion matrix, and feature importance analysis, providing practical insight into the strengths, trade-offs, and applications of modern ensemble learning techniques in machine learning.
This session introduces the fundamentals of model evaluation and focuses on performance metrics for classification models. You will learn how to interpret and calculate Accuracy, Precision, Recall, F1-Score, and related metrics, understand their mathematical foundations, and identify when each metric should be used to evaluate machine learning models effectively.
This session introduces the key performance metrics used to evaluate regression models. You will learn how to interpret and calculate MAE, MSE, RMSE, R² (Coefficient of Determination), and related metrics, understand their mathematical foundations, and determine when each metric should be used to assess the performance of continuous prediction models effectively.
This session explores the final stages of the KDD process. You will learn how to interpret and validate discovered knowledge, assess the usefulness and reliability of machine learning models, communicate insights effectively to stakeholders, and leverage predictive models to support data-driven decision-making.
This session covers the final stage of the machine learning workflow: deploying and maintaining ML models in production. You will learn how to deploy models as web applications, REST APIs, embedded systems, or decision-support solutions. The session also explores result visualization, stakeholder communication, model monitoring, performance tracking, maintenance, and continuous model updates to ensure long-term reliability and business value.
Put everything you've learned into practice by building a complete end-to-end machine learning project from scratch. In this final project, you'll follow the entire machine learning workflow—from data exploration and preprocessing to feature engineering, model training, evaluation, optimization, experiment tracking, and deployment. This capstone project consolidates the concepts covered throughout the course and demonstrates how machine learning solutions are developed in real-world environments.
Ready to master Data Science, Artificial Intelligence, and Machine Learning? You're in the right place!
Welcome to one of the most comprehensive Machine Learning with Python courses designed to take you from beginner to job-ready. Whether you're starting from scratch or looking to strengthen your skills, this course combines clear explanations with extensive hands-on practice to help you master Data Science, Artificial Intelligence, and Machine Learning.
You'll learn the complete machine learning workflow, including data preprocessing, exploratory data analysis, feature engineering, feature selection, dimensionality reduction (PCA), model training, evaluation, hyperparameter tuning, and deployment. Throughout the course, you'll complete 15+ practical labs using industry-standard tools such as NumPy, Pandas, Matplotlib, Seaborn, Scikit-learn, MLflow, FastAPI, and Docker.
To reinforce your learning, you'll build a real-world end-to-end Machine Learning project where you'll apply everything you've learned—from preparing raw data to training, optimizing, tracking, and deploying a production-ready model as a Dockerized REST API.
The course also covers the essential theory behind machine learning algorithms, helping you understand not only how to use them, but why they work and when to apply them.
Created by Abdel, a PhD researcher in Artificial Intelligence and a Top Rated Data Scientist, this course reflects real industry practices and professional workflows. By the end, you'll have practical experience, a portfolio-ready project, and the confidence to pursue opportunities in Data Science, Machine Learning, and AI.