Comments (4)
I'm not a contributor but I've forked the code and modified it a bit, so I have some understanding. The idea of using HSIC-LASSO is for feature selection. How you use it for classification is up to you. HSIC-LASSO can be used for feature selection for regression or classification problems, however does not act as a classifier on its own, from my understanding. Anyone who knows better, please feel free to correct.
How I've use it is through a two step process: 1) perform feature selection for a classification problem using HSIC-LASSO (such as in this example), and 2) take the selected features and transform your original data (subset your original X matrix to contain only the selected features) and then re-test with a classifier such as those in scikit-learn in order to obtain performance metrics such as precision and accuracy.
There are different ways to input your data and run feature selection (regression vs classification), so check the API (which unfortunately isn't fully or thoroughly documented, but the API code shows pretty clearly how you can use it).
from pyhsiclasso.
Sorry for our late reply. @teyden is right, the current implementation does not allow to predict new samples. When we use HSIC Lasso we use the implementation described by @teyden. The only precision is that we favour a classifier that can handle nonlinear relationships, like random forest or kernel SVM.
from pyhsiclasso.
Thx, But what a bout Evaluation of selected features ? is there any specific method? What I have done in my thesis for evaluation is the evaluation of classification models such RF,XGB,... under the circumstances of selected subset of features by BHSIC. But I think there should be a specific evaluation process.
from pyhsiclasso.
from pyhsiclasso.
Related Issues (15)
- Update Version 1.0.1 HOT 1
- Update V1.1.0
- Multi-variate output support
- Support parallel processing
- A bug occurs when there are few explanatory variables HOT 6
- The number of selected features is less than specified HOT 3
- Block Lasso selects less features than vanilla algorithm HOT 2
- Clarification on the difference between an input vs. output kernel HOT 1
- ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' HOT 3
- Modeling combinatorial effects of features? HOT 2
- Number of selected features HOT 1
- input
- Is there a way to extract the predicted value of the trained HSIC Lasso (Regression)? HOT 2
- Update Version 1.0.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyhsiclasso.