mehmetsongur/Machine-Learning-in-Economics-and-Finance
About
Weekly materials for the Dicle University course Machine Learning in Economics and Finance: slides, lecture videos and code. Course taught in Turkish.
Learning & EducationMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalMachine Learning in Economics and Finance

Weekly materials for the 14-week course Machine Learning in Economics and Finance at Dicle University: slides, lecture videos and code. The course is taught in Turkish.
Course page (Turkish): https://www.songurmehmet.com/dersler/ekonomi-ve-finansta-makine-ogrenmesi.html
🇹🇷 Dersin Türkçe sayfası için yukarıdaki bağlantıya tıklayın; slaytlar ve videolar Türkçedir.
Format: a theory block (weeks 1–8) followed by an applied block in Google Colab (weeks 9–14). Slides, videos and code are added to each week as they are published.
Before each class: the lecture videos are pre-class material. Students are expected to watch the week's video before coming to class.
🇹🇷 Videolar ders öncesi izlenmesi gereken materyallerdir; öğrencilerin her haftanın videosunu derse gelmeden önce izlemesi beklenir.
Code for the theory weeks: each notebook reproduces the simulations behind the figures and tables in that week's lecture notes and slides (simulated data, fixed random seeds, so the numbers match the course materials). The notebooks are in Turkish and run in Google Colab with no installation; locally they need numpy, pandas, matplotlib and scikit-learn (Week 6 also uses shap, which the notebook installs if missing).
Self-study lab: ML Lab is a no-install, in-browser companion for students who have never written code: have AI write the code, audit it and interpret the result (source and Colab notebooks: ml-lab).
🇹🇷 Kod yazmaya yeni başlayanlar için tarayıcıda çalışan, kurulumsuz bir öz çalışma ortamı: ML Laboratuvarı.
Last updated: 17 November 2026
Theory block
| Week | Topic | Slides | Video | Code |
|---|---|---|---|---|
| 1 | Artificial intelligence, machine learning and deep learning; how they differ from econometrics (prediction vs. causality) | Watch | Notebook · Colab | |
| 2 | Types of learning, features and target, data types, data preparation concepts | Watch | Notebook · Colab | |
| 3 | Model performance: overfitting, bias–variance, cross-validation, data leakage | Watch | Notebook · Colab | |
| 4 | Regression and regularization: OLS, Ridge, Lasso | Watch | Notebook · Colab | |
| 5 | Classification: logistic regression, confusion matrix, ROC-AUC, imbalanced data | Watch | Notebook · Colab | |
| 6 | Trees and ensemble methods (random forest, boosting); interpretability (SHAP) | Watch | Notebook · Colab | |
| 7 | Unsupervised learning and text analysis: k-means, PCA; turning text into numbers (bag of words, TF-IDF), dictionary-based tone measurement, intuition for topic modelling, text classification with LLMs | — | — | — |
| 8 | Midterm exam |
Applied block (Google Colab)
| Week | Topic | Slides | Video | Code |
|---|---|---|---|---|
| 9 | Introduction to Colab and Python; pulling data from EVDS (CBRT) and FRED | — | — | — |
| 10 | Inflation forecasting: OLS and Lasso | — | — | — |
| 11 | Credit risk: logistic regression, random forest and XGBoost; interpretation with SHAP | — | — | — |
| 12 | Financial time series: exchange rate or BIST returns, time-based validation | — | — | — |
| 13 | Text analysis: CBRT Monetary Policy Committee decision texts → TF-IDF → k-means period clusters; building a tone score and comparing it with the policy rate; classifying the same texts with an LLM and comparing with the dictionary method | — | — | — |
| 14 | Project presentations |
Author
Prof. Dr. Mehmet Songur
Department of Economics, Faculty of Economics and Administrative Sciences
Dicle University · Diyarbakır, Türkiye
Areas of specialisation: economics, macroeconomics, econometrics, applied AI
Academic Profiles
Links
License
© 2026 Mehmet Songur. The course materials in this repository are licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).
You may share and link to them in teaching, with attribution to the author. Commercial use and modified versions are not permitted.
Third-party material included in the slides (figures, tables, data) is excluded from this license and remains subject to its own terms.
The code in the code/ folder (Jupyter notebooks) is licensed separately under the MIT License: you may use, adapt and redistribute it, including in your own courses, provided the copyright notice is kept.
Explore related projects
Loading…