📄 basicroc.m
字号:
function [tp , fp , threshold] = basicroc(y , f , options)
%
%[tp , fp , threshold] = basicroc(y , f , [positive]);
%
% Return the true positive rate, the false positive rate and the threshold
%
%
% Author : S閎astien PARIS : sebastien.paris@lsis.org
% ------- Date : 04/09/2006
if nargin < 3
options.positive = 1;
options.nbstep = 100;
end
if (~any(strcmp(fieldnames(options) , 'positive')))
options.positive = 1;
end
if (~any(strcmp(fieldnames(options) , 'nbstep')))
options.nbstep = 100;
end
yunique = unique(y);
%bin = histc(y , yunique);
%petite modification pour le cas o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -