Course Outline
Big Data & Spark Fundamentals
- The Big Data ecosystem and the strategic role of Spark in contemporary data platforms
- Spark architecture components: driver, executors, cluster managers, lazy evaluation, DAGs, and execution planning
- Comparing RDD and DataFrame APIs and determining the appropriate use case for each
- Configuring SparkSession and managing application settings
PySpark DataFrames
- Ingesting and exporting data from enterprise sources and formats (CSV, JSON, Parquet, Delta)
- Manipulating PySpark DataFrames through transformations, actions, column expressions, filtering, joins, and aggregations
- Advanced operations including window functions, timestamp management, and nested data handling
- Implementing data quality checks and writing reusable, maintainable PySpark code
Efficient Large Dataset Processing
- Performance essentials: partitioning strategies, shuffle mechanics, caching, and persistence
- Optimisation tactics such as broadcast joins and execution plan analysis
- Best practices for scalable data workflows and efficient large-scale dataset processing
- Schema evolution and modern storage formats prevalent in enterprise environments
Scalable Feature Engineering
- Feature engineering with Spark MLlib: addressing missing values, categorical encoding, and feature scaling
- Creating reusable preprocessing steps and preparing datasets for Machine Learning pipelines
- Feature selection techniques and strategies for imbalanced datasets
Machine Learning with Spark MLlib
- MLlib architecture and the Estimator/Transformer paradigm
- Scalable training of regression and classification models (Linear Regression, Logistic Regression, Decision Trees, Random Forest)
- Model comparison and result interpretation in distributed Machine Learning contexts
End-to-End ML Pipelines
- Constructing comprehensive Machine Learning pipelines that integrate preprocessing, feature engineering, and modelling
- Strategies for train/validation/test data splitting
- Cross-validation and hyperparameter tuning via grid search and random search
- Structuring reproducible Machine Learning experiments
Model Evaluation & Practical ML Decisions
- Selection of appropriate evaluation metrics for regression and classification tasks
- Detecting overfitting and underfitting to inform practical model selection
- Interpreting feature importance and understanding model behavior
Production & Enterprise Standards
- Model persistence and loading within Spark
- Batch inference workflows for large datasets
- The Machine Learning lifecycle in enterprise contexts
- Versioning, experiment tracking, and basic testing strategies
Learning Outcomes
- Confidence in working autonomously with PySpark
- Competence in efficient large dataset processing
- Capability in executing scalable feature engineering
- Ability to build scalable Machine Learning pipelines
Requirements
Attendees are expected to possess the following foundational knowledge:
Proficiency in basic Python programming, including functions, data structures, and libraries; a core understanding of data analysis concepts such as datasets, transformations, and aggregations; fundamental knowledge of SQL and relational data; and an introductory grasp of Machine Learning concepts like training sets, features, and evaluation metrics. Familiarity with command line environments and basic software development practices is also recommended
While not mandatory, experience with Pandas, NumPy, or similar data processing libraries is advantageous.
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.