Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 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

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:

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

R143,11
Get access to the full document:

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

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
40
Member since
5 year
Number of followers
21
Documents
30
Last sold
1 week ago

3,8

5 reviews

5
2
4
1
3
1
2
1
1
0

Trending documents

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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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