calcError (cv.LogisticRegression) - MATLAB File Help
cv.LogisticRegression/calcError

Computes error on the training or test dataset

err = model.calcError(samples, responses)
err = model.calcError(csvFilename, [])
[err,resp] = model.calcError(...)
[...] = model.calcError(..., 'OptionName', optionValue, ...)

Input

Output

Options

The method uses the predict method to compute the error. For regression models the error is computed as RMS, for classifiers as a percent of missclassified samples (0%-100%).

See also
Method Details
Access public
Sealed false
Static false