A tantárgyleírás hatályossága
Hatályosság kezdete:
2026. March 21.
Hatályosság vége:
—
| Subject name (Hungarian, English) |
Gépi tanulás
Machine Learning
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Subject code | BMEVIMIMA27 | ||||||||||||
| Subject type | — | ||||||||||||
| Training Level | — | ||||||||||||
| Course types and hours (weekly/semester) |
|
||||||||||||
| Assessment type | vizsga | ||||||||||||
| Credits | 5 | ||||||||||||
| Subject coordinator |
DR. Antal Péter
position: egyetemi docens
contact:
antal.peter@vik.bme.hu
|
||||||||||||
| Responsible department |
Mesterséges Intelligencia és Rendszertervezés Tanszék
|
||||||||||||
| Faculty | Villamosmérnöki és Informatikai Kar | ||||||||||||
| Subject website | — | ||||||||||||
| Primary curriculum type | — | ||||||||||||
| Direct prerequisites – Strong prerequisite | none | ||||||||||||
| Direct prerequisites – Weak prerequisite | none | ||||||||||||
| Direct prerequisites – Parallel prerequisite | none | ||||||||||||
| Direct prerequisites – Milestone prerequisite | none | ||||||||||||
| Direct prerequisites – Exclusion | none |
Objectives
Programme
Detailed topics of the lectures:
- Introduction. Artificial intelligence, machine learning, and data science. Machine learning as inference. Learning from observations and interventions. Trustworthy and explainable machine learning.
- Basic concepts of Bayesian probability theory. Probability, prior, likelihood, posterior. Maximum likelihood (ML), maximum a posteriori (MAP), fully Bayesian inference, model averaging. The difficulties of fully Bayesian inference (examples when there is an analytical solution). Conjugated priors (examples of their use).
- Basic concepts of machine learning. Generative and discriminative models, discriminative functions in machine learning (examples). Bias-variance decomposition, underfitting, overfitting, regularization. Probabilistic derivation of commonly used loss functions and regularization schemes. Evaluation (CV, AUC, AUPR).
- Regression. The basic task, the probabilistic model of linear regression, ML and MAP estimation, derivation of analytical formulas for these estimations, the solution process, numerical aspects. Fully Bayesian inference. Non-linear extensions: application of basis functions, commonly used basis functions.
- Classification. The basic task, the probabilistic model of logistic regression. Derivation of the perceptron using Bayes' theorem, ML and MAP estimation, derivation of iterative formulas (sigmoid function, gradient), the solution process, numerical aspects.
- Neural networks. MLP architecture, ML and MAP estimation, derivation of the backpropagation algorithm. Activation functions used in neural models, methods of regularization. Convolutional and recurrent architectures, the types of layers used in them, example applications.
- Optimization in neural models. The difficulties of optimization, analytical and numerical aspects. Basic principles of optimization algorithms (batch, momentum, adaptive learning rate, higher-order methods). Notable algorithms.
- Variational methods. Approximate Bayesian inference, ELBO+KL decomposition, the basic principle of variational methods. BBVI, stochastic gradient-based optimization. Reparametrization trick, VAE. The idea of adversarial training, the basic principle of GAN architectures.
- MCMC. The basic principle of MCMC methods. Properties of Markov chains. Sufficient condition for the existence of the equilibrium distribution. Metropolis, Metropolis-Hastings algorithm. Gibbs sampling, conjugated priors. Example: Bayesian linear regression with Gibbs sampling.
- Probabilistic Graphical Models: Covers Bayesian Networks and Markov Random Fields for modelling conditional dependencies among variables. Includes inference, network structure learning, and parameter estimation, emphasizing practical applications and inference techniques.
- Transformers: Focuses on the transformer architecture's impact on deep learning, especially in NLP. Discusses self-attention mechanisms, positional encoding, and advancements in machine translation and text summarization, highlighting recent developments.
Detailed topics of the exercises:
- Bayesian Thinking. Maximum likelihood estimation, posterior calculation in conjugated models.
- Linear Models. Bayesian models of regression and classification, calculating posterior and predictive distributions, numerical stability of implementation.
- Neural Networks. Implementation of MLP, convolutional networks using PyTorch/Tensorflow, optimization, evaluating predictive performance.
- Variational Inference. Inference in non-conjugated models, generative modelling with variational autoencoders.
- MCMC. Gibbs sampling in hierarchical models, time series analysis, changepoint models.
- Bayesian Networks. Constructing, querying, learning Bayesian Networks: Students will learn how to build Bayesian Networks to represent probabilistic relationships among variables. Exercises include constructing networks from real-world data, performing inference to calculate conditional probabilities, and using software tools to query the networks and perform diagnostic reasoning.
- Transformers. Implementing a Transformer Model: Students will gain hands-on experience with the transformer architecture by implementing a simple transformer model. The exercise will cover key components of transformers, including self-attention mechanisms, and use frameworks to build and train the model on a dataset. Further, students will evaluate the model's performance and explore the impact of different hyperparameters.
The course deals with the possibilities of computer implementation of one
of the fundamental abilities of intelligent systems: learning. It introduces
the types of machine learning, summarizes the theoretical foundations of
machine learning, and analyses the most important learning architectures in
detail. The subject examines machine learning within a unified probabilistic
framework, touching upon mathematical, philosophical, and programming aspects.
Beyond presenting theoretical foundations, the course aims to develop practical
problem-solving skills. This is achieved through the use of a unified approach
and the presentation of complex application examples. The methods learned in
the course serve as a foundation and background for solving research and
development tasks.
Learning outcomes
Ez a tantárgy a KKK rendeletben meghatározott, következő kompetenciák fejlesztését szolgálja:
Knowledge
No learning outcomes recorded.
Skills
No learning outcomes recorded.
Attitudes
No learning outcomes recorded.
Autonomy and responsibility
No learning outcomes recorded.
Oktatási módszertan
2 hours of lectures per week, 1 hour of practice (computational exercise
and computer laboratory exercise).
Tanulástámogató anyagok
Online források
C. M. Bishop, H. Bishop: Deep learning, 2024.
Recommended preliminary knowledge for completing the subject
Knowledge type competencies
(azon előzetes ismeretek összessége, amelyek megléte nem kötelező, de a tantárgy eredményes teljesítését nagyban elősegíti)
nincs
Skill type competencies
(azon előzetes képességek és készségek összessége, amelyek megléte nem kötelező, de a tantárgy eredményes teljesítését nagyban elősegíti)
nincs
Recommended (non-compulsory) preliminary competencies
(azon ajánlott (nem kötelező) előzetesen megszerzendő kompetenciák összessége, amelyek jelentősen hozzájárulnak a tantárgy eredményes teljesítéséhez)
nincs
General rules
Requirements:
During the semester: Completion of exercises bi-weekly (submission of
reports).
During the exam period: Oral exam.
Additional possibilities:
Two reports can be submitted until the end of the makeup week.
Assessment methods
In-term assessments
No detailed assessments provided.
Weight of in-term assessments
No weights provided.
Exam-period assessments
No detailed assessments provided.
Weight of exam elements
No weights provided.
Grade calculation
No grade thresholds provided.
Attendance requirements
No attendance requirements provided.
Rules for retake and resubmission
Not provided.
Short description
Not provided.
Detailed description
Not provided.
Recommended courses
Probability
theory, Python programming
Workload to complete the subject
No workload breakdown provided.
Validity of subject requirements
Requirements valid from:
—
Requirements valid until:
—
Curriculum placement
No curriculum placements recorded for this subject version.