open source pkg v1
This commit is contained in:
14
pkg/OpenFace/matlab_version/experiments_300VW/auc.m
Normal file
14
pkg/OpenFace/matlab_version/experiments_300VW/auc.m
Normal file
@@ -0,0 +1,14 @@
|
||||
function [ auc_out ] = auc( error_vec )
|
||||
%AUC Summary of this function goes here
|
||||
% Detailed explanation goes here
|
||||
cutoff = 0.08;
|
||||
|
||||
[x,y] = cummErrorCurve(error_vec);
|
||||
|
||||
all_xs = x(x < cutoff);
|
||||
all_ys = y(1:numel(all_xs));
|
||||
|
||||
auc_out = sum(all_ys) / numel(all_ys);
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user