Questions tagged [feature-importances]
The feature-importances tag has no usage guidance.
37
questions
1
vote
3
answers
87
views
Feature importance score for a feature that contains mostly 0's in XGBoost
I have read that the feature importance scores are calculated based on how a split on that feature improves performance.
I have a binary classification dataset and am running XGBoost classifier on it. ...
1
vote
0
answers
36
views
Feature Importance in Stacked Model
I have built a stacked model using mlxtend StakingCVClassifier. I want to know the feature importance scores now. Is there any way I can calculate feature importance scores for the stacked model? If ...
0
votes
0
answers
37
views
Why am I getting differing "gain" feature importances from XGBoost?
I am currently training an XGBoost model for binary classification. I have fitted and predicted with the model but when I try to get the "gain" type feature importances, the results differ ...
0
votes
0
answers
14
views
Common properties of a clusture
After doing kmeans clustering how to find out the common properties of each cluster. Shall we go for feature importance of each cluster?
0
votes
0
answers
23
views
Rules/Guidelines for Custom Weightage and Hyper-parameter tuning
I have a movie and user-ratings dataset. After implementing the content-based filtering technique, I figured, I can improvise the results even further by assigning weightage to the parameters based on ...
1
vote
1
answer
162
views
Why the marginal contribution of a feature is the difference between the feature effect minus the average effect
In several sources the marginal contribution is defined as
the difference between the prediction with and without the feature.
However, recently I read an article where the marginal contribution was ...
0
votes
2
answers
255
views
Feature importance in xgboost
I've been reading that feature importance in xgboost is computed the same way as in random forests. However, the learning rate reduces the effect of downstream trees. Is the learning rate taken into ...
0
votes
1
answer
431
views
Shapley Values - How to interpret each value for each feature for a specific instance?
I am using Shap Values(the 'shap' module in python) to help me understand a bit better the relation between my features and my target. I am currently working on a binary classification problem.
I know ...
2
votes
0
answers
254
views
Capturing the 'direction' of feature importances using TreeSHAP?
I'm a machine learning / python novice, so apologies if my question is simple, but I haven't been able to find it addressed.
I'm very interested in using ML to determine the most important features ...
0
votes
1
answer
744
views
Decision tree vs logistic regression feature importances
I have trained Logistic regression and decision tree in skearn on the same standardized dataset (binary classification).
Top important coefficients for the decision tree are (sorted by ...
0
votes
0
answers
31
views
What Would Be a Good Measure of Feature Importance in Regression?
Doing simple supervised regression where the label is a floating point number (guaranteed positive) and the features are a mix of continuous floating point values and some categorical features.
What ...
0
votes
2
answers
28
views
Deep-diving in Feature Importance
While calculating feature importance in random forest based on gini impurity(MDI offered by sklearn) or via correlation plots, few features with lesser amount of valid data fails to show it's real ...
0
votes
0
answers
180
views
Feature importance with 0 score
I have feature importance score that showed like this picture. Why some of my features have 0 feature importance score (default, job_admin, education, job_enterpreneur, job_management, job_others, ...
0
votes
1
answer
147
views
combine xgb feature importance
Is it possible to combine the results from the xgb.boost importance function. For example, due to one hot encoding, I have a feature age=35 and another age=60. Is there a way that I can add these to ...
1
vote
2
answers
95
views
Global feature importance for classification problem where some values are irrelevant
I have a binary classification problem where most of the features are categorical with 4 possible values: yes, no, irrelevant, nan. I am trying to find the modular global feature importance of those ...
1
vote
1
answer
264
views
Interpreting the variance of feature importance outputs with each random forest run using the same parameters
I noticed that I am getting different feature importance results with each random forest run even though they are using the same parameters. Now, I know that a random forest model takes observations ...
2
votes
2
answers
199
views
How to interpret importance of random forest model, Mean Decrease Accuracy and Mean Decrease Gini?
A random forest model outputs the following importance values. How do I interpert them for feature selection? If it's the mean decreased accuracy does that mean that by removing them from the model ...
0
votes
0
answers
30
views
Searching machine learning algorithm for regression problem with many features
I have a machine learning problem with about 160 features and 400 cases and I want to find the best predictors for a continuous outcome. The dataset contains variables of psychotherapists and clients. ...
1
vote
1
answer
83
views
Is it possible for a feature not correlated with a dependent variable to become important in a machine learning model?
Is it possible for a feature not correlated (or faintly correlated) with a dependent variable to become important in a machine learning model?
3
votes
0
answers
1k
views
Differences between Feature Importance and SHAP variable importance graph
I have run an XGBClassifier using the following fields:
...
1
vote
1
answer
89
views
Understanding which variables impact your variable of interest the most (correlation, linear regression) and correctly interpreting results
How do you ascertain which variables lead to the greatest increase in another variable of interest?
Let's say you have a correlation matrix. You look at the row of the variable you are particularly ...
2
votes
2
answers
1k
views
XGBoost model has features whose feature importance equal zero
I ran into this problem:
A XGBoost model(.pickle file , constrcuted under V0.7.post3) with 100 features in it ;
But I found 55 features in model (model.feature_importances_) show 0 feature importance
...
1
vote
1
answer
105
views
Why does an unimportant feature has a big impact on R2 in XGBoost? [closed]
I am training an XGBoost model, xgbr, using xgb.XGBRegressor() with 13 features and one numeric target. The R2 on the test set ...
1
vote
0
answers
18
views
What kind of model to use to find drivers when data is aggregated and not on user level?
I have a website and have info from Google Analytics. So I can see the following "features":
page url
country
device category (phone, desktop, etc.)
Number of sessions
Number of users: ...
0
votes
0
answers
68
views
Features importance in model
I've been using azure's auto ML platform for a couple of weeks now and recently I've trained a model and came across a strange looking aggregate feature importance chart in the explanations tab. The ...
2
votes
2
answers
5k
views
difference between feature effect and feature importance
Is there a difference between feature effect (eg SHAP effect) and feature importance in machine learning terminologies?
0
votes
2
answers
327
views
aggregation of feature importance
I have more of a conceptual question I was hoping to get some feedback on. I am trying to run a boosted regression ML model to identify a subset of important predictors for some clinical condition. ...
0
votes
2
answers
243
views
Concerns regarding small dataset with too many features
I have dataframe with 322 observations with 224 features. The observations has two classes, 0 or 1,which i'm trying to predict. class 0 has 168 observations and class 1 has 154 observations.
I was ...
0
votes
1
answer
44
views
Does it make sense to use feature importances based in gini index for other classifiers?
I would like to know if makes sense running yellowbrick.features.FeatureImportances with a RandomForestClassifier model in order ...
1
vote
1
answer
299
views
Shapley value, conditional expectation vs reference point
In Shapley, the marginal contribution of a feature is computed by comparing the performance of a model with and without a feature over all possible subsets of features.
A common choice is using the ...
1
vote
1
answer
35
views
Revealing the causal structure in time-dependent data
We have a data table that accumulates the control and monitoring parameters of the High-Temperature Superconductor (HTS) production process: such that the rows represent the observations and columns ...
1
vote
0
answers
65
views
How marginal contributions of adding a variable in a model is calculated in determining SHAP feature importance?
I was trying to find feature importance using SHAP values in python for Isolation Forest. SHAP calculates the feature importance of a feature($i$) pertaining to a model($f$) for a datapoint($x$) using ...
2
votes
1
answer
1k
views
Feature importance with Text features
I would like to determine features importance in several models:
support vector machine
logistic regression
Naive Bayes
random forest
I read that I will need an agnostic model, so I have thought to ...
2
votes
2
answers
208
views
Node Importance in scikit learn
I'm trying to understand exactly how feature_importances in scikit-learn's RandomForestClassifier works. I managed to find this helpful link explaining most of the process: https://towardsdatascience....
0
votes
2
answers
699
views
Why is XGBClassifier in Python outputting different feature importance values with the same data across different repetitions?
I am fitting an XGBClassifier to a small dataset (32 subjects) and find that if I loop through the code 10 times the feature importances (gain) assigned to the features in the model varies slightly.
I ...
1
vote
1
answer
141
views
Is feature importance from classification a good way to select features for clustering?
I have a large data set with many features (70). By doing preprocessing (removing features with too many missing values and those that are not correlated with the binary target variable) I have ...
2
votes
1
answer
239
views
Feature Interactions vs Feature Importances
What are the differences between Feature Interactions and Feature Importances?