Information
| Unit | INSTITUTE OF NATURAL AND APPLIED SCIENCES |
| ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING (MASTER) (WITH THESIS) (ENGLISH) | |
| Code | AIE511 |
| Name | Big Data Analytics |
| Term | 2026-2027 Academic Year |
| Term | Fall and Spring |
| Duration (T+A) | 3-0 (T-A) (17 Week) |
| ECTS | 6 ECTS |
| National Credit | 3 National Credit |
| Teaching Language | İngilizce |
| Level | Lisansüstü Dersi |
| Type | Normal |
| Mode of study | Yüz Yüze Öğretim |
| Catalog Information Coordinator | Doç. Dr. Kasım ZOR |
| Course Instructor |
The current term course schedule has not been prepared yet.
|
Course Goal / Objective
The aim of this course is to give students a sound understanding of the characteristics of big data, distributed storage and processing architectures, and scalable analytical methods. The course aims to develop the ability to build data processing, querying and machine learning pipelines on batch and streaming data using current big data tools, notably Apache Spark. It also develops the competence to design end-to-end big data solutions on cloud platforms with due regard to data governance, security and cost.
Course Content
Characteristics of big data (volume, velocity, variety, veracity, value) and the big data ecosystem; distributed systems fundamentals (scaling, partitioning, replication, consistency, the CAP theorem); distributed file systems (HDFS), data lakes and columnar file formats (Parquet, ORC); the MapReduce programming model; Apache Spark architecture, RDDs, the DataFrame API and Spark SQL; performance tuning of Spark applications; NoSQL databases (key-value, document, wide-column, graph); event streaming with Apache Kafka and stream processing with Spark Structured Streaming; scalable machine learning with Spark MLlib; large-scale similarity search (MinHash, LSH) and distributed graph analytics (PageRank, Pregel, GraphFrames); cloud data platforms and the lakehouse architecture; data governance, data quality, security and personal data protection; term project.
Course Precondition
None. Knowledge of Python programming, basic SQL and machine learning fundamentals (e.g. AIE507) is recommended.
Resources
Supplementary materials: the open materials of the Stanford CS246 course "Mining Massive Data Sets", which is based on the book by Leskovec, Rajaraman and Ullman; the official documentation of Apache Spark, Apache Kafka and Apache Parquet; key papers: Ghemawat, Gobioff and Leung (2003) "The Google File System", Dean and Ghemawat (2008) "MapReduce: Simplified Data Processing on Large Clusters", Zaharia et al. (2012) "Resilient Distributed Datasets" and Armbrust et al. (2015) "Spark SQL: Relational Data Processing in Spark". Software: Python, PySpark (Spark SQL, Structured Streaming, MLlib), Apache Kafka, MLflow and Docker; practical work is carried out on local clusters and in educational environments of cloud platforms. Data mining algorithms are treated in detail in AIE504 and classical machine learning methods in AIE507. Students prepare a term project in which they develop an end-to-end pipeline on a large-scale open dataset, write up the results as a scientific report and present them.
Notes
Course Learning Outcomes
| Order | Course Learning Outcomes |
|---|---|
| LO01 | Explain the characteristics of big data and the core principles of distributed systems (partitioning, replication, consistency, fault tolerance) together with their implications for analytical workloads. |
| LO02 | Select and justify an appropriate storage layer (distributed file system, data lake, columnar formats, NoSQL databases) for a given application. |
| LO03 | Develop scalable data processing and querying applications on large datasets with MapReduce and Apache Spark (RDD, DataFrame, Spark SQL), and tune their performance. |
| LO04 | Design and implement real-time stream processing pipelines with windowing, watermarks and state management using Apache Kafka and Spark Structured Streaming. |
| LO05 | Build machine learning pipelines in a distributed environment with Spark MLlib, and apply large-scale similarity search and graph analytics algorithms. |
| LO06 | Evaluate cloud-based big data architectures by comparing them in terms of scalability, cost and latency. |
| LO07 | Carry out an end-to-end big data project that complies with data governance, data quality, security and personal data protection (KVKK, GDPR) requirements, and present it in written and oral form. |
Relation with Program Learning Outcome
| Order | Type | Program Learning Outcomes | Level |
|---|---|---|---|
| PLO01 | Bilgi - Kuramsal, Olgusal | Building on undergraduate-level qualifications, has advanced theoretical knowledge of linear algebra, multivariable calculus, probability, statistics, optimisation and information theory required for original work in artificial intelligence and machine learning. | |
| PLO02 | Bilgi - Kuramsal, Olgusal | Has an in-depth understanding of current methods in the main sub-fields of artificial intelligence, notably machine learning, deep learning, reinforcement learning, computer vision, natural language processing and generative models, together with their assumptions and limitations. | 3 |
| PLO03 | Beceriler - Bilişsel, Uygulamalı | Formulates real-world problems as appropriate artificial intelligence/machine learning problems, and designs and implements solutions covering data preparation, model selection, training and evaluation. | 4 |
| PLO04 | Beceriler - Bilişsel, Uygulamalı | Develops efficient, scalable and reproducible software and models using Python and current libraries and frameworks, and makes effective use of big data and high-performance computing resources. | 5 |
| PLO05 | Beceriler - Bilişsel, Uygulamalı | Evaluates methods with appropriate performance metrics, statistical tests and comparative experiments, interprets results critically and designs reproducible experimental protocols. | |
| PLO06 | Yetkinlikler - Öğrenme Yetkinliği | Reviews the national and international literature of the field systematically and critically, independently learns new and emerging methods, and adapts them to their own research problem. | |
| PLO07 | Yetkinlikler - Bağımsız Çalışabilme ve Sorumluluk Alabilme Yetkinliği | Defines a research problem in the field, solves it independently by developing an original method or model, and conducts a thesis study that contributes to scientific knowledge. | |
| PLO08 | Yetkinlikler - Bağımsız Çalışabilme ve Sorumluluk Alabilme Yetkinliği | Takes responsibility and leadership in interdisciplinary teams working on complex problems in application domains such as health, energy, agriculture, industry, finance and logistics, and develops solutions together with domain experts. | 2 |
| PLO09 | Yetkinlikler - İletişim ve Sosyal Yetkinlik | Communicates the processes and results of their work clearly and systematically in English, in written (paper, thesis, report) and oral form, in national and international settings. | |
| PLO10 | Yetkinlikler - Alana Özgü Yetkinlik | Observes scientific and professional ethics, data privacy, fairness, transparency and safety principles and the relevant legal regulations in developing and using AI systems, and assesses their societal impact | |
| PLO11 | Yetkinlikler - Alana Özgü Yetkinlik | Deploys trustworthy, explainable and sustainable AI solutions to real environments such as the cloud, edge devices and industrial systems, taking into account resource constraints such as energy, memory and latency. |
Week Plan
| Week | Topic | Preparation | Methods |
|---|---|---|---|
| 1 | Introduction to big data: characteristics of big data (the 5Vs), the big data ecosystem and use cases, batch and stream processing, Lambda and Kappa architectures | Read Kleppmann and Riccomini (2026), Chapter 1, and Leskovec et al. (2020), Chapter 1 | Öğretim Yöntemleri: Anlatım, Tartışma |
| 2 | Distributed systems fundamentals: vertical and horizontal scaling, partitioning, replication, consistency models, the CAP theorem and fault tolerance | Read the chapters on replication and partitioning in Kleppmann and Riccomini (2026) | Öğretim Yöntemleri: Anlatım, Soru-Cevap, Tartışma |
| 3 | Distributed storage: HDFS architecture, object storage and data lakes, columnar file formats (Parquet, ORC), compression and partitioned data layouts | Read Ghemawat, Gobioff and Leung (2003), "The Google File System", and the chapters on storage and data encoding in Kleppmann and Riccomini (2026) | Öğretim Yöntemleri: Anlatım, Gösteri |
| 4 | The MapReduce programming model: map, shuffle and reduce phases, combiners, joins and matrix operations with MapReduce, limitations of the model | Read Leskovec et al. (2020), Chapter 2, and Dean and Ghemawat (2008) | Öğretim Yöntemleri: Anlatım, Problem Çözme, Alıştırma ve Uygulama |
| 5 | Apache Spark architecture: driver and executors, RDDs, transformations and actions, lazy evaluation, the DAG scheduler, lineage-based fault tolerance | Apache Spark architecture: driver and executors, RDDs, transformations and actions, lazy evaluation, the DAG scheduler, lineage-based fault tolerance | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 6 | Structured APIs: the DataFrame API and Spark SQL, schemas, the Catalyst optimiser, join strategies, user-defined functions and external data sources | Read Damji et al. (2020), Chapters 3–5 | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama |
| 7 | Performance tuning of Spark applications: number of partitions, shuffle cost, caching, data skew, adaptive query execution and debugging with the Spark UI; review before the mid-term examination | Read Damji et al. (2020), Chapter 7; review the topics of weeks 1–6 | Öğretim Yöntemleri: Anlatım, Problem Çözme, Soru-Cevap |
| 8 | Mid-Term Exam | exam preparation | Ölçme Yöntemleri: Yazılı Sınav |
| 9 | NoSQL databases: key-value, document, wide-column and graph data models; MongoDB and Apache Cassandra examples; choosing a data model and database according to the workload | Read the chapter on data models and query languages in Kleppmann and Riccomini (2026) | Öğretim Yöntemleri: Anlatım, Gösteri, Örnek Olay |
| 10 | Event streaming and messaging: Apache Kafka architecture, topics and partitions, producers and consumers, consumer groups, delivery guarantees and integration of data pipelines | Read Shapira et al. (2021), Chapters 1, 3 and 4 | Öğretim Yöntemleri: Anlatım, Gösteri, Örnek Olay |
| 11 | Stream processing: event time versus processing time, windowing, watermarks, state management, exactly-once processing; implementation with Spark Structured Streaming | Read Akidau et al. (2018), Chapters 1–3, and Damji et al. (2020), Chapter 8 | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Problem Çözme |
| 12 | Scalable machine learning: Spark MLlib pipelines, distributed feature transformations, model training and hyperparameter tuning, experiment tracking with MLflow and applying models at scale | Read Damji et al. (2020), Chapters 10 and 11, and Leskovec et al. (2020), Chapter 12 | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 13 | Large-scale similarity search and graph analytics: MinHash, locality-sensitive hashing (LSH), distributed computation of PageRank, the Pregel model and GraphFrames | Read Leskovec et al. (2020), Chapters 3 and 5, and the graph analytics chapter of Chambers and Zaharia (2018) | Öğretim Yöntemleri: Anlatım, Problem Çözme |
| 14 | Cloud data platforms and data governance: managed Spark services, the lakehouse architecture (Delta Lake, Apache Iceberg), cost management; data quality, data lineage, access control, KVKK and GDPR compliance | Read Damji et al. (2020), Chapter 9; prepare the term project report | Öğretim Yöntemleri: Örnek Olay, Tartışma |
| 15 | Term project presentations: design of end-to-end big data pipelines, performance and cost evaluation; overall course review | Prepare the project presentation and final report | Öğretim Yöntemleri: Proje Temelli Öğrenme , Tartışma |
| 16 | Term Exams | exam preparation | Ölçme Yöntemleri: Proje / Tasarım |
| 17 | Term Exams | exam preparation | Ölçme Yöntemleri: Proje / Tasarım |
Student Workload - ECTS
| Works | Number | Time (Hour) | Workload (Hour) |
|---|---|---|---|
| Course Related Works | |||
| Class Time (Exam weeks are excluded) | 14 | 3 | 42 |
| Out of Class Study (Preliminary Work, Practice) | 14 | 4 | 56 |
| Assesment Related Works | |||
| Homeworks, Projects, Others | 0 | 0 | 0 |
| Mid-term Exams (Written, Oral, etc.) | 1 | 18 | 18 |
| Final Exam | 1 | 24 | 24 |
| Total Workload (Hour) | 140 | ||
| Total Workload / 25 (h) | 5,60 | ||
| ECTS | 6 ECTS | ||