Quick links: Schedule | Forum | BRUTE | Lectures |

# Labs

## Basic info

Where and when: Building E on Charles square, See RPZ Schedule

If you are new to CTU, see the checklist for visiting students.

What you may expect: You will implement a variety of learning and inference algorithms on simple pattern recognition tasks. Each week a new assignment is introduced at the beginning of the lab, and you are expected to complete the task during the submission period. The discussion at the beginning of the lab session will link the theory presented in the lectures to the practical task in the weekly assignments. The remaining time of the lab is devoted to individual interactions between students and teaching assistants. See the detailed rules below.

What do we expect: Basic knowledge of Python (check the links in the first lab's text if you need a help with this) and at least basic understanding of the respective lectures.

Before you start: Make sure to complete you development environment setup.

Teachers:

## Assignment plan

Always download the latest template version before starting to work on a new assignment!

Mon Thu Topic Test
25.9. 5.10. Introduction, work with python, simple example
9.10 19.10. Non-bayesian tasks - the minimax task Minimax for Normal distribution
16.10. 26.10. Non-parametrical estimates - parzen windows *
23.10. 2.11. MLE, MAP and Bayes parameter estimation
30.10. 9.11. Logistic regression
6.11. 16.11. Problem solving / exam questions practice tasks
13.11. 23.11. Linear classifier - perceptron *
20.11. no lab – Dean's day
27.11. 30.11. Support Vector Machine
11.12. 14.12. K-means clustering *
18.12. 21.12. Convolutional neural networks
8.1. 11.1. Problem solving / exam questions

There will be a short test at the beginning of the labs denoted with *. The questions in the tests will refer to material presented in prior lectures.

## Exercises

In order to perform well in the lab tests and the exam it is important to follow the examples solved in the class and prepare by solving typical problems. We are constantly updating an exercise book containing problems related to the lectures and labs and containing test examples from previous years with solutions.

## Requirements to obtain the credit ("zápočet")

• Delivering all finished (= passing brute) assignments with at least half of them delivered within the two week assignment period (i.e. gaining at least 6 points).
• Attending of the tests at the beginning of the *-labs.

## Solution submission and evaluation

• A new assignment is given at each lab and the one week submission period for that assignment begins. The submission deadline is midnight of the day before the lab one week later.
• Students must work independently on the assignment during the week, but are encouraged to discuss implementation problems or misunderstandings with the lab assistants either during the labs, by using the forum, or via email or direct consultation during office hours. The forum is the preferred form of communication.
• The submitted solution must be original work. Please see the plagiarism policy. Students must not make solutions to assignments available to anyone else. Credit will not be assigned in the case of plagiarism.
• The solutions are delivered through the Upload system.
• There are templates prepared for all assignments with function headers and boiler plate code. The templates are available in a git repository. Template improvements in a form of a comment in the forum or merge / pull requests on the gitlab are very appreciated.
• During the labs
• a test is given on the denoted weeks,
• a new assignment is introduced by a teaching assistant, and
• the remainder of time is used to for discussion, problem solving and bonus assignment evaluation.
• A solution is awarded 8 points if it is delivered within one week of the assignment date, and 6 points if submitted within two weeks. After that, a penalty of 2 points per additional day is applied (i.e., 4, 2, 0 points).
• You are required to submit all assignments (all must pass brute automatic evaluation), even those which would be awarded 0 points because of missed deadlines to receive the credit (“zápočet”).
• Some assignments contain a bonus task. You can obtain up to 4 extra points for each bonus task. Show us the solutions of the bonus tasks during the labs. They will be evaluated individually. Bonus tasks have no deadlines. They can be delivered any time during the semester.

## Lab evaluation

• The points awarded from the labs will be scaled to make 50% of the exam score (50 points). By working on the bonus tasks, one can gain even more than 50 points.
• The formula for the final score is following: (assignments+bonuses)/88*33 + tests/15*17, where 88 is to normalise for 11 assignments delivered within one week, and 15 for the maximum credits that can be obtained from the best three tests scores.
• With bonus points, a student may get more than 50 points, which will be considered if the student is on the borderline of a higher final grade.
• The extra points may also compensate to some degree lost points during the exam test. However, accumulating a high score in the labs does not guarantee a good final mark; you must perform adequately on the written exam. In the case of an exceedingly poor result on the final written exam, the final evaluation will be made accordingly.
• You can follow you actual score and compare your progress with others here.

## Absence

• If an absence is well-justified, you will be given a chance to take a make-up test. The conditions of compensation will be dealt with individually.