PCA: Keep maximum deviation direction and not be equal to the maximum forecast information

Calculates the main direction of the centralised data, distinguishing between input re-engineering and label projection objectives.

Thematic shorts • IntroductionCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Calculating the main direction of centralised data
  • Distinguishing input re-engineering from label prediction objectives

Suggested first

  • Distinguishing Probability from Training Certification

The target is lower than the algorithm

PCA seeks to enter the main orthographic direction of the difference between the Chinese and is often used for compression, visualization and value pre-processing. It does not use labels, so it is the input of changes, not the direct retention of classified or returned information required. A small deviation direction may also be associated with label strength, and the cumulative variance ratio cannot be used as a substitute for downstream validation.

There's only one direction for the four points

The data are (-2,-1,-1,-0.5, 1,0.5) and (2,1) with an average value of zero. An average of four points for the variance is [2.5, 1.25], [1.25, 0.625]. The second coordinates are always half of the first coordinates, with the main direction (2,1)/sqrt(5), with a corresponding feature value of 3.125 and a further feature value of 0. Point (2,1) is divided into sqrt(5) in the main direction, and the re-direction is fully restored. The fact that one dimension is retained here without a reconstructed loss is that the data were strictly landed on a line, rather than the PCA always capable of lossless compression. When actual noise data are discarded, re-engineering errors and mission effects should be recorded.

Centralization and standardization have a role to play

In the absence of a reduction in the mean value, the greatest direction may be directed mainly towards an overall deviation rather than a change around the mean value. Standardization by column changes the distance measure and the equivalent is to allow different units to compare by new scale. If the second coordinates are multiplied 10 times, the data direction becomes (1,5) and the main unstandardized direction changes. This is not an algorithm error, but a geometry change.

Training and new data

Mean values, scales and projectors can only be drawn up in the training component and then used for validation and on-line. Use the entire data set to first make PCA and then cut it, and the validation distribution information will be brought into the training. The retreading of the main axis symbols does not change the subspace and the base adjacent to the repeat feature values may rotate, so that the comparative version should look at subspace and re-engineering, rather than just a line-by-item reduction by one column element.

Visible limits

Separation or overlap in a two-dimensional projection does not mean that it is also true in a high-dimensional space. The anomaly may pull the co-opt, with a small number of extremes determining the first axis; Sound methods or different losses can change outcomes, but also the objectives. Whitening is divided by the standard deviation after projecting, and further noises in the direction of the big difference are evaluated separately from the simple downsized dimensions. PCA is interpreted as a descriptive conclusion, which does not indicate the causal effect on the parties. For credit or recommended features, in particular, the use of variants and available time should be maintained, avoiding misinterpretation of the three words without supervision as not risking leakage.

max‖v‖=1vTΣv

Self-measurement and provocator

Why can one dimension be accurately re-formed with this example?

All the points meet the second coordinates equal to half of the first coordinates and the centralized data is equal to 1, so the other side remains unchanged.

Is it guaranteed to retain the same proportion of the projected effect of retaining 99 per cent of the input variance?

Can't. The label information may be located in a low variance direction and must be independently validated in the downstream task.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. scikit-learn — Decomposing signals in components
  2. Mathematics for Machine Learning — author textbook

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.