• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 24 pages
Summary

Summary Complete lecture notes Machine Learning

Document preview thumbnail
Preview 2 out of 24 pages

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 on Machine Learning by Dr. Gregorz. Hopefully, this should be enough to support you to understand the basics of Machine Learning as this document summarizes all lecture slides and everything he told. The first few pages of this document are not extremely interesting, as he just mentioned some of the main points from the slides. However, during later classes, he explained several models more detailed and I did my best to take notes of everything. My apologies for any typos.

Content preview

Machine Learning




Summary of all in-class materials

, 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).

Document information

Study
Uploaded on
December 5, 2018
Number of pages
24
Written in
2018/2019
Type
Summary
$6.91
Purchased by 5 students

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
YorranSlik
3.8
(12)
Sold
54
Followers
51
Items
6
Last sold
2 year ago


Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions