Correlations

Papad
Papad New Altair Community Member
edited November 2024 in Community Q&A
Hello,
I have a dataset which contains speed and pressure attributes. There is for sure a correlation between them, I know it by default, but how can I show it using a model?

I want to have the percentage, weight or whatever I can have.
About the model, I am using linear regression because my dataset has linear relationship with time(for examples I have these attributes during a day).
Thanks in advance.

Best Answer

  • David_A
    David_A New Altair Community Member
    Answer ✓
    Hi,

    Typically the correlation is measured as a score between -1 and 1. Where 1 indicates perfect correlation, 0 no correlation and -1 meaning the values have an exact opposite behavior (if one goes up. the other goes down).
    the easiest way to calculate the correlation between two or more attributes is to use the Correlation Matrix Operator.
    If you want to check for several attribute, which one correlates the most to a label, you can also use the Weight by Correlation. Finally, if you want to extract or calculate the results of the Correlation Matrix, I recommend you the Matrix to ExampleSet operator from the Converters extension.

    Best,
    David

Answers

  • David_A
    David_A New Altair Community Member
    Answer ✓
    Hi,

    Typically the correlation is measured as a score between -1 and 1. Where 1 indicates perfect correlation, 0 no correlation and -1 meaning the values have an exact opposite behavior (if one goes up. the other goes down).
    the easiest way to calculate the correlation between two or more attributes is to use the Correlation Matrix Operator.
    If you want to check for several attribute, which one correlates the most to a label, you can also use the Weight by Correlation. Finally, if you want to extract or calculate the results of the Correlation Matrix, I recommend you the Matrix to ExampleSet operator from the Converters extension.

    Best,
    David