xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 1KB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2021-03-16
  • 語言: Matlab
  • 標簽: MATLAB??ROC數據??roc??

資源簡介

matlab繪制ROC曲線代碼,一種用于數據分類時,分類準確率的評價方法。

資源截圖

代碼片段和文件信息

function?auc?=?plotroc(yxparams)
%plotroc?draws?the?recevier?operating?characteristic(ROC)?curve.
%
%auc?=?plotroc(training_label?training_instance?[?libsvm_options?-v?cv_fold])?
%??Use?cross-validation?on?training?data?to?get?decision?values?and?plot?ROC?curve.
%
%auc?=?plotroc(testing_label?testing_instance?model)?
%??Use?the?given?model?to?predict?testing?data?and?obtain?decision?values
%??for?ROC
%
%?Example:
%???
%? load(‘heart_scale.mat‘);?
%? plotroc(heart_scale_label?heart_scale_inst‘-v?5‘);
%
% [yx]?=?libsvmread(‘heart_scale‘);
%??? model?=?svmtrain(yx);
%? plotroc(yxmodel);
rand(‘state‘0);?%?reset?random?seed
if?nargin? help?plotroc
return
elseif?isempty(y)?|?isempty(x)
error(‘Input?data?is?empty‘);
elseif?sum(y?==?1)?+?sum(y?==?-1)?~=?length(y)
error(

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????3047??2015-03-16?22:44??plotroc.m

-----------?---------??----------?-----??----

?????????????????3047????????????????????1


評論

共有 條評論