Machine Learning with Apache Spark using Scala (Udemy.com)
Learn Apache Spark 4.x using Scala. Build ML pipelines, feature engineering and real-world machine learning projects.
Created by: Bigdata Engineer
Last updated July 2026
What you will learn
- Understand the fundamentals of Machine Learning and its types (supervised, unsupervised, classification, regression, clustering).
- Learn the basics of Apache Spark 3.0 and how it supports large-scale data processing.
- Work hands-on with Spark RDDs, DataFrames, and Datasets using Scala.
- Explore Spark MLlib – the machine learning library in Spark – and how it enables scalable ML solutions.
- Build end-to-end Machine Learning pipelines using Spark, from data ingestion to model evaluation.
- Gain practical experience with real-world datasets such as predict rain in Australia, Iris flower classification, ad click prediction, and mall customer segment
- Learn how to work with different data sources like CSV, JSON, Parquet, Avro, LIBSVM, and images.
- Master feature engineering techniques such as TF-IDF, Word2Vec, CountVectorizer, PCA, n-grams, StringIndexer, OneHotEncoder, VectorAssembler, and more.
How it compares
Against the other 150 rated Udemy courses in Hadoop on CourseDuck:
- Rating4.1 out of 5higher than 24% of them
- Reviews72#123 of 151 by number of reviews
- Length10.6 hourslonger than 71% of them
- Last updatedJuly 2026more recently than 90% of them
Course Description
Do you want to master Machine Learning at scale using one of the most powerful Big Data frameworks in the world? This course will teach you Machine Learning with Apache Spark 3.0 and Scala, step by step, through real-world projects and hands-on coding examples.
Apache Spark is the industry-standard framework for processing and analyzing large datasets. Its MLlib (Machine Learning Library) provides scalable implementations of machine learning algorithms, making it possible to train, evaluate, and deploy models on massive amounts of data efficiently. Combined with Scala, the native language of Spark, you’ll learn how to build and optimize end-to-end machine learning pipelines.
This course is designed for beginners to intermediate learners who want to get practical experience in applying machine learning techniques in Spark. You’ll start with Big Data and Spark basics, then move on to core machine learning concepts, and finally apply them to real-world datasets through hands-on projects like rain prediction, ad click prediction, iris flower classification, and customer segmentation.
By the end of this course, you will have the skills and confidence to build scalable machine learning models using Spark 3.0 and Scala—skills that are highly in-demand in industries such as finance, e-commerce, telecom, and technology.
What You Will Learn
Introduction to Machine Learning & Spark MLlib
Basics of machine learning, types (supervised, unsupervised, classification, regression, clustering).
What is Spark ML? How Spark MLlib simplifies building ML models at scale.
Apache Spark Basics (Optional Section)
Get familiar with Spark fundamentals: RDD, DataFrames, and Datasets.
Set up Spark environment using Databricks.
Learn notebook basics, cluster provisioning, and working with Scala.
Data Handling & Preparation
Work with different data sources: CSV, JSON, LIBSVM, Images, Avro, and Parquet.
Understand the Machine Learning data pipeline in Spark.
Practice feature extraction, transformation, and selection techniques.
Feature Engineering in Spark ML
Learn popular feature extractors like TF-IDF, Word2Vec, CountVectorizer, FeatureHasher.
Apply transformers such as Tokenizer, StopWordsRemover, n-gram, PCA, StringIndexer, OneHotEncoder.
Use feature selectors like RFormula and ChiSqSelector.
Build and connect them into end-to-end ML pipelines.
Machine Learning Models with Spark
Classification Models: Decision Trees, Logistic Regression, Naive Bayes (Iris Prediction), Random Forest, Gradient-Boosted Trees, Linear SVM, One-vs-Rest.
Regression Models: Linear Regression, Decision Tree Regression, Random Forest Regression, Gradient-Boosted Tree Regression, Predict Ads Clicks project.
Clustering: KMeans (Customer Segmentation Project).
Hands-On Projects
Rain Prediction in Australia (complete ML pipeline).
Iris Flower Classification using Naive Bayes.
Customer Segmentation using KMeans.
Ad Click Prediction using Linear Regression.
Multiple other classification and regression use cases with step-by-step Scala implementations.
Spark MLlib in Practice
Understand how to train, evaluate, and optimize ML models at scale.
Explore key concepts like shuffling, correlation, pipeline components, and evaluation metrics.
Instructor Details
- 4.1 Rating
72 Reviews
Bigdata Engineer
I am Solution Architect with 12+ year’s of experience in Banking, Telecommunication and Financial Services industry across a diverse range of roles in Credit Card, Payments, Data Warehouse and Data Center programmes
My role as Bigdata and Cloud Architect to work as part of Bigdata team to provide Software Solution.
Responsibilities includes,
- Support all Hadoop related issues
- Benchmark existing systems, Analyse existing system challenges/bottlenecks and Propose right solutions to eliminate them based on various Big Data technologies
- Analyse and Define pros and cons of various technologies and platforms
- Define use cases, solutions and recommendations
- Define Big Data strategy
- Perform detailed analysis of business problems and technical environments
- Define pragmatic Big Data solution based on customer requirements analysis
- Define pragmatic Big Data Cluster recommendations
- Educate customers on various Big Data technologies to help them understand pros and cons of Big Data
- Data Governance
- Build Tools to improve developer productivity and implement standard practices
I am sure the knowledge in these courses can give you extra power to win in life.
All the best!!
More courses by Bigdata Engineer
Learn Big Data Testing with Hadoop and Hive with Pig Script (2026)
4.1 (219 Reviews)
Provider: Udemy
Time: 11.4h
$44.99
Learn Big Data Testing (Hadoop, Hive, Cassandra, HBase etc.) (2026)
3.5 (165 Reviews)
Provider: Udemy
Time: 6.4h
$29.99
Azure Cloud Azure Databricks Apache Spark Machine learning (2020)
2.9 (140 Reviews)
Provider: Udemy
Time: 8.7h
$34.99
Olympic Games Analytics Project in Apache Spark for beginner (2026)
4.1 (138 Reviews)
Provider: Udemy
Time: 5.4h
$10.99
Telecom Customer Churn Prediction in Apache Spark (ML) (2026)
4.3 (81 Reviews)
Provider: Udemy
Time: 6.5h
$10.99
Apache Spark with Scala useful for Databricks Certification (2026)
4.2 (66 Reviews)
Provider: Udemy
Time: 7.9h
$59.99
More Hadoop courses
Spark Streaming - Stream Processing in Lakehouse - PySpark (2024)
4.9 (2,251 Reviews)
Provider: Udemy
Time: 22.4h
$11.99
Apache Kafka Series - KSQL on ksqlDB for Stream Processing ! (2026)
4.9 (2,161 Reviews)
Provider: Udemy
Time: 4h
$12.99
Apache Kafka Series - Kafka Streams for Data Processing (2026)
4.8 (6,826 Reviews)
Provider: Udemy
Time: 4.8h
$14.99
Apache Kafka Series - Confluent Schema Registry & REST Proxy (2026)
4.8 (3,794 Reviews)
Provider: Udemy
Time: 4.5h
$94.99
Apache Kafka - Real-time Stream Processing (Master Class) (2023)
4.8 (2,925 Reviews)
Provider: Udemy
Time: 11h
$10.99
Apache Spark 3 & Big Data Essentials in Scala (2024)
4.8 (2,302 Reviews)
Provider: Udemy
Time: 7.3h
$39.99
Reviews
By J. Diego Ramirez on 4/2/2026
I was disappointed that I could not get anything from this course because Databricks retired the Community Edition in 2026, and the new free edition does not support Scala in their notebooks. By the time I get to setting up my account I had watched enough material so I could not get a refund.
By Kévin Tang on 6/3/2025
Very good, simple and easy to understand, well-structured course
By Emmanuel Ekunwe on 3/4/2025
This course is excertly what am looking for.
By Juan Mario on 12/5/2023
Good course, the explanations are good, although you shoul zoom in a litte more becauese. Out of there very good.
By Aboli Kokane on 2/21/2023
very informative
By Jurgen Rutten on 2/4/2023
The course depends on a paying platform to run Spark on, and the code examples seem precompiled
By Sumita Bhattacharya on 5/10/2022
Excellent hands-on course on Machine Learning, it has good collection of machine learning projects.
By Akash Dutta on 2/16/2023
By Subajit gupta on 2/16/2023
By Suman Kumar Das on 5/10/2022
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 82 / 100












