Lab1 - Machine Learning Basics (Without Solutions)
Lab1 - Machine Learning Basics (Without Solutions)
www.isg.beel.org www.uni-siegen.de
10-15 Minutes
Task 1.1 – What really is Machine Learning?
Discuss (with your neighbors) what Machine Learning could be. Ask yourself:
2
10-20 Minutes
Task 1.2 – Data and Plots
Given the data below, discuss (with your neighbors):
𝒇𝒇𝟏𝟏 𝒇𝒇𝟐𝟐 𝒚𝒚
𝑖𝑖1 1.5 11 1
𝑖𝑖2 3.0 7 0
𝑖𝑖3 1.0 12 1
𝑖𝑖4 2.6 9 1
𝑖𝑖5 4.0 5 0
12
10 Minutes
Task 1.4 – Evaluation Basics
Assume you created a new machine learning algorithm. Discuss how you can evaluate
the performance of an algorithm on a dataset:
a) Given the predictions of a model and the true values, describe an approach to
evaluate the quality of the model’s predictions. (Assume we are talking about
regression)
b) You are given a dataset with 100 instances. You have trained (i.e., learned /
optimized) a model with an algorithm on the 100 instances. Now you want to test
the model on the same 100 instances. Is this a good idea?
c) Describe a valid approach to use 100 instances to train and evaluate (test) an
algorithm.
19
Exercise 1 should
already be uploaded.
Thank You and Goodbye!
Contact
• https://isg.beel.org/people/
• https://isg.beel.org/contact/
24