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

Data Mining summary Master Data Science & Society

Rating
-
Sold
-
Pages
53
Uploaded on
25-03-2025
Written in
2024/2025

Summary Data Mining from the Master Data Science & Society

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
March 25, 2025
File latest updated on
March 27, 2025
Number of pages
53
Written in
2024/2025
Type
Class notes
Professor(s)
Dr. gonzalo nápoles
Contains
All classes

Subjects

Content preview

Contents
Week 1.........................................................................................................2
Week 2.......................................................................................................10
Week 3.......................................................................................................16
Week 4.......................................................................................................25
Week 5.......................................................................................................32
Week 6.......................................................................................................43
Week 7.......................................................................................................51

,Week 1
Goal lecture 1: We will discuss how to deal with missing values, how to
compute the correlation/association between two features, methods to
encode categorical features and handle class imbalance.

Feature = numerical variable (column)

Instances = rows

There are 3 ways to handle missing values:

1. Remove the problem feature containing missing values.
Recommended when there are many missing values for that feature
(not advised)
2. Remove the instances containing missing values. Recommended
when there are many missing values for that feature (not advised)
3. The most popular: replacing the missing values for a given feature
with a representative value such as the mean, the median or the
mode of that feature

But there are also machine learning models that are trained on the non-
missing information!

Autoencoders are deep neural networks that involve two neural blocks
named encoder and decoder.

- The encoder reduces the problem dimensionality
- The decoder completes the pattern.




Feature scaling (so that each feature is In the same
scale)

Normalization

,It allows encoding all numeric features in the [0,1] scale.




Standardization

Similar to the normalization, but the transformed
values might not be in the [0,1] interval.




Correlation between two numerical values

Pearson’s correlation is used when we want to determine the
correlation between two numerical variables given k observations. Only
when the value lies between [-1,1]




Example:

Mean x: 20.67

Mean y: 234,44

Do for each x – xmean and for each y –
ymean. sum all x and y differences and
multiply.

, Association between two categorical (ordinal or nominal) variables

X2 assocation measure is used when we want to measure the
association between two categorical variables given k observations.

Step 1 to make a contingency table:




Step 2:

The expected value is the multiplication of the
individual frequencies divided by the number of
observations.

Example:

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.
Lisette17 Hogeschool InHolland
Follow You need to be logged in order to follow users or courses
Sold
38
Member since
4 year
Number of followers
21
Documents
30
Last sold
1 month ago

3.8

5 reviews

5
2
4
1
3
1
2
1
1
0

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