Input arguments of Features Selection in matlab

조회 수: 5 (최근 30일)
FARHAD
FARHAD 2014년 8월 16일
댓글: Image Analyst 2014년 8월 16일
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에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by