getfeat.m
来自「模式识别工具箱。非常丰富的底层函数和常见的统计识别工具」· M 代码 · 共 37 行
M
37 行
%GETFEAT Get feature labels of a dataset or a mapping%% LABELS = GETFEAT(A)% LABELS = GETFEAT(W)%% INPUT% A,W Dataset or mapping%% OUTPUT% LABELS Label vector with feature labels%% DESCRIPTION% Returns the labels of the features in the dataset A or the labels% assigned by the mapping W.%% Note that for a mapping W, getfeat(W) is effectively the same as GETLAB(W).%% SEE ALSO % DATASETS, MAPPINGS, GETLAB% Copyright: R.P.W. Duin, r.p.w.duin@prtools.org% Faculty EWI, Delft University of Technology% P.O. Box 5031, 2600 GA Delft, The Netherlands% $Id: getfeat.m,v 1.2 2006/03/08 22:06:58 duin Exp $function labels = getfeat(par) if isdataset(par) | isdatafile(par) labels = getfeatlab(par); elseif isa(par,'mapping') labels = getlabels(par); else error([newline 'Dataset or mapping expected.']) endreturn;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?