Course Outline
Big Data & Spark Foundations
- An overview of the Big Data landscape and the critical role of Spark in modern data platforms
- A deep dive into Spark architecture, covering the driver, executors, cluster management, lazy evaluation, DAGs, and execution planning
- A comparison of RDD and DataFrame APIs, clarifying the appropriate scenarios for each approach
- Creating and configuring SparkSession, along with an understanding of fundamental application configuration
PySpark DataFrames
- Reading from and writing to various enterprise data sources and formats, including CSV, JSON, Parquet, and Delta
- Mastering PySpark DataFrames through transformations, actions, column expressions, filtering, joins, and aggregations
- Implementing advanced operations such as window functions, timestamp handling, and managing nested data structures
- Applying data quality checks and writing maintainable, reusable PySpark code
Processing Large Datasets Efficiently
- Gaining insight into performance fundamentals, including partitioning strategies, shuffle behavior, caching, and persistence
- Utilizing optimization techniques such as broadcast joins and analyzing execution plans
- Best practices for the efficient processing of large datasets and the creation of scalable data workflows
- Understanding schema evolution and the modern storage formats prevalent in enterprise settings
Feature Engineering at Scale
- Executing feature engineering with Spark MLlib, including addressing missing values, encoding categorical variables, and scaling features
- Designing reusable preprocessing steps to prepare datasets for integration into Machine Learning pipelines
- An introduction to feature selection techniques and the management of imbalanced datasets
Machine Learning with Spark MLlib
- Exploring the MLlib architecture and the Estimator/Transformer pattern
- Training regression and classification models at scale, utilizing Linear Regression, Logistic Regression, Decision Trees, and Random Forests
- Comparing different 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 strategies for splitting data into train, validation, and test sets
- Conducting cross-validation and hyperparameter tuning via grid search and random search
- Establishing structured and reproducible Machine Learning experiments
Model Evaluation & Practical ML Decision Making
- Selecting and applying appropriate evaluation metrics for both regression and classification tasks
- Identifying issues such as overfitting and underfitting to make informed model selection decisions
- Interpreting feature importance and gaining insights into model behavior
Production & Enterprise Practices
- Persisting and loading models within the Spark environment
- Implementing batch inference workflows capable of handling large datasets
- Understanding the full Machine Learning lifecycle in enterprise contexts
- An introduction to versioning, experiment tracking concepts, and fundamental testing strategies
Practical Outcome
- The ability to work independently with PySpark
- The capability to process large datasets with efficiency
- The skill to perform feature engineering at a scalable level
- The competence to build robust and scalable Machine Learning pipelines
Requirements
Participants are expected to possess the following foundation:
Basic Python programming proficiency, including the use of functions, data structures, and libraries
A solid grasp of data analysis fundamentals, such as datasets, transformations, and aggregations
Essential knowledge of SQL and relational data concepts
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 advised
While prior experience with libraries like 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.