This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

resubEdge

Class: ClassificationTree

Classification edge by resubstitution

Syntax

edge = resubEdge(tree)

Description

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

Input Arguments

tree

A classification tree created using fitctree.

Output Arguments

edge

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

Examples

Estimate the quality of a classification tree for the Fisher iris data by resubstitution.

load fisheriris
tree = fitctree(meas,species);
redge = resubEdge(tree)
redge =
    0.9384

More About

expand all