📄 getlabels.m
字号:
%GETLABELS Get labels or soft labels of a dataset%% [LABELS,LABLIST] = GETLABELS(A)% [LABELS,LABLIST] = GETLABELS(A,'crisp')% [LABELS,LABLIST] = GETLABELS(A,'soft')%% INPUT% A Dataset% type labels type%% OUTPUT% LABELS% LABLIST%% DESCRIPTION% Gets the labels (crisp or soft) of the objects in the dataset A.% If A has target labels they are converted to soft labels first. % See SETLABTYPE for conversion rules.% LABLIST is the unique set of labels of A and is thereby identical to% the class names of A.%% [LABELS,LABLIST] = GETLABELS(A,'crisp')%% Forces the return of crisp labels in case of a soft labelled dataset.%% [LABELS,LABLIST] = GETLABELS(A,'soft')%% Forces the return of soft labels after conversion (if necessary).% This last command is identical to GETTARGETS(A,'soft').% Note that soft labels are not names, but memberships to all classes.% If A has crisp labels or target labels they are converted to soft% labels first. See SETLABTYPE for conversion rules.% % SEE ALSO% SETLABTYPE, GETTARGETS, SETLABELS, SETTARGETS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -