% Returns accuracy.  Intended to be used with breakeven.m
%
% Written by Jason Rennie, February 2004
% Last modified: Tue Dec 13 10:07:40 2005

function [obj] = accuracy(np,nn,fp,fn)
  obj = (np+nn-fp-fn)./(np+nn);
