err_2class

Purpose

Computes the binary classification error.

Synopsis


[errAvg, errInd] = err_2class(likpar,y,mX,sigX2)

Description

[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.

See Also

demogp_class, demogp_gui, ogp, c_class_bin


Pages: Index

Copyright (c) Lehel Csató (2001-2004)