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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller AVL2. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $3.91. You're not tied to anything after your purchase.