📄 getcost.m
字号:
%GETCOST Get classification cost matrix%% [COST,LABLIST] = GETCOST(A)%% Returns the classification cost matrix as defined for the dataset A.% An empty cost matrix is interpreted as equal costs for misclassification.% In that case COST = ONES(C+1) - EYE(C+1) is returned, if C is the number% of classes. Row C+1 and column C+1 in COST refer to unlabeld objects.% In LABLIST the class labels are returned.%% If A has target labels an error is returned as in that case no classes% and thereby no costs are defined.%% See DATASETS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -