Information
| Unit | INSTITUTE OF NATURAL AND APPLIED SCIENCES |
| ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING (MASTER) (WITH THESIS) (ENGLISH) | |
| Code | AIE504 |
| Name | Applied Data Mining |
| 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 provide students with hands-on competence in the data mining processes and methods needed to extract meaningful, valid and actionable patterns from large and complex data sets. Within the framework of the KDD and CRISP-DM process models, the course covers data preprocessing, association rules, frequent and sequential pattern mining, clustering, outlier detection, text, web and graph mining, and recommender systems. Students are expected to apply these methods to real data sets and to interpret the results using domain knowledge.
Course Content
Knowledge discovery in databases (KDD) and the CRISP-DM process model; data types, descriptive statistics, similarity and distance measures; data quality and preprocessing (cleaning, integration, transformation, discretisation, data reduction); association rule mining with Apriori and FP-Growth, interestingness measures, closed and maximal itemsets; sequential pattern mining (GSP, PrefixSpan); cluster analysis: k-means and k-medoids, hierarchical and density-based clustering (DBSCAN, HDBSCAN), cluster validation; outlier and anomaly detection (statistical, distance- and density-based methods, LOF, isolation forest); text mining (vector space model, TF-IDF, topic modelling); web mining and link analysis (PageRank, HITS), similarity search with locality-sensitive hashing; graph and network mining (centrality, community detection, link prediction); recommender systems (content-based and collaborative filtering, matrix factorisation); privacy and ethics in data mining; term project.
Course Precondition
None. Python programming and a basic knowledge of statistics are recommended; taking AIE507 beforehand or concurrently is beneficial.
Resources
Hands-on sessions are run in Jupyter notebooks with Python (pandas, scikit-learn, mlxtend, NetworkX, gensim, scikit-surprise); Orange or KNIME may also be used as visual workflow-based tools. Supplementary materials: Chapman et al. (2000), CRISP-DM 1.0: Step-by-Step Data Mining Guide; Agrawal and Srikant (1994), 'Fast Algorithms for Mining Association Rules', VLDB; Han, Pei and Yin (2000), 'Mining Frequent Patterns without Candidate Generation', SIGMOD; Ester et al. (1996), 'A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise', KDD; Breunig et al. (2000), 'LOF: Identifying Density-Based Local Outliers', SIGMOD; Liu, Ting and Zhou (2008), 'Isolation Forest', ICDM; Blei, Ng and Jordan (2003), 'Latent Dirichlet Allocation', Journal of Machine Learning Research; Koren, Bell and Volinsky (2009), 'Matrix Factorization Techniques for Recommender Systems', IEEE Computer. The book by Leskovec et al. (2020) and the associated Stanford CS246 (Mining Massive Data Sets) course materials are freely available online. Students carry out a term project that follows the CRISP-DM steps and is based on a real data set; the project is completed with a report and an oral presentation. Supervised classification methods are covered in AIE507, and large-scale and distributed data processing in AIE511.
Notes
1. Han, J., Pei, J., Tong, H. (2023). Data Mining: Concepts and Techniques (4th ed.). Morgan Kaufmann. 2. Tan, P.-N., Steinbach, M., Karpatne, A., Kumar, V. (2019). Introduction to Data Mining (2nd ed.). Pearson. 3. Zaki, M. J., Meira, W., Jr. (2020). Data Mining and Machine Learning: Fundamental Concepts and Algorithms (2nd ed.). Cambridge University Press. 4. Aggarwal, C. C. (2015). Data Mining: The Textbook. Springer. 5. Leskovec, J., Rajaraman, A., Ullman, J. D. (2020). Mining of Massive Datasets (3rd ed.). Cambridge University Press. 6. Aggarwal, C. C. (2016). Recommender Systems: The Textbook. Springer.
Course Learning Outcomes
| Order | Course Learning Outcomes |
|---|---|
| LO01 | Explain the KDD and CRISP-DM process models and plan a data mining project accordingly, from problem understanding to the deployment of results. |
| LO02 | Assess data quality and apply suitable preprocessing techniques (cleaning, integration, transformation, discretisation, data reduction) to real data sets. |
| LO03 | Discover frequent itemsets, association rules and sequential patterns with algorithms such as Apriori, FP-Growth and PrefixSpan, and evaluate them with interestingness measures. |
| LO04 | Apply partitional, hierarchical and density-based clustering methods and validate the resulting clusters with internal and external validity indices |
| LO05 | Select and apply appropriate methods for outlier and anomaly detection, and justify the choice according to the context of the data and the problem. |
| LO06 | Analyse text, web and network data with text mining, link analysis and community detection techniques, and design a basic recommender system. |
| LO07 | Carry out an end-to-end data mining project on a real data set in Python, interpret the results critically with regard to domain knowledge and privacy, and report them 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. | 2 |
| 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. | 5 |
| 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. | 4 |
| PLO05 | Beceriler - Bilişsel, Uygulamalı | Evaluates methods with appropriate performance metrics, statistical tests and comparative experiments, interprets results critically and designs reproducible experimental protocols. | 3 |
| 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. | 3 |
| 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. | 3 |
| 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. | 3 |
| 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 | 2 |
| 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 data mining: the knowledge discovery in databases (KDD) process, the CRISP-DM process model, data mining tasks, application areas and software tools | Read Han et al. (2023), Chapter 1, and Tan et al. (2019), Chapter 1 | Öğretim Yöntemleri: Anlatım, Tartışma, Gösteri |
| 2 | Getting to know the data: attribute and data set types, descriptive statistics, data visualisation, similarity and distance measures (Euclidean, Minkowski, cosine, Jaccard) | Read Tan et al. (2019), Sections 2.1 and 2.4 | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 3 | Data quality and preprocessing: missing and noisy data, data cleaning and integration, transformation and normalisation, discretisation, data reduction through sampling and dimensionality reduction | Read Tan et al. (2019), Sections 2.2 and 2.3, and the data preprocessing chapter of Han et al. (2023) | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Problem Çözme |
| 4 | Association rule mining I: frequent itemsets, support, confidence and lift, the Apriori algorithm, rule generation, a market-basket analysis application | Read Tan et al. (2019), Chapter 5 | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Problem Çözme |
| 5 | Association rule mining II: the FP-Growth algorithm, closed and maximal itemsets, interestingness measures, categorical and continuous attributes, multilevel association rules | Read Tan et al. (2019), Chapters 5 and 6, and the paper by Han, Pei and Yin (2000) | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Problem Çözme |
| 6 | Sequential pattern mining: sequence data and representation, the GSP, PrefixSpan and SPADE algorithms, timing constraints, introduction to subgraph patterns; clickstream and customer-journey applications | Read Tan et al. (2019), Chapter 6, and the sequence mining chapter of Zaki and Meira (2020) | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Problem Çözme |
| 7 | Cluster analysis I: partitional clustering, k-means, k-means++ initialisation, k-medoids (PAM), choosing the number of clusters; mid-term review | Read Tan et al. (2019), Chapter 7 | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Soru-Cevap |
| 8 | Mid-Term Exam | exam preparation | Ölçme Yöntemleri: Yazılı Sınav |
| 9 | Cluster analysis II: hierarchical clustering and linkage criteria, density-based clustering (DBSCAN, OPTICS, HDBSCAN), cluster validation (silhouette, Davies–Bouldin, adjusted Rand index); term-project proposals | Read Tan et al. (2019), Chapters 7 and 8, and Han et al. (2023), Chapter 8; prepare the project proposal | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 10 | Outlier and anomaly detection: statistical, distance-based and density-based methods, local outlier factor (LOF), isolation forest, contextual and collective anomalies, evaluation | Read Tan et al. (2019), Chapter 9, and Han et al. (2023), Chapter 11 | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 11 | Text mining: text preprocessing, the vector space model, TF-IDF weighting, document similarity and clustering, topic modelling (LDA), keyword extraction (deep NLP methods are covered in AIE508) | Read the text mining chapter of Aggarwal (2015) and the paper by Blei, Ng and Jordan (2003) | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 12 | Web mining and similarity search: web content, structure and usage mining, link analysis (PageRank, HITS), shingling, minhashing and locality-sensitive hashing (LSH) | Read Leskovec et al. (2020), Chapters 3 and 5 | Öğretim Yöntemleri: Anlatım, Problem Çözme, Alıştırma ve Uygulama |
| 13 | Graph and network mining: network properties, centrality measures, community detection (Girvan–Newman, Louvain), link prediction, a social network analysis application with NetworkX | Read Leskovec et al. (2020), Chapter 10 | Öğretim Yöntemleri: Anlatım, Gösteri, Alıştırma ve Uygulama |
| 14 | Recommender systems: content-based and collaborative filtering (user- and item-based), matrix factorisation, the cold-start problem, evaluation metrics (RMSE, precision@k, NDCG) | Read Leskovec et al. (2020), Chapter 9; the relevant chapters of Aggarwal (2016); and the paper by Koren, Bell and Volinsky (2009) | Öğretim Yöntemleri: Anlatım, Alıştırma ve Uygulama, Örnek Olay |
| 15 | Privacy and ethics in data mining (anonymisation, KVKK; treated in detail in AIE516 and AIE520); term-project presentations and course review | Prepare the project report and presentation | Öğretim Yöntemleri: Tartışma, Soru-Cevap |
| 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 | ||