Understand the relationship between two variable using Correlation
It is important to discover the degree to which variables in your data-set are dependent upon each other. This will help us to prepare the good data-set to meet our machine learning algorithms expectation. Because if the data-set is not good then the performance will degrade. In this tutorial, we are going to discover the correlation statistical information of the relationship of two variable. After completing this tutorial you will know, How to calculate a covariance matrix to summarise the linear relationship between two or more variables How to calculate the Pearson’s correlation coefficient to summarise the linear relationship between two variables. How to calculate the Spearman’s correlation coefficient to summarise the monotonic relationship between two variables. What is correlation ? Variable in the data-set can be related each other in many reasons,For example One variable could cause or depend on the values of another variable One variable could be l...