Course Overview
What you will learn
SENG 42293 Big Data Analytics builds analytics on top of the Hadoop/Spark infrastructure from SENG 41303 Big Data Infrastructure. You will learn to reason about the characteristics of big data, collect and sample it responsibly, make it trustworthy, and then analyse it with descriptive, predictive and prescriptive methods, survival analysis, text and sentiment analytics, social-network analytics, web analytics and visualisation.
Four capabilities run through the course: understanding big data and its opportunities and challenges; engineering data quality for structured and semi-structured sources; choosing and applying the right analytical method; and operating on multi-node clusters with Spark.
3 Parts · 12 Lectures · Weekly Labs · 1 Semester Project
Assessment: end-of-semester examination (70%), travel-review analytics pipeline project (20%), concepts quiz (10%). Weekly labs are practice for the exam and project and carry no marks.
Describe the characteristics of big data.
Lectures 01 · 02Explain the opportunities and challenges of big data.
Lecture 01Apply analytics techniques to structured and semi-structured data.
Lectures 02 – 12Work with multi-node clusters for large-scale analytics.
Lectures 04 · 12 · Pipeline GuideFoundations
Lectures 01 – 04 · What big data is, how it is collected, and how to make it trustworthy
- Batch vs streaming collection; choosing a technique
- Random, stratified, systematic and cluster sampling with worked examples
- Selection, survivorship, non-response and undercoverage bias; Google Flu Trends
- Sample size n = Z²p(1−p)/e² (n ≈ 385) and where 1.96 comes from
- Reservoir sampling, Count-Min Sketch, HyperLogLog
- JSON and XML: anatomy, nesting, nulls; schema-on-write vs schema-on-read
- Flattening nested data with explode; type drift and corrupt records
- Spark architecture: driver, cluster manager, executors; lazy evaluation; shuffles
- Week 3 pipeline translated to PySpark; Parquet; feature engineering at scale
- In-class word-count activity (Map → Shuffle → Reduce)
Analytics Core
Lectures 05 – 08 · Describing, predicting, prescribing, and modelling time-to-event
Specialised Analytics & Visualisation
Lectures 09 – 12 · Text, networks, the web, and communicating results
Assessments
Labs, project & examinations
Weekly Labs · Individual
Hands-on Notebook Labs
Each lecture has a practical: the sampling notebook, the data-quality pipeline, the word-count activity, and the pipeline lab. Not graded: they are the practice that prepares you for the project and the examination, so attempt every one and compare your results with the solutions discussed in class.
- Run every cell; explain what each result means
- Answer the discussion questions in your own words
- Ask for feedback in class or office hours
Semester Project
Travel-Review Analytics Pipeline
Teams build an end-to-end analytics pipeline on a travel-review dataset, following the Pipeline Guide and adding a new analytics layer each stage. Use a licensed public dataset or an API whose terms allow reuse.
- M1 (after L02) — data source and sampling plan
- M2 (after L04) — ingest, flatten, clean, store as Parquet
- M3 (after L06) — descriptive dashboard and a first predictive model
- M4 (after L09) — text and sentiment features
- M5 (after L12) — full pipeline on a multi-node cluster + demo and report
Mid-Semester Quiz
Concepts Quiz
Short-answer and multiple-choice questions on big-data characteristics, sampling, data quality and Spark's execution model.
- Classify examples by the V's; spot sampling bias
- Choose imputation and outlier strategies for a scenario
- Explain narrow vs wide transformations
Final Examination
End-of-Semester Examination
Tests application and judgement: choosing methods, interpreting outputs, and designing a pipeline for a stated problem, rather than recalling definitions.
- Part I — collection, sampling, quality, Spark
- Part II — descriptive, predictive, prescriptive, survival
- Part III — text, network, web, visualisation
Your Journey
Learning path through this course
Course Resources
Materials & references
Pipeline Guide
Step-by-step capstone with diagrams, code and checkpoints
Pipeline Project Files
Runnable code, sample data, Docker Compose cluster
Week 2 Notebook
Sampling, reservoir, Count-Min, HyperLogLog
Week 3 Notebook
Data-quality pipeline on the messy-customers data
Spark Documentation
SQL, DataFrame and ML guides; cluster mode overview
Apache Parquet
Columnar storage format used throughout the pipeline
Docker Docs
Install Docker and use Compose for the cluster lab
Suggested Reading
Damji et al., Learning Spark, 2nd ed. · Kleppmann, Designing Data-Intensive Applications · Leskovec et al., Mining of Massive Datasets
About This Module
Module Information
SENG 42293 — Big Data Analytics is a 3-credit Level 4 compulsory module delivered by Eng. Dr. Tiroshan Madushanka of the Software Engineering Teaching Unit, University of Kelaniya.
Pre-requisite: SENG 41303 Big Data Infrastructure. You should be comfortable with the Hadoop/Spark ecosystem, distributed storage concepts and basic cluster operations.
Academic integrity: labs, notebooks and project reports are checked for plagiarism. Write explanations in your own words.
Software to install: Python 3.10–3.13, Jupyter, Java 17, PySpark 3.5 (or Databricks Community Edition), and Docker Desktop for the cluster lab.
Contact: Office hours by appointment. Use the University LMS for submissions and announcements.