% A11 Driver 2

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

attributes(1).name = 'AT1';
attributes(1).values = [0,1];
attributes(1).include = 1;
attributes(2).name = 'AT2';
attributes(2).values = [0,1,2];
attributes(2).include = 1;
attributes(3).name = 'AT3';
attributes(3).values = [0,1,2,3];
attributes(3).include = 1;

ex = [ 0 0 0 1 0;
   0 0 1 1 0;
   0 1 0 1 0;
   0 1 1 1 0;
   1 0 0 1 1;
   1 0 1 1 1;
   1 1 0 1 1;
   1 1 1 1 1];
num_nodes = 0;
nodes = [];

r3 = AI_decision_tree_learning(ex, attributes, 1, 'AI_choose1');
