Input arguments of Features Selection in matlab

2 次查看(过去 30 天)
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.

回答(2 个)

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

FARHAD
FARHAD 2014-8-16
编辑:FARHAD 2014-8-16
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 个评论
Image Analyst
Image Analyst 2014-8-16
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by