<p><a href="https://i.sstatic.net/RtQ7i.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/RtQ7i.png" alt="Column_A and Column_B is input columns" /></a></p>
<p>As per Image we can see Column_A value is directly proportional to output,</p>
<p>While Change in value of Column_B has no effects in output.</p>
<p>So basically I want to know is there any algorithm where I can get weightage of columns which is affecting more to output than another.</p>
<p>In this case we can see Column_A has more weightage as change in Column_A value will lead to change in value of B.
but in case of Column_B it will be no change.</p>
<p>Expected Output:
so is there any algorithm to detect this change something like it will give 100% to Column_A and 0% to Column_B</p>

CC BY-SA 4.0
2022-11-18T09:43:09.180Z
Hi! I recommend searching for articles about "feature selection". This is what this process is usually called.
Stef
CC BY-SA 4.0
2022-11-18T09:43:40.803Z
Scikit-learn also has a submodule specifically for this: https://scikit-learn.org/stable/modules/feature_selection.html
Stef
<data-preprocessing><data-science><feature-selection><data-labelling>
How to decide which column has more weightage to output
Marques
# How to decide which column has more weightage to output

(Asked by: username_0 on 2022-11-18)

[![Column_A and Column_B is input columns](https://i.sstatic.net/RtQ7i.png)](https://i.sstatic.net/RtQ7i.png)

As per Image we can see Column\_A value is directly proportional to output,

While Change in value of Column\_B has no effects in output.

So basically I want to know is there any algorithm where I can get weightage of columns which is affecting more to output than another.

In this case we can see Column\_A has more weightage as change in Column\_A value will lead to change in value of B.
but in case of Column\_B it will be no change.

Expected Output:
so is there any algorithm to detect this change something like it will give 100% to Column\_A and 0% to Column\_B

**Tags:** data-preprocessing, data-science, feature-selection, data-labelling

> **Comments:**
> **username_1**: Hi! I recommend searching for articles about "feature selection". This is what this process is usually called.  
> **username_1**: Scikit-learn also has a submodule specifically for this: https://scikit-learn.org/stable/modules/feature_selection.html  

---

## 0 answers

