# In supervised learning, how to get info from correlation? [duplicate]

I am trying to build a classification model so I have tried to check the correlation between the features.

Here Loan_Status is my target variable.

I just don't know how to extract information from this? Please help. I have questions like. Is -0.0047 corelation of ApplicantIncome with Loan Status useful?

• Do you know what correlation is and how it's defined? Have you at read the Wikipedia article on correlation? What is the objective of your analysis? – shadowtalker Oct 7 '18 at 21:01
• Yes I have read as far as I know there's both positive and negative correlation and if the relation is at 0 means no correlation. I want to know if other features will be useful for building my classification model for prediction my target variable. Loan_Status – user_6396 Oct 7 '18 at 21:04
• There is more to correlation than that. – shadowtalker Oct 7 '18 at 21:06
• I think you should refer to an introductory statistics textbook. – shadowtalker Oct 7 '18 at 21:13

To help you, that shows the correlations between features and each other feature. For example, the number one in the image that you gave, is shown all along the diagonal part of the matrix. The ones represent the 100% linear correlation with one of the features and one of the other features. This image might help:

As you can see negative correlations mean that as one feature value increases, the other feature value decreases. A correlation of 0 means that the features appear to have no linear correlation.

If you want to merely concentrate on the correlations between the label and the features, then here is some python code (the language I assume you are using) to help you:

# Your data should be a pandas core dataframe

yourdata = ...

# To find correlations, use the corr() function
corr_matrix = yourdata.corr()