Input arguments of Features Selection in matlab

2 visualizzazioni (ultimi 30 giorni)
FARHAD
FARHAD il 16 Ago 2014
Commentato: Image Analyst il 16 Ago 2014
Hi, I am using Feature selection toolbox FEAST. Where I find that both features and labels are integers. My data is discrete,double type and not integer. My question is that, Do I need to change data type from double to integer to make integer features? if not, then how do i get integer features without changing data type? Moreover, If I change the data type from double to integer then I can't use Liblinear toolbox. Please help me.

Risposte (2)

Image Analyst
Image Analyst il 16 Ago 2014
I never heard of it. Can you look at the documentation or ask the authors?

FARHAD
FARHAD il 16 Ago 2014
Modificato: FARHAD il 16 Ago 2014
Please see the attached file and let me explain the following lines of that file. %requires that both the features and labels are integers. My question here, Data type of the feature matrix should be integer or only features are integer?
  1 Commento
Image Analyst
Image Analyst il 16 Ago 2014
I have no idea without digging into the code and toolbox (which I don't have time to do). Features can be virtually anything - numbers, strings, structures, or whatever you define them to be. You create them in a way that will be useful to you. Perhaps this toolbox has particular features that it wants - I don't know. Did you see my answer above?

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by