Course Outline
Big Data & Spark Foundations
- An overview of the Big Data ecosystem and Spark's role in modern data platforms
- Comprehending Spark architecture, including the driver, executors, cluster manager, lazy evaluation, DAG, and execution planning
- Distinguishing between RDD and DataFrame APIs and identifying appropriate use cases for each
- Creating and configuring SparkSession and grasping the fundamentals of application configuration
PySpark DataFrames
- Reading and writing data from various enterprise sources and formats (CSV, JSON, Parquet, Delta)
- Manipulating PySpark DataFrames through transformations, actions, column expressions, filtering, joins, and aggregations
- Executing advanced operations, such as window functions, timestamp handling, and working with nested data
- Implementing data quality checks and writing reusable, maintainable PySpark code
Processing Large Datasets Efficiently
- Grasping performance fundamentals, including partitioning strategies, shuffle behaviour, caching, and persistence
- Applying optimisation techniques, such as broadcast joins and execution plan analysis
- Processing large datasets efficiently and adhering to best practices for scalable data workflows
- Understanding schema evolution and modern storage formats prevalent in enterprise environments
Feature Engineering at Scale
- Executing feature engineering with Spark MLlib, covering missing value handling, categorical variable encoding, and feature scaling
- Designing reusable preprocessing steps and preparing datasets for Machine Learning pipelines
- Introduction to feature selection and strategies for managing imbalanced datasets
Machine Learning with Spark MLlib
- Understanding the MLlib architecture and the Estimator/Transformer pattern
- Training regression and classification models at scale, including Linear Regression, Logistic Regression, Decision Trees, and Random Forest
- Comparing models and interpreting results within distributed Machine Learning workflows
End-to-End ML Pipelines
- Constructing comprehensive Machine Learning pipelines that integrate preprocessing, feature engineering, and modelling
- Implementing train/validation/test split strategies
- Performing cross-validation and hyperparameter tuning using grid search and random search
- Structuring reproducible Machine Learning experiments
Model Evaluation & Practical ML Decision Making
- Applying suitable evaluation metrics for regression and classification problems
- Identifying overfitting and underfitting to make informed model selection decisions
- Interpreting feature importance and understanding model behaviour
Production & Enterprise Practices
- Persisting and loading models within Spark
- Implementing batch inference workflows for large datasets
- Understanding the Machine Learning lifecycle in enterprise settings
- Introduction to versioning, experiment tracking concepts, and basic testing strategies
Practical Outcome
- Competence to work independently with PySpark
- Capability to process large datasets efficiently
- Ability to perform feature engineering at scale
- Capability to build scalable Machine Learning pipelines
Requirements
Participants are expected to possess the following background:
Foundational knowledge of Python programming, including proficiency with functions, data structures, and libraries
A basic understanding of data analysis concepts, such as datasets, transformations, and aggregations
Essential knowledge of SQL and relational data structures
An introductory grasp of Machine Learning principles, including training datasets, features, and evaluation metrics
Experience with command line environments and basic software development practices is advised
While familiarity with data processing libraries like Pandas or NumPy is beneficial, it is not a 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.