CONTENT VERY SIMILAR TO 2019/2020 EXAM. Heard from many students that they passed the exam with the help from this document! Thanks for the feedback. Also have a look at my cheatsheet including code!
A complete overview of all lectures, including slide snippets and additional notes for the course...
, Lecture 1: Intro
Learning from examples is done by fnding examples of two classes to predict, for example
spam and non-spam. Based on this, we can come up with a learning algorithm, which infers
rules from existng examples. Eventually, we want these rules to be applied to new data and
to give the classifcatonooutcome. In this case spamono-spam.
In this course, we will apply some basic ML techniques and familiarize outselves with SciKit-
learn, the leading Python package for ML. (others are BigML and MLlib). Some examples
that use Machine learning are:
Recognizing handwriten text
Recognize faces in photos
Determine whether a text has a positve or negatve sentment
Flagging suspicious Credit Card actvity
Recommend booksomovies (Netlix)
Let’s look at the main types of learning.
Regression: We want to receive a real number (for example a house price, a grade,
or a stock price). We measure error for predicton with MSE or RMSE.
Binary classifcaton: We want to classify using two possibilites (YesoNO, SpamoNo-
spam, positveonegatve sentment). We measure error with the proporton of
mistake, thus with precision and recall, or even the F1-score.
o Precision: What fracton of fagged emails as Spam were actually SPAM?
o Recall: What fracton of real SPAM was fagged?
o F-score: Harmonic mean between precison and recall.
Multclass classifcaton: Classify into multple (but fnite) set of classes (for example,
newspapers categories or detectng animal species). For multclass, it’s hard to
measure using Recall and precision. Therefore we simplify it a bit.
Ranking: We rank according to relevance (for example, this is what Google does with
webpages).
Autonomous behaviour. We can learn a car to react on input (for example sensory
data, camera, microphones) and take actons (brake, steer, etc).
How do we know that an algorithm is learning? Let’s suppose we’re studying for an exam.
First we train, based on the sheets we infer knowledge. Than, we potentally make a test-
exam, which is something we use to determine our progression (development set). Then,
we go to the fnal exam (which is obviously not accessible in advance), which is our test set.
Machine learning studies the algorithms which can learn t solve problems from examples.
Several canocial problem types, including regression (mult-)classifcaton and ranking. The
frst step is always to decide on our data split and how to evaluate (PrecisionoRecall, or
RMSE).
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper YorranSlik. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €5,49. Je zit daarna nergens aan vast.