Course Outline
Big Data & Spark Foundations
- Overview of the Big Data ecosystem and Spark's role in contemporary data platforms
- Understanding Spark architecture: drivers, executors, cluster managers, lazy evaluation, DAGs, and execution planning
- Differences between RDD and DataFrame APIs and criteria for selecting each approach
- Creating and configuring SparkSession, along with understanding the fundamentals of application configuration
PySpark DataFrames
- Reading from and writing to enterprise data sources and formats (CSV, JSON, Parquet, Delta)
- Working with PySpark DataFrames: transformations, actions, column expressions, filtering, joins, and aggregations
- Implementing advanced operations such as window functions, timestamp handling, and managing nested data
- Applying data quality checks and writing reusable, maintainable PySpark code
Processing Large Datasets Efficiently
- Understanding performance fundamentals: partitioning strategies, shuffle behavior, caching, and persistence
- Utilizing optimization techniques, including broadcast joins and execution plan analysis
- Efficiently processing large datasets and following best practices for scalable data workflows
- Understanding schema evolution and modern storage formats used in enterprise settings
Feature Engineering at Scale
- Performing feature engineering with Spark MLlib: handling missing values, encoding categorical variables, and scaling features
- Designing reusable preprocessing steps and preparing datasets for Machine Learning pipelines
- Introduction to feature selection and managing imbalanced datasets
Machine Learning with Spark MLlib
- Understanding MLlib architecture and the Estimator/Transformer pattern
- Training regression and classification models at scale (Linear Regression, Logistic Regression, Decision Trees, Random Forest)
- Comparing models and interpreting results within distributed Machine Learning workflows
End-to-End ML Pipelines
- Constructing end-to-end Machine Learning pipelines that integrate preprocessing, feature engineering, and modeling
- Applying 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 appropriate evaluation metrics for regression and classification problems
- Identifying overfitting and underfitting to make practical model selection decisions
- Interpreting feature importance and understanding model behavior
Production & Enterprise Practices
- Persisting and loading models in Spark
- Implementing batch inference workflows on large datasets
- Understanding the Machine Learning lifecycle in enterprise environments
- Introduction to versioning, experiment tracking concepts, and basic testing strategies
Practical Outcome
- Capability to work autonomously with PySpark
- Capability to process large datasets efficiently
- Capability to perform feature engineering at scale
- Capability to build scalable Machine Learning pipelines
Requirements
Participants are expected to possess the following background:
Basic Python programming knowledge, including experience with functions, data structures, and libraries A foundational understanding of data analysis concepts such as datasets, transformations, and aggregations Basic familiarity with SQL and relational data concepts Introductory knowledge of Machine Learning concepts, including training datasets, features, and evaluation metrics Familiarity 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 required.
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.