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: 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

Definitions

expand all

Was this topic helpful?