Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning features that are collinear with selected features in lasso regression #76

Open
austinhpatton opened this issue Nov 29, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@austinhpatton
Copy link

When running the familiar pipeline using the lasso learner and lasso_binomial feature selection method, features that are collinear with selected features are excluded from the resultant summaries of variable importance and other related summaries.

Is there a way to, using the pipeline outputs, identify which features were excluded from the full analysis but were collinear with selected features? The aim here would be to get a more exhaustive list of features that are strong predictors of the response variable.

Thanks in advance!

@alexzwanenburg
Copy link
Owner

I don't think the information is currently exposed directly, but it should be stored.

Just from memory the information is stored with the model in the feature_info attribute. That attribute contains a list of FeatureInfo objects (one per selected feature), each of which has a cluster_parameters attribute. That attribute contains a featureInfoParametersCluster object, which has the cluster_features attribute. That attribute describes the features are colinear and form a cluster.

I need to:

  • expose this information at the model level by adapting the show method for familiarModel objects.

@alexzwanenburg alexzwanenburg added the enhancement New feature or request label Nov 30, 2023
@alexzwanenburg
Copy link
Owner

Scheduled for version 2.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants