Files
data-mining/20230828_lecture.ipynb
T

3.0 KiB

Lecture Notes

Parallel Coordinates

  1. Can be used to see concentration and mixing of data labels to determine separation.

Aggregation

  1. Combining labels or features to reduce complexity.

Sampling

  1. Data reduction
  2. Taking a sample instad of processing the whole dataset.
  3. Effective sample
    1. Represenative
  4. Types
    1. SImple random sampling
      1. Sampling without replacement
        1. As each item is selected it is removed and not returned.
      2. With replacement
        1. We take and then place back
    2. Stratified Sampling
      1. Split the data into partitions
      2. draw from each partition
      3. Used when there is a great imbalance of classes.
        1. But that's not always what you want in that case.

Curse of dimensionality

  1. Increasing dimensionality means you need more datapoints to cover more cases and ranges.
  2. Density and distance between points is impoerant.

Dimensionality Reduction

  1. Purpose
    1. Avoid curse of dimensionality
    2. Reduce compute requirements
    3. Visualization less messy
    4. Eliminate noise and useless data
  2. Techniques
    1. PCA
      1. Principle Component Analysis
      2. Project data in various combinations of dimensions to find which ones produce the most variation.
      3. use different functions to draw lines and curves to see which one projects the most variation.
    2. SVD
      1. Singular Value Decomposition
  3. Feature Subset Selection
    1. Redundant Features
    2. Irrelevant features

Feature Creation

  1. Create new attributes by processing existing ones.

Mapping to new space

  1. Map the data to a new dimensional space.
  2. Discretization
    1. Turn continuous into discrete value by chopping it up and limiting.
  3. Binarization
    1. Turns categories or continuous values into binary values by creating multiple boolean features.
    2. Useful for binary tree classifier.

Attribute transformation

  1. Normalization
  2. standardization