Computes the binary classification error.
[errAvg, errInd] = err_2class(likpar,y,mX,sigX2)
[errAvg] = err_2class(likpar,y,mX,sigX2) - returns the percentage of
miclassified items.
Parameters:
likpar- the likelihood parameter (not used here).
y- training outputs.
mx- mean of the GP marginal at the new input.
allErr- percentage of misclassified inputs
[errAvg, errInd] = err_2class(likpar,y,mX,sigX2) - returns the
indicators for individual training data.
demogp_class, demogp_gui, ogp, c_class_bin
Copyright (c) Lehel Csató (2001-2004)