Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

resubEdge

Class: ClassificationDiscriminant

Classification edge by resubstitution

Syntax

edge = resubEdge(obj)

Description

edge = resubEdge(obj) returns the classification edge obtained by obj on its training data.

Input Arguments

obj

Discriminant analysis classifier, produced using fitcdiscr.

Output Arguments

edge

Classification edge obtained by resubstituting the training data into the calculation of edge.

Examples

expand all

Estimate the quality of a discriminant analysis classifier for Fisher's iris data by resubstitution.

Load Fisher's iris data set.

load fisheriris

Train a discriminant analysis classifier.

Mdl = fitcdiscr(meas,species);

Compute the resubstitution edge.

redge = resubEdge(Mdl)
redge =

    0.9454

Definitions

expand all

Was this topic helpful?