⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reject.m

📁 模式识别 MATLAB 的工具箱,比较实用,包括SVM,ICA,PCA,NN等等模式识别算法.
💻 M
字号:
%REJECT Compute error-reject trade-off curve% % 	e = reject(D)% % Computes the error-reject curve of the classification result% D = A*W, in which A is a dataset and W a classifier. e is a % set of (reject;error) rates. Use plot2(e) for plotting the % result% % See also: mappings, plot2, roc, testd% Copyright: R.P.W. Duin, duin@ph.tn.tudelft.nl% Faculty of Applied Physics, Delft University of Technology% P.O. Box 5046, 2600 GA Delft, The Netherlandsfunction e = reject(D)if nargin == 0 | isempty(D)	e = mapping('reject','fixed');	returnend[e,n] = nstrcmp(classd(D),getlab(D));if size(D,2) == 1	D = [D -D];end[y,J] = sort(max(+D,[],2));n = 1-n(J)';m = length(n);e = [[0:m]; e e-cumsum(n)]/m;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -