?? getlab.m
字號(hào):
%GETLAB Get labels of dataset or mapping%% LABELS = GETLAB(A)% LABELS = GETLAB(W)%% INPUT% A Dataset% W Mapping%% OUTPUT% LABELS Labels%% DESCRIPTION% Returns the labels of the objects in the dataset A or the feature labels% assigned by the mapping W.%% If A (or W) is neither a dataset nor a mapping, a set of dummy% labels is returned, one for each row in A. All these labels have the% value NaN.%% Note that for datasets and mappings GETLAB() is effectively the same% as GETLABELS().%% SEE ALSO% DATASETS, MAPPINGS, GETLABELS% Copyright: R.P.W. Duin, duin@ph.tn.tudelft.nl% Faculty of Applied Sciences, Delft University of Technology% P.O. Box 5046, 2600 GA Delft, The Netherlands% $Id: getlab.m,v 1.4 2003/08/18 12:29:56 pavel Exp $function labels = getlab(a) prtrace(mfilename); if isa(a,'dataset') labels = getlabels(a,'crisp'); elseif isa(a,'mapping') labels = getlabels(a); else labels = repmat(NaN,size(a,1),1); end return
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -