Linear differential analysis: how the shared spectrum produces a straight line boundary
Linear boundaries are rolled out from shared Gaussian structures to calculate the direction of difference under the relevant characteristics.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- A linear boundary from shared Gaussian structures
- Calculate the orientation of the relevant features
Suggested first
- Distinguishing Probability from Training Certification
Linear boundaries can also come from the generation model
Linear characterization analyses assign Gaussian profiles to each category and assume that they share the same spectrum. When comparing the later analysis, the secondary input items in all categories are offset, leaving a linear separation function. This is a different starting point from the logical return of the probability of direct modelling category conditions; Both may be given a straight line boundary, but this does not mean that the assumptions are exactly the same as the probabilities estimate.
Two-dimensional examples of related characteristics
Set two a priori equals, with an average value of (0,0) and (2,0) respectively, and a shared co-opportunity difference of [1,0.5], [0.5,1]. The reversible matrix is [4/3,-2/3, 2/3, 4/3]. The mean difference is multiplied by the reverse, with orientation (8/3, 4/3) and constants 8/3, so that the distinction conditions in category I can be simplified to 2 x ₁- x ₂>2。 Point (1.0) is located at the border; Point (1,1) is rated as category zero, while point (1,-1) is rated as category I. Although the second-dimensional mean of the two categories is the same, the second-dimensional still influences the difference, as the shared structure allows it to help explain the first-dimensional changes. This adjustment will be omitted by looking only at the difference in the mean values of the characteristics.
Sharing is not independent
The gap can have non-zero cross-cutting entries, so linear analysis is different from Gaspar Beyas, which is independent by its characteristics. The shared structure reduces the burden on each type of estimated variance and reduces the complexity of the border; If the real categories vary significantly, such a constraint may lead to deviations. In the high-vitage small sample, the range of the sample can be strange or highly unstable, requiring a contraction, reduction or corresponding resolution method. It is not possible to add a single number to all elements in the event of a failure to reverse, which is not the same as a condensed condensation, which could destroy structures.
Distinguishing, Decimal and Evaluation
Linear differentiation can also be used to monitor decompositions, but the number of available directions is limited by conditions such as the number of categories. It seeks directions related to the separation of categories and does not amount to a maximum deviation without supervision of PCA. Changes using labeling must be done only within the training set, otherwise the test type information will be leaked. When such conditions are similar, predictions may still be available, but the probability of output will need to be checked separately. The constants vary when categories are a priori subject to changes in the deployment population; The error threshold cannot be attributed to the coordination margin after the old sample has been permanently fixed. The report should distinguish between structural assumptions, parameter estimates and actual test performance.
Self-measurement and provocator
Why does the border still contain x2?
Because of the relevant points of the gap, the difference in participation in the second dimension after adjustment of the deficit could not be seen solely in terms of the mean difference.
Is linear analysis PCA?
No, it's not. The former uses category labels to search for a distinction structure, while the latter is largely unsupervised by the input margin organization.
Sources and reconciliations
Definitions, methods and interfaces are available.
- scikit-learn — Linear and Quadratic Discriminant Analysis
- An Introduction to Statistical Learning — author website
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.