% Characters Example Driver

global nodes num_nodes
num_nodes = 0;
nodes = [];

attributes(1).name = 'Euler';
attributes(1).values = [0,1,2,3,4];
attributes(1).include = 1;
attributes(2).name = 'MoreAreaAbove';
attributes(2).values = [0,1];
attributes(2).include = 1;
attributes(3).name = 'MoreAreaLeft';
attributes(3).values = [0,1];
attributes(3).include = 1;
attributes(4).name = 'MoreAreaRightUp';
attributes(4).values = [0,1];
attributes(4).include = 1;
attributes(5).name = 'MoreAreaLeftUp';
attributes(5).values = [0,1];
attributes(5).include = 1;

[X,Y] = CS5320_DT_image_features;
[num_X,num_cols] = size(X);
ex = [X,ones(num_X,1),Y];

num_nodes = 0;
nodes = [];

MA = AI_decision_tree_learning(ex, attributes, 1, 'AI_choose_gain');
tch = 0;
