Skip to main content
Till KTH:s startsida Till KTH:s startsida

EP231U Fundamentals of Applied Machine Learning 5.0 credits

Course offerings are missing for current or upcoming semesters.
Headings with content from the Course syllabus EP231U (Autumn 2020–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

Introduction and motivation
Survey of motivating applications, good and bad
Course plan and assignment structure
Presentation of learning and modelling: Machine learning in a graphics rendering system
Example: Nearest neighbor classification
Parameters and hyperparameters
Training, validation and testing
Partitioning data: Hold out, the bootstrap, K-fold CV, LOOCV, etc.
Performance metrics: Confusion table, accuracy, precision, and recall 
Supervised learning 1
Probabilistic classification and regression
Incorporating notions of risk in classification and regression
Bayesian classification: Linear discriminant analysis
Bayesian classification: Quadratic discriminant analysis
Bayesian classification: Naive Bayes
Supervised learning 2
Parameter estimation
Least squares regression
Regularization: LASSO, ridge regression
Bayesian regression
Logistic regression
Unsupervised learning 1
What is unsupervised learning?
The curse of dimensionality
Principal component analysis
Multidimensional scaling
Overview of K-means
Unsupervised learning 2
Hierarchical clustering
Density based clustering
Anomaly detection, outliers (Isolation forest)
Gaussian mixture models
Deterministic or probabilistic clustering
Working with time series
Motivating examples
Transformation between time and frequency domains
Autoregressive modelling
Autoregressive moving average modelling
Data representation and feature engineering
Development of distinctive features
Selection of distinctive features
Joint optimisation of feature engineering and classification 
Machine learning pipeline
AutoML tools
Pitfalls with standard methods
Data augmentation and other tricks
The responsibilities of the engineer and user
Interpreting models, explaining decisions
Correlation and causalities: machine learning is not magic
Specialisation: Reinforcement learning (RL)
Overview of applications in reinforcement learning
Fundamentals of reinforcement learning
Q-learning

Intended learning outcomes

After passing the course, the student shall be able to

  • summarise machine learning in a graphics rendering system, justify its components and discuss the problems that can arise
  • apply different existing supervised and unsupervised machine learning methods for given amounts of data and assess and review their result
  • explain different machine learning methods and contrast their positive and negative features
  • interpret existing implementations of different machine learning methods and adapt them for specific situations
  • discuss ethical dimensions of machine learning methods, development and application.

Literature and preparations

Specific prerequisites

  • Knowledge in the equivalent IX1304 of one variable calculus Mathematics 7.5 credits
  • Knowledge in linear algebra equivalent SF1672 Linear Algebra 7.5 credits
  • Knowledge in probability theory equivalent SF2940 Probability Theory 7.5 credits
  • Knowledge in Programming equivalent DD1315 programming and Matlab 7.5 credits
  • The upper secondary course English B/6

Recommended prerequisites

No information inserted

Equipment

No information inserted

Literature

No information inserted

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

P, F

Examination

  • LAB1 - Laboratory work, 4.0 credits, grading scale: P, F
  • PRO1 - Project, 1.0 credits, grading scale: P, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

Computer Science and Engineering

Education cycle

Second cycle

Add-on studies

No information inserted