Course Outline
Big Data & Spark Foundations
- Exploring the Big Data ecosystem and the pivotal role of Spark in modern data platforms
- Comprehending Spark architecture, including drivers, executors, cluster managers, lazy evaluation, DAGs, and execution planning
- Distinguishing between RDD and DataFrame APIs and determining the appropriate use case for each
- Creating and configuring SparkSession while understanding the fundamentals of application configuration
PySpark DataFrames
- Reading and writing data from various enterprise sources and formats (CSV, JSON, Parquet, Delta)
- Managing PySpark DataFrames through transformations, actions, column expressions, filtering, joins, and aggregations
- Executing advanced operations such as window functions, timestamp handling, and nested data manipulation
- Incorporating data quality checks and writing reusable, maintainable PySpark code
Processing Large Datasets Efficiently
- Grasping performance fundamentals, including partitioning strategies, shuffle behavior, caching, and persistence
- Utilizing optimization techniques such as broadcast joins and analyzing execution plans
- Applying best practices for scalable data workflows to ensure efficient large-scale dataset processing
- Understanding schema evolution and the 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 to prepare datasets for Machine Learning pipelines
- Introducing feature selection methods and strategies for handling imbalanced datasets
Machine Learning with Spark MLlib
- Understanding 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
- Conducting cross-validation and hyperparameter tuning via grid search and random search
- Structuring reproducible Machine Learning experiments
Model Evaluation & Practical ML Decision Making
- Applying suitable evaluation metrics for both regression and classification tasks
- Identifying overfitting and underfitting to make informed model selection decisions
- Interpreting feature importance and analyzing model behavior
Production & Enterprise Practices
- Persisting and loading models within Spark
- Implementing batch inference workflows for large datasets
- Understanding the Machine Learning lifecycle in enterprise contexts
- Introducing concepts of versioning, experiment tracking, and basic testing strategies
Practical Outcome
- Autonomous proficiency in working with PySpark
- Capability to process large datasets with efficiency
- Ability to perform feature engineering at scale
- Competence in building scalable Machine Learning pipelines
Requirements
To succeed in this course, participants should possess the following background:
Basic Python programming skills, including familiarity with functions, data structures, and libraries
Fundamental understanding of data analysis concepts such as datasets, transformations, and aggregations
Basic knowledge of SQL and relational data principles
An introductory grasp of Machine Learning concepts, including training datasets, features, and evaluation metrics
Familiarity with command-line environments and basic software development practices is advisable
While experience with libraries such as Pandas or NumPy 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.