100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Machine learning lecture notes extensive

Rating
2.5
(2)
Sold
9
Pages
108
Uploaded on
20-10-2025
Written in
2024/2025

Extensive summary of all the lecture notes It is very detailed and has a lot of the material verbatim what is said within the lectures.

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
October 20, 2025
Number of pages
108
Written in
2024/2025
Type
Class notes
Professor(s)
Dr. mojtaba rostami kandroodi
Contains
All classes

Subjects

Content preview

Lecture 1
Machine learning:
- What is machine learning:
- Machine learning (ML) is a branch of AI that enables computers to learn from data and
improve their performance on tasks over time without being explicitly programmed for
each task

Learning from examples:
- Data ⇒ collect examples of spam and non-spam emails
- Learning algorithm ⇒ learns patterns and rules from the data
- Evaluation ⇒ tests the model on new emails and compares results with known labels
- Deployment ⇒ deploy the trained system for real-world use

Learning algorithms:
- Tree-based: decision trees, random forests, gradient boosted trees
- Linear classifiers and regressors: perceptron, linear and logistic regression
- Neural networks: multi-layer perceptrons, deep learning

Typical ML applications:
- Flag suspicious credit-card transactions
- Guess person’s age based on a sample of writing
- Recognize handwritten numbers and letters
- Determine whether a text expresses positive, negative or no opinion
- Recognize faces in photos
- Classify images
- Recommend books and movies to users based on their own and others’ purchase history

Machine learning:




Supervised learning:




- Learns from pre-labeled examples

,Unsupervised learning:




- No labels, discovers natural grouping and relationships
- We have data, we need to explore patterns to see if they are meaningful
- For example, customer segmentation, which customer has baby, can recommend
different things to them

Reinforcement learning:




- We have an agent, which learns through action in the environment
- Learns by trial and error, we train models without having explicit feedback; each agent will learn
or will adapt to some parameters
- Learning rate alpha
- Inverse temperature beta
- Discount rate y
- Learns from interaction and feedback

Supervised learning; regression:
- Target is a real number, not classes
- Housing price prediction
- Predict a person’s age
- Predict price of a stock
- Predict student’s score on exam

,Binary classification:
- One of two options:
- Detect spam
- Predict polarity of product review: positive vs negative
- Predict sex of an organism (male/ female)

Multiclass classification:
- One of finite set of options

Multilabel classification:
- Multiple labels from a set of options

Ranking:
- Ranking problem, our observations can have different ranks for different queries/ prompts
- For example, the grist result for a certain query can be different if you change the query a
little bit
- An ordering of objects

Sequence labeling:
- A label for each element in input sequence
- System that recognizes a word in a sequence
- Sequence labeling = we have a sequence for each part of this sequence so we can have a label

Sequence-to-sequence prediction:
- For each input we have an output
- For example, translator, we have different sequences, input and output don’t have the same
sequence
- Problems:
- Order of words change
- Grammar
- Different lengths input and output

Model:
- Variable x ⇒ model ⇒ variable y
- Input: feature, independent variable
- Output: target, dependent variable
- Model:
- Linear regression
- Logistic regression
- Perceptron
- Decision trees, random forests
- Gradient boosted trees
- Artificial neural networks (ANN)
Data:
- Data can be:
- Numbers
- Text
- Images
- Any form of input that can be processed by algorithm

, Data splitting:




- Create model, train model, and evaluate model
- Split data, make sure it is split randomly, then divide it into test and train
- Make sure there is no data leakage, so no sample from test data in training data ⇒
will result in false evaluation

Reviews from verified buyers

Showing all 2 reviews
1 week ago

1 month ago

2.5

2 reviews

5
0
4
1
3
0
2
0
1
1
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

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.
StudentSums Erasmus Universiteit Rotterdam
Follow You need to be logged in order to follow users or courses
Sold
42
Member since
5 year
Number of followers
0
Documents
16
Last sold
6 days ago

3.3

3 reviews

5
1
4
1
3
0
2
0
1
1

Recently viewed by you

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

Frequently asked questions