Input arguments of Features Selection in matlab

2 views (last 30 days)
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.

Answers (2)

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

FARHAD
FARHAD on 16 Aug 2014
Edited: FARHAD on 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 Comment
Image Analyst
Image Analyst on 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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!