Is correlation good for machine learning?

Is correlation good for machine learning?

Correlation can be an important tool for feature engineering in building machine learning models. Given a collection of paired (x,y) values, Pearson’s coefficient produces a value between -1 and +1 to quantify the strength of dependence between the variables x and y.

What is Pearson’s r in machine learning?

Pearson’s Correlation Coefficient helps you find out the relationship between two quantities. It gives you the measure of the strength of association between two variables. The value of Pearson’s Correlation Coefficient can be between -1 to +1. 1 means that they are highly correlated and 0 means no correlation.

Why is it bad to use correlation in machine learning?

In the context of machine learning we usually use PCA to reduce the dimension of input patterns. This approach considers removing correlated features by someway (using SVD) and is an unsupervised approach.

Are there any algorithms that benefit from correlation?

Some algorithms like Naive Bayes actually directly benefit from “positive” correlated features. And others like random forest may indirectly benefit from them. Imagine having 3 features A, B, and C. A and B are highly correlated to the target and to each other, and C isn’t at all.

Which is the most important part of machine learning?

But people have forgotten the two most important parts of Machine Learning: Math and Data. Machine Learning is, after all, Data Driven AI, and your model will be only as good or as bad as the data you have. In general, you can’t have a dataset of car images and expect to use it to classify cats and dogs.

Why is it bad to use correlation in supervised learning?

For linear models (e.g., linear regression or logistic regression), multicolinearity can yield solutions that are wildly varying and possibly numerically unstable. Random forests can be good at detecting interactions between different features, but highly correlated features can mask these interactions.