Input arguments of Features Selection in matlab

1 Ansicht (letzte 30 Tage)
FARHAD
FARHAD am 16 Aug. 2014
Kommentiert: Image Analyst am 16 Aug. 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.

Antworten (2)

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

FARHAD
FARHAD am 16 Aug. 2014
Bearbeitet: FARHAD am 16 Aug. 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 Kommentar
Image Analyst
Image Analyst am 16 Aug. 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?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by