Lesson 2: processing principles
Unstructured data
-> data has no pre-defined structure
-> often test-heavy
-> many irregularities
Common data processing steps in data mining
1. Feature extraction: convert the heterogenous data into
numerical features.
-> capture the feature where we are most interested in
-> feature = a question where the response is something that the
computer understands
2. Attribute transformation : alters the data by replacing a selected
attribute by one or more new attributes (functionally dependent on
the original one, to facilitate further analysis)
4. Aggregation: combine 2/more attributes in a single one
-> data reduction, change of scale, more stable data (aggregated
data have less variability)
5. Noise removal: remove random fluctuations in data that hinder the
perception of the true signal
6. Outlier removal: outliers are objects with characteristics that are
considerably different than most of the other objects in the set
7. Sampling: because obtaining/processing the entire set of data of
interest is often too expensive/time consuming
-> sample needs to be representative and contain the same
properties
-> simple random sampling: equal probability of selecting any
particular item
Sampling with replacement (reuse of an item): objects are not
removed from the population when they are selected for the
sample
-> stratified sampling: split the data into several partitions & then
draw random samples from each partition
8. Handling duplicate data
-> data cleaning
-> for example: same person with multiple email addresses
9. Handling missing values
-> NA
, -> cause: info is not collected, errors are made during an
experiment, attributes may not be applicable to all cases
-> MCAR (missing complete at random): certain values missing
but the fact that they are missing is not related to the features of the
individual (missing a page while filling in a survey)
-> MAR: dataset might be missing but the fact that it is missing is
not random
(Related to the observed data but not to the unobserved data ->
males are less likely to fill in a depression survey, they are missing
because they are male not because they are depressed OR in a
medical study, suppose younger participants are less likely to report
their weight. The missingness of weight data depends on the age of
the participants, which is observed.
-> MNAR: the value of the variable that is missing is related to the
reason why it is missing (-> related to unobserved data: for
example: no income -> related with the missingness because you
just have no income)
How to handle? Ignore the missing value, eliminate data objects,
estimate the missing value
10. Dimensionality reduction: curse of dimensionality =
when dimensionality increases, data becomes increasingly sparse in
the space that it occupies. The higher the dimensionality, the less
meaningful the concept of distance becomes. This makes it hard to
find patterns.
-> sparse matrices are those matrices that have most of their
elements equal to zero. In other words, the sparse matrix can be
defined as the matrix that has a greater number of zero elements
than the non-zero elements.
Purpose:
-> avoid curse of dimensionality
-> reduce amount of time and memory needed by data mining
algorithm
-> allow data to be more easily visualized
-> help to eliminate irrelevant features or reduce noise
Techniques of dimensionality reduction
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, Bancontact of creditcard 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 AVL2. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €3,49. Je zit daarna nergens aan vast.