Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Get Loadings from Principal Components Tool

rerwin21
6 - Meteoroid

I'm using the PCA tool and it allows your to output the principal components to your dataset as new columns (the scores based on the loadings). Is there a way to get get the loadings as well? For example, For Variable 1, in PC 1, I want he loading which might be 0.45. I can use a Browse tool to view the loading via the report output connector, but I don't see a way to feed that downstream to another tool besides the Browse tool.

1 REPLY 1
fmvizcaino
17 - Castor
17 - Castor

Hi rerwin21,

 

One way of doing is by adding a Macro Ouput inside your Principal Components Macro as below.

 

I suggest you to 'save as' your macro with a different name and then 'right click mouse + insert + macro' for inserting your new principal components macro. Please be aware that the workflow will only work for those who have that macro installed in their computer.

 

Principal Components Loadings.JPG

Best,

Fernando Vizcaino

 

Labels