Giter VIP home page Giter VIP logo

Comments (4)

teyden avatar teyden commented on August 18, 2024

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.

hclimente avatar hclimente commented on August 18, 2024

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.

Mehrzadind avatar Mehrzadind commented on August 18, 2024

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.

teyden avatar teyden commented on August 18, 2024

from pyhsiclasso.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.