Course Outline
Big Data & Spark Foundations
- Exploration of the Big Data ecosystem and Spark's role in modern data platforms
- Comprehensive understanding of Spark architecture, including drivers, executors, cluster managers, lazy evaluation, DAGs, and execution planning
- Distinction between RDD and DataFrame APIs and guidance on selecting the appropriate approach
- Creation and configuration of SparkSession, along with fundamentals of application configuration
PySpark DataFrames
- Ingestion and output of data from various enterprise sources and formats (CSV, JSON, Parquet, Delta)
- Manipulation of PySpark DataFrames through transformations, actions, column expressions, filtering, joins, and aggregations
- Implementation of advanced operations such as window functions, timestamp handling, and nested data processing
- Application of data quality checks and development of reusable, maintainable PySpark code
Processing Large Datasets Efficiently
- Grasping performance fundamentals, including partitioning strategies, shuffle behaviour, caching, and persistence
- Utilisation of optimisation techniques such as broadcast joins and execution plan analysis
- Optimised processing of large datasets and adherence to best practices for scalable data workflows
- Understanding of schema evolution and modern storage formats prevalent in enterprise environments
Feature Engineering at Scale
- Execution of feature engineering using Spark MLlib, covering missing value handling, categorical variable encoding, and feature scaling
- Design of reusable preprocessing steps and dataset preparation for Machine Learning pipelines
- Introduction to feature selection techniques and management of imbalanced datasets
Machine Learning with Spark MLlib
- Understanding of MLlib architecture and the Estimator/Transformer pattern
- Training of regression and classification models at scale (Linear Regression, Logistic Regression, Decision Trees, Random Forest)
- Comparison of models and interpretation of results within distributed Machine Learning workflows
End-to-End ML Pipelines
- Construction of end-to-end Machine Learning pipelines that integrate preprocessing, feature engineering, and modelling
- Application of train/validation/test split strategies
- Execution of cross-validation and hyperparameter tuning via grid search and random search
- Organisation of reproducible Machine Learning experiments
Model Evaluation & Practical ML Decision Making
- Application of suitable evaluation metrics for regression and classification problems
- Identification of overfitting and underfitting, along with making informed model selection decisions
- Interpretation of feature importance and analysis of model behaviour
Production & Enterprise Practices
- Persistence and loading of models within Spark
- Implementation of batch inference workflows on large datasets
- Understanding of the Machine Learning lifecycle in enterprise environments
- Introduction to versioning, experiment tracking concepts, and basic testing strategies
Practical Outcome
- Capacity to work autonomously with PySpark
- Ability to process large datasets with efficiency
- Proficiency in performing feature engineering at scale
- Ability to build scalable Machine Learning pipelines
Requirements
Learners are expected to possess the following foundational knowledge:
Basic Python programming skills, including experience with functions, data structures, and libraries
A fundamental grasp of data analysis concepts such as datasets, transformations, and aggregations
Basic familiarity with SQL and relational data principles
An introductory understanding of Machine Learning concepts, including training datasets, features, and evaluation metrics
Comfort with command-line environments and basic software development practices is recommended
While experience with Pandas, NumPy, or similar data processing libraries is beneficial, it is not a strict requirement.
Testimonials (2)
Showing different ways to optimize our PySpark queries.
Ivan Abrashev - UBB + DZI (KBC GROUP)
Course - Efficient Data Processing on Kubernetes with PySpark, Pandas & Polars
I liked that it was practical. Loved to apply the theoretical knowledge with practical examples.