Přístupnostní navigace
E-application
Search Search Close
Course detail
FSI-0MSAcad. year: 2027/2028
The course provides an introduction to the Python language and its use in applied mathematics and machine learning. Students learn the basics of scripting and creating algorithms using the standard library and libraries for mathematical applications, e.g. NumPy, SciPy, Matplotlib and Pandas, and the machine learning libraries scikit-learn, TensorFlow and PyTorch.
Language of instruction
Number of ECTS credits
Assignment to study programme types
Mode of study
Guarantor
Department
Learning outcomes of the course unit
Entry knowledge
Basic computer skills, basics of programming. Basic knowledge of mathematical analysis, linear algebra, probability and statistics.
Rules for evaluation and completion of the course
The credit is awarded on the basis of active participation in the exercises and a successful defence of the semester project in week 13.
The semester project consists of solving a machine learning task on a chosen dataset. It includes data preparation, checking and pre-processing, deployment and testing of several models, evaluation and comparison of their results, and a justification of the choice of the most suitable model.
At the defence, students present the results of the project and answer questions about their solution. To obtain the credit, the solution must work and students must demonstrate an understanding of their own code.
Attendance at the exercises is compulsory and is checked by the teacher at each exercise. Students may miss at most 2 exercises per semester. The way missed classes are compensated is determined by the teacher.
Aims
The aim of the course is to teach students to use the Python programming language and its libraries to solve problems of applied mathematics and machine learning.
After completing the course, the student will be able to:
– write and debug a Python script using basic data types, control flow, functions and modules,
– use the NumPy and SciPy libraries for matrix computations and present the results in plots using Matplotlib,
– train and evaluate classical machine learning models (k-NN, decision trees, SVM, random forest) in scikit-learn,
– build and train a neural network, including a convolutional network and an autoencoder, in TensorFlow or PyTorch,
– describe the principles of the transformer architecture and reinforcement learning,
– prepare and pre-process a dataset using Pandas, compare several models on it using suitable metrics, and defend the chosen solution.
Study aids
Prerequisites and corequisites
Basic literature
Recommended reading
Classification of course in study plans
Computer-assisted exercise
Teacher / Lecturer
Syllabus
1) Introduction to Python. Setting up the programming environment.2) Working with Python – data types, control flow.3) Working with Python – functions and procedures, modules.4) Working with libraries, introduction to selected libraries (NumPy, SciPy, Pandas).5) Matrix algebra (NumPy, SciPy).6) Working with functions, plotting (Matplotlib).7) Introduction to machine learning, the scikit-learn library – k-nearest neighbours (k-NN).8) The scikit-learn library – decision trees, SVM, random forest.9) Neural networks, training, first model (TensorFlow, PyTorch).10) Convolutional neural networks.11) Autoencoders.12) Transformers, reinforcement learning.13) Project defences.