Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Explain Resulting Components | Results Analysis
Principal Component Analysis
course content

Contenido del Curso

Principal Component Analysis

Principal Component Analysis

1. What is Principal Component Analysis
2. Basic Concepts of PCA
3. Model Building
4. Results Analysis

Explain Resulting Components

At the very beginning, we touched on the topic of interpreting the results obtained. First of all, it is worth mentioning that there is no universal method, there is only the possibility of expert evaluation, which depends entirely on how well we know the data we are working with. We have already mentioned the factor loading matrix. This matrix allows us to evaluate the contribution of each variable to the principal components. Formally, this means that each component is represented by a linear combination of initial variables Xn and coefficients wn:

Thus, the loadings - are the coefficients wn of a linear combination of the initial variables from which the principal components are built. We have already visualized the factor loading matrix, but now we will get acquainted with a more convenient option. With the help of the pca library, we can easily create a visualization of loadings in 2D and 3D space:

3D plot:

We create the graphs obtained above using the following code:

If we want to specify labels for data classes, add an argument row_labels with y value for the function fit_transform().

What does the different direction of loadings on the biplots mean?

Selecciona la respuesta correcta

¿Todo estuvo claro?

Sección 4. Capítulo 1
We're sorry to hear that something went wrong. What happened?
some-alt