Machine Learning
Keywords |
Classification |
Keyword |
OFICIAL |
Computer Science |
Instance: 2024/2025 - 2S 
Cycles of Study/Courses
Teaching Staff - Responsibilities
Teaching language
English
Objectives
Students should get to know some of the algorithmic, statisticaland computational foundations of machine learning, as well as concrete methods of machine learning from linear regression to deep and reinforcement learning. They should be able to fundamentedlly select the appropriate algorithms and their hyperparameters for each problem/data set. They should understand and know how to apply methods for inspecting and evaluating approaches and estimating performance.
Learning outcomes and competences
- Understanding the fundamentals of machine learning algorithms and methodologies presented, in particular of deep and reinforement learning.
- Ability to justify the choice of a machine learning solution to a given problem
- Ability to apply the algorithms to new problems
- Ability to evaluate results
Working method
Presencial
Pre-requirements (prior knowledge) and co-requirements (common knowledge)
- Introductory knowledge of data science (for example, obtained in the courses Introduction to Data Science or Data Mining I).
- Programming knowledge preferably in Python. Experienced programmers in other languages should not have any problems.
- Knowledge of data processing with files and in SQL databases
- Knowledge of statistical inference
- Knowledge of basic matrix algebra and calculus in R and R^
Program
In this course we will (re) visit fundamental concepts and algorithms for model learning and pattern discovery. There will be a focus on their justified application and example-driven experimentation.
Topics:
- Introduction to the area: what is machine learning
- Simple classification and regression models (linear models and nearest neighbor models) and their validation: learning paradigms, loss functions, bias error and variance.
- Foundations and methods for model Evaluation
- Inference methods of models: Search, Expectation-maximization, aggregation.
- Kernel Methods
- Neural networks, deep models and representation learning
- Reinforcement learning
- Unsupervised, semi-supervised and poorly supervised pattern discovery.
Mandatory literature
Hastie Trevor;
The elements of statistical learning. ISBN: 0-387-95284-5
Kevin Murphy; Probabilistic Machine Learning: An Introduction, MIT Press, 2022. ISBN: 9780262046824 (Available online: https://probml.github.io/pml-book/book1.html)
Complementary Bibliography
Ian Goodfellow and Yoshua Bengio and Aaron Courville; Deep Learning, MIT Press, 2016
Teaching methods and learning activities
The classes will be partly expositive, with individual and group dynamics involving the students. Practical out-of-class work will be done with classroom support. Students will also be able to do writing and presentation work. There will be a test and a final exam.
Evaluation Type
Distributed evaluation with final exam
Assessment Components
designation |
Weight (%) |
Exame |
70,00 |
Trabalho prático ou de projeto |
30,00 |
Total: |
100,00 |
Amount of time allocated to each course unit
designation |
Time (hours) |
Estudo autónomo |
86,00 |
Frequência das aulas |
42,00 |
Elaboração de projeto |
32,00 |
Total: |
160,00 |
Eligibility for exams
n/a
Calculation formula of final grade
The assessment of the course is distributed, consisting of a midterm test during the semester, a final exam and a practical assignment at the end of the semester.
The final grade is calculated by the weighted average of the practical and theoretical grades through the formula:
NF = 0.7 * max((T1+T2),Ex) + 0.2 * TP + 0.1 * AP
where:
T1 is the grade for Test 1,
T2 is the grade for Test 2,
Ex is the grade for the Final Exam,
TP is the grade for the Practical Assignment and
AP is the grade for the presentation.
Students who do not obtain a minimum of 30% in each component, i.e. 6 out of 20, will not be approved.
The grades for the tests and assignment may count towards approval. In this case, the final exam (normal or appeal exam) may be used to improve the grade. Those who do not obtain a positive grade with only the tests and assignment will have the opportunity to pass in one of the two exam periods.Special assessment (TE, DA, ...)
Students under special circumstances should describe their situation to the responsible.
Classification improvement
The exam grade can be improved in subsequent seasons to which the student may have access.
The test grade can be improved by the exam grade.
The assignments grade cannot be improved after submission.
Observations
All the materials of the UC are in moodle.
The materials will be all in English, including the exams. Classes will be taught in English if this is convenient. Students can participate / respond using Portuguese or English.
Júri: Inês Dutra, Rita Ribeiro and Alípio Jorge.