MVACARTBan2 (MatLab R2007b)

MVACARTBan2 performs classification analysis for the US bankruptcy data (CF SEC 2004) with 84 companies employing the Gini index and a constraint. It plots a decision tree.

Download File

Wed, April 25 2012 by Dedy Dwi Prastyo

-

- None

- Plot of a classification tree produced with Gini index.


Description: -


clear all
close all
clc
x = load('bankruptcy.dat');
y = x(:,3);
x = x(:,1:2);
t = classregtree(x,y,'method','classification','splitcriterion','gdi','mergeleaves','off','minparent',10,'minleaf',1,'mergeleaves','off')
view(t)