Commit 8379effb authored by Stéphane NGNEPIEPAYE WEMBE's avatar Stéphane NGNEPIEPAYE WEMBE
Browse files

[EVALUATION OF OUR CODE] : Now we have the confusion matrix of each approch...

[EVALUATION OF OUR CODE] : Now we have the confusion matrix of each approch and we can compare with SKLearn confusion matrix
parent cdb487fa
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -4,6 +4,37 @@
#include <cmath>
#include <fstream>
int M = 10;
std::istream& operator>>(std::istream& str, CSVRow& data)
{
data.readNextRow(str);
return str;
}
void get_confusion_matrix_in_csv_file(std::ifstream &file, std::vector<std::vector<int>> &confusion_matrix_sklearn)
{
CSVRow line;
for (int i = 0; i < M; ++i) {
file >> line;
for (int j = 0; j < M; ++j) {
confusion_matrix_sklearn[i][j] = (std::stoi(line[j]));
}
}
}
void print_confusion_matrix(std::vector<std::vector<int>> &confusion_matrix)
{
std::cout<<"["<<std::endl;
for (int i = 0; i < M; ++i) {
std::cout<<"[ ";
for (int j = 0; j < M; ++j) {
std::cout<<confusion_matrix[i][j]<<" ";
}
std::cout<<"]"<<std::endl;
}
std::cout<<"]"<<std::endl;
}
double relu(double x)
{
......@@ -11,7 +42,6 @@ double relu(double x)
else return 0;
}
double softmax(double* tab, int size, int indice)
{
double S = 0;
......@@ -21,8 +51,7 @@ double softmax(double* tab, int size, int indice)
return exp(tab[indice])/S;
}
double ann_predict(std::vector<real> feature){
int ann_predict(std::vector<real> feature){
double layer1_node[N0];
double layer2_node[N1];
double output_layer_node[N2];
......@@ -49,7 +78,7 @@ double ann_predict(std::vector<real> feature){
}
layer2_node[i]+= B1[i];
layer2_node[i] = relu(layer2_node[i]);
// std::cout << layer1_node[i] << std::endl;
// std::cout << layer2_node[i] << std::endl;
}
// output layer
for(int i = 0; i<N2; ++i)
......@@ -66,8 +95,8 @@ double ann_predict(std::vector<real> feature){
double predict = 0;
double best_predict = predict;
int best_index = 0;
for (int i = 0; i < N2; ++i) {
predict = softmax(output_layer_node,N2, 0);
for (int i = 1; i < N2; ++i) {
predict = softmax(output_layer_node,N2, i);
// std::cout << predict<< std::endl;
if (predict>best_predict)
......@@ -80,12 +109,6 @@ double ann_predict(std::vector<real> feature){
return best_index;
}
std::istream& operator>>(std::istream& str, CSVRow& data)
{
data.readNextRow(str);
return str;
}
double evaluate (std::vector<int>& truth_value, std::vector<int>& predicted_value)
{
double valid = 0;
......@@ -93,43 +116,59 @@ double evaluate (std::vector<int>& truth_value, std::vector<int>& predicted_valu
else
{
for (int i = 0; i < truth_value.size(); ++i) {
// std::cout << predicted_value[i] << " " << truth_value[i] << std::endl;
if (predicted_value[i] == truth_value[i]) valid++;
}
// std::cout << truth_value.size() << " " << predicted_value.size() << std::endl;
// std::cout << "valid number is " << valid << std::endl;
return valid/double (truth_value.size());
}
}
void build_confusion_matrix(std::vector<int>& truth_value, std::vector<int>& predicted_value, std::vector<std::vector<int>> &confusion_matrix)
{
for (int i = 0; i < truth_value.size(); ++i) {
confusion_matrix[predicted_value[i]][truth_value[i]]++;
}
}
int main(){
std::ifstream file("../../DATASETS/path_test_files_ANN.csv");
CSVRow files_name_row;
CSVRow style_name_row;
CSVRow accuracy_SKLearn;
std::vector<std::vector<int>> confusion_matrix_sklearn(M, std::vector<int>(M, 0));
std::vector<std::vector<int>> our_confusion_matrix(M, std::vector<int>(M, 0));
file >> files_name_row;
file >> style_name_row;
file >> accuracy_SKLearn;
get_confusion_matrix_in_csv_file(file,confusion_matrix_sklearn);
file.close();
std::vector<int> style_test_set(style_name_row.size());
std::vector<int> style_predict;
transform_to_index(style_name_row,style_test_set);
// std::cout << "size of test set: " << files_name_row.size() << std::endl;
// std::cout << "size of test set : " << style_name_row.size() << std::endl;
for (int i = 0; i < files_name_row.size(); ++i) {
if (!files_name_row[i].empty()) {
// std::cout <<style_test_set[i]<< std::endl;
std::filesystem::path fileName = files_name_row[i];
auto bins = compute_features_for(fileName);
auto featuring = bins.begin()->second;
std::vector<real> featuring;
auto featuring_avg = bins[FTYPE::BINAVG];
auto featuring_std = bins[FTYPE::BINSTDEV];
featuring.insert(featuring.cbegin(), featuring_avg.begin(), featuring_avg.end());
featuring.insert(featuring.cend(), featuring_std.begin(), featuring_std.end());
style_predict.push_back(ann_predict(featuring));
// std::cout << "step " << i << " cart_predict(feature) : " << cart_predict(featuring) << std::endl;
// std::cout << "featuring size " << featuring.size() << std::endl;
} else style_predict.push_back(-1);
}
build_confusion_matrix(style_test_set,style_predict,our_confusion_matrix);
std::cout << "The confusion matrix given by SKlearn is : " << std::endl;
print_confusion_matrix(confusion_matrix_sklearn);
std::cout << "The confusion matrix given by our code is : " << std::endl;
print_confusion_matrix(our_confusion_matrix);
std::cout << "The accuracy given by our code is : " << evaluate(style_test_set, style_predict) << std::endl;
std::cout << "The accuracy given by SKLearn is : " << accuracy_SKLearn[0] << std::endl;
return 0;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -60,12 +60,24 @@ print(confusion_matrix(Y_test, Y_pred, labels=classes))
accuracy = (Y_pred == Y_test).mean()
print('Test Accuracy : %.3f'%accuracy)
ConfusionMatrixDisplay.from_predictions(Y_test, Y_pred, display_labels=classes)
plt.title("My predictions")
plt.show()
Y_pred = clf.predict(X_test)
ConfusionMatrixDisplay.from_predictions(Y_test, Y_pred, display_labels=classes)
plt.title("SKLEARN")
plt.show()
M = confusion_matrix(Y_test, Y_pred, labels=classes)
with open('../../DATASETS/path_test_files_CART.csv', 'w') as f:
# using csv.writer method from CSV package
write = csv.writer(f)
write.writerow(files_test)
write.writerow(Y_test)
write.writerow([accuracy])
for i in range(M.shape[0]):
write.writerow(M[i])
with open('../../DATASETS/path_train_files_CART.csv', 'w') as f:
# using csv.writer method from CSV package
......@@ -73,16 +85,6 @@ with open('../../DATASETS/path_train_files_CART.csv', 'w') as f:
write.writerow(files_train)
write.writerow(Y_train)
ConfusionMatrixDisplay.from_predictions(Y_test, Y_pred, display_labels=classes)
plt.title("My predictions")
plt.show()
Y_pred = clf.predict(X_test)
ConfusionMatrixDisplay.from_predictions(Y_test, Y_pred, display_labels=classes)
plt.title("SKLEARN")
plt.show()
......
......@@ -4,31 +4,31 @@ edge [fontname="helvetica"] ;
0 [label=<BINAVG2 &le; 151.888<br/>gini = 0.899<br/>samples = 670<br/>value = [64, 78, 61, 62, 70, 60, 69, 72, 71, 63]<br/>class = classical>, fillcolor="#fffffd"] ;
1 [label=<BINSTDEV100 &le; 15.243<br/>gini = 0.328<br/>samples = 81<br/>value = [3, 66, 1, 1, 0, 6, 0, 0, 2, 2]<br/>class = classical>, fillcolor="#e8ea61"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label=<BINSTDEV177 &le; 7.611<br/>gini = 0.058<br/>samples = 67<br/>value = [0, 65, 1, 0, 0, 1, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e3e63f"] ;
2 [label=<BINSTDEV1 &le; 206.987<br/>gini = 0.058<br/>samples = 67<br/>value = [0, 65, 1, 0, 0, 1, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e3e63f"] ;
1 -> 2 ;
3 [label=<BINSTDEV1 &le; 206.987<br/>gini = 0.03<br/>samples = 66<br/>value = [0, 65, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e53c"] ;
3 [label=<BINSTDEV177 &le; 7.611<br/>gini = 0.03<br/>samples = 66<br/>value = [0, 65, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e53c"] ;
2 -> 3 ;
4 [label=<gini = 0.0<br/>samples = 65<br/>value = [0, 65, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
3 -> 4 ;
5 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
5 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
3 -> 5 ;
6 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
6 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
2 -> 6 ;
7 [label=<BINAVG130 &le; 7.718<br/>gini = 0.776<br/>samples = 14<br/>value = [3, 1, 0, 1, 0, 5, 0, 0, 2, 2]<br/>class = jazz>, fillcolor="#dbedfa"] ;
7 [label=<BINAVG129 &le; 6.925<br/>gini = 0.776<br/>samples = 14<br/>value = [3, 1, 0, 1, 0, 5, 0, 0, 2, 2]<br/>class = jazz>, fillcolor="#dbedfa"] ;
1 -> 7 ;
8 [label=<BINSTDEV111 &le; 7.641<br/>gini = 0.278<br/>samples = 6<br/>value = [0, 0, 0, 1, 0, 5, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#61b1ea"] ;
8 [label=<BINSTDEV252 &le; 0.42<br/>gini = 0.278<br/>samples = 6<br/>value = [0, 0, 0, 1, 0, 5, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#61b1ea"] ;
7 -> 8 ;
9 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
8 -> 9 ;
10 [label=<gini = 0.0<br/>samples = 5<br/>value = [0, 0, 0, 0, 0, 5, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
8 -> 10 ;
11 [label=<BINSTDEV75 &le; 74.712<br/>gini = 0.719<br/>samples = 8<br/>value = [3, 1, 0, 0, 0, 0, 0, 0, 2, 2]<br/>class = blues>, fillcolor="#fbeade"] ;
11 [label=<BINAVG91 &le; 19.833<br/>gini = 0.719<br/>samples = 8<br/>value = [3, 1, 0, 0, 0, 0, 0, 0, 2, 2]<br/>class = blues>, fillcolor="#fbeade"] ;
7 -> 11 ;
12 [label=<BINAVG26 &le; 32.442<br/>gini = 0.64<br/>samples = 5<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 2, 2]<br/>class = reggae>, fillcolor="#ffffff"] ;
12 [label=<BINAVG185 &le; 4.107<br/>gini = 0.64<br/>samples = 5<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 2, 2]<br/>class = reggae>, fillcolor="#ffffff"] ;
11 -> 12 ;
13 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 2, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
12 -> 13 ;
14 [label=<BINAVG130 &le; 9.323<br/>gini = 0.444<br/>samples = 3<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#f29cac"] ;
14 [label=<BINSTDEV191 &le; 6.252<br/>gini = 0.444<br/>samples = 3<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#f29cac"] ;
12 -> 14 ;
15 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
14 -> 15 ;
......@@ -48,42 +48,42 @@ edge [fontname="helvetica"] ;
21 -> 22 ;
23 [label=<BINSTDEV13 &le; 133.061<br/>gini = 0.522<br/>samples = 43<br/>value = [1, 5, 2, 0, 1, 29, 3, 1, 1, 0]<br/>class = jazz>, fillcolor="#82c1ef"] ;
22 -> 23 ;
24 [label=<BINAVG104 &le; 13.045<br/>gini = 0.667<br/>samples = 6<br/>value = [0, 0, 1, 0, 1, 0, 3, 1, 0, 0]<br/>class = metal>, fillcolor="#b1b0f5"] ;
24 [label=<BINAVG162 &le; 6.403<br/>gini = 0.667<br/>samples = 6<br/>value = [0, 0, 1, 0, 1, 0, 3, 1, 0, 0]<br/>class = metal>, fillcolor="#b1b0f5"] ;
23 -> 24 ;
25 [label=<BINAVG25 &le; 23.292<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 0, 1, 0, 1, 0, 0, 1, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
25 [label=<BINSTDEV248 &le; 4.199<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 0, 1, 0, 1, 0, 0, 1, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
24 -> 25 ;
26 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = pop>, fillcolor="#a339e5"] ;
26 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
25 -> 26 ;
27 [label=<BINAVG44 &le; 14.556<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 1, 0, 1, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
27 [label=<BINSTDEV208 &le; 8.989<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 0, 1, 0, 0, 1, 0, 0]<br/>class = hiphop>, fillcolor="#ffffff"] ;
25 -> 27 ;
28 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
28 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#39e5c5"] ;
27 -> 28 ;
29 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#39e5c5"] ;
29 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = pop>, fillcolor="#a339e5"] ;
27 -> 29 ;
30 [label=<gini = 0.0<br/>samples = 3<br/>value = [0, 0, 0, 0, 0, 0, 3, 0, 0, 0]<br/>class = metal>, fillcolor="#3c39e5"] ;
24 -> 30 ;
31 [label=<BINAVG27 &le; 74.015<br/>gini = 0.365<br/>samples = 37<br/>value = [1, 5, 1, 0, 0, 29, 0, 0, 1, 0]<br/>class = jazz>, fillcolor="#6ab6ec"] ;
23 -> 31 ;
32 [label=<BINAVG54 &le; 4.342<br/>gini = 0.131<br/>samples = 29<br/>value = [1, 0, 1, 0, 0, 27, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#47a4e7"] ;
32 [label=<BINAVG91 &le; 1.49<br/>gini = 0.131<br/>samples = 29<br/>value = [1, 0, 1, 0, 0, 27, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#47a4e7"] ;
31 -> 32 ;
33 [label=<gini = 0.0<br/>samples = 1<br/>value = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
32 -> 33 ;
34 [label=<BINAVG1 &le; 340.621<br/>gini = 0.069<br/>samples = 28<br/>value = [0, 0, 1, 0, 0, 27, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#40a1e6"] ;
34 [label=<BINAVG8 &le; 364.142<br/>gini = 0.069<br/>samples = 28<br/>value = [0, 0, 1, 0, 0, 27, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#40a1e6"] ;
32 -> 34 ;
35 [label=<gini = 0.0<br/>samples = 27<br/>value = [0, 0, 0, 0, 0, 27, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
34 -> 35 ;
36 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
34 -> 36 ;
37 [label=<BINAVG4 &le; 141.361<br/>gini = 0.531<br/>samples = 8<br/>value = [0, 5, 0, 0, 0, 2, 0, 0, 1, 0]<br/>class = classical>, fillcolor="#f0f29c"] ;
37 [label=<BINSTDEV90 &le; 39.42<br/>gini = 0.531<br/>samples = 8<br/>value = [0, 5, 0, 0, 0, 2, 0, 0, 1, 0]<br/>class = classical>, fillcolor="#f0f29c"] ;
31 -> 37 ;
38 [label=<BINAVG50 &le; 32.39<br/>gini = 0.444<br/>samples = 3<br/>value = [0, 0, 0, 0, 0, 2, 0, 0, 1, 0]<br/>class = jazz>, fillcolor="#9ccef2"] ;
38 [label=<gini = 0.0<br/>samples = 5<br/>value = [0, 5, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
37 -> 38 ;
39 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 2, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
38 -> 39 ;
40 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 1, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
38 -> 40 ;
41 [label=<gini = 0.0<br/>samples = 5<br/>value = [0, 5, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
37 -> 41 ;
39 [label=<BINSTDEV211 &le; 5.002<br/>gini = 0.444<br/>samples = 3<br/>value = [0, 0, 0, 0, 0, 2, 0, 0, 1, 0]<br/>class = jazz>, fillcolor="#9ccef2"] ;
37 -> 39 ;
40 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 2, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
39 -> 40 ;
41 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 1, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
39 -> 41 ;
42 [label=<gini = 0.0<br/>samples = 5<br/>value = [5, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
22 -> 42 ;
43 [label=<BINSTDEV5 &le; 967.48<br/>gini = 0.831<br/>samples = 124<br/>value = [25, 5, 31, 12, 2, 18, 3, 2, 4, 22]<br/>class = country>, fillcolor="#f7fdf3"] ;
......@@ -94,31 +94,31 @@ edge [fontname="helvetica"] ;
44 -> 45 ;
46 [label=<BINSTDEV15 &le; 221.561<br/>gini = 0.425<br/>samples = 20<br/>value = [1, 0, 15, 1, 0, 1, 0, 0, 1, 1]<br/>class = country>, fillcolor="#9eec6d"] ;
45 -> 46 ;
47 [label=<BINAVG250 &le; 0.196<br/>gini = 0.833<br/>samples = 6<br/>value = [1, 0, 1, 1, 0, 1, 0, 0, 1, 1]<br/>class = blues>, fillcolor="#ffffff"] ;
47 [label=<BINAVG22 &le; 20.497<br/>gini = 0.833<br/>samples = 6<br/>value = [1, 0, 1, 1, 0, 1, 0, 0, 1, 1]<br/>class = blues>, fillcolor="#ffffff"] ;
46 -> 47 ;
48 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
48 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
47 -> 48 ;
49 [label=<BINAVG31 &le; 15.518<br/>gini = 0.8<br/>samples = 5<br/>value = [1, 0, 1, 0, 0, 1, 0, 0, 1, 1]<br/>class = blues>, fillcolor="#ffffff"] ;
49 [label=<BINSTDEV126 &le; 5.921<br/>gini = 0.8<br/>samples = 5<br/>value = [1, 0, 0, 1, 0, 1, 0, 0, 1, 1]<br/>class = blues>, fillcolor="#ffffff"] ;
47 -> 49 ;
50 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
50 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
49 -> 50 ;
51 [label=<BINSTDEV12 &le; 184.412<br/>gini = 0.75<br/>samples = 4<br/>value = [1, 0, 0, 0, 0, 1, 0, 0, 1, 1]<br/>class = blues>, fillcolor="#ffffff"] ;
51 [label=<BINAVG216 &le; 0.506<br/>gini = 0.75<br/>samples = 4<br/>value = [1, 0, 0, 1, 0, 0, 0, 0, 1, 1]<br/>class = blues>, fillcolor="#ffffff"] ;
49 -> 51 ;
52 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
52 [label=<gini = 0.0<br/>samples = 1<br/>value = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
51 -> 52 ;
53 [label=<gini = 0.667<br/>samples = 3<br/>value = [1, 0, 0, 0, 0, 0, 0, 0, 1, 1]<br/>class = blues>, fillcolor="#ffffff"] ;
53 [label=<gini = 0.667<br/>samples = 3<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 1, 1]<br/>class = disco>, fillcolor="#ffffff"] ;
51 -> 53 ;
54 [label=<gini = 0.0<br/>samples = 14<br/>value = [0, 0, 14, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
46 -> 54 ;
55 [label=<BINSTDEV31 &le; 146.715<br/>gini = 0.778<br/>samples = 36<br/>value = [5, 4, 6, 2, 1, 14, 0, 1, 3, 0]<br/>class = jazz>, fillcolor="#cae5f8"] ;
55 [label=<BINAVG30 &le; 56.726<br/>gini = 0.778<br/>samples = 36<br/>value = [5, 4, 6, 2, 1, 14, 0, 1, 3, 0]<br/>class = jazz>, fillcolor="#cae5f8"] ;
45 -> 55 ;
56 [label=<BINAVG227 &le; 0.345<br/>gini = 0.738<br/>samples = 15<br/>value = [4, 0, 6, 2, 1, 1, 0, 0, 1, 0]<br/>class = country>, fillcolor="#e7fadb"] ;
56 [label=<BINAVG231 &le; 0.322<br/>gini = 0.738<br/>samples = 15<br/>value = [4, 0, 6, 2, 1, 1, 0, 0, 1, 0]<br/>class = country>, fillcolor="#e7fadb"] ;
55 -> 56 ;
57 [label=<gini = 0.0<br/>samples = 4<br/>value = [4, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
56 -> 57 ;
58 [label=<BINSTDEV63 &le; 62.516<br/>gini = 0.645<br/>samples = 11<br/>value = [0, 0, 6, 2, 1, 1, 0, 0, 1, 0]<br/>class = country>, fillcolor="#c4f3a7"] ;
56 -> 58 ;
59 [label=<BINAVG32 &le; 32.214<br/>gini = 0.72<br/>samples = 5<br/>value = [0, 0, 0, 2, 1, 1, 0, 0, 1, 0]<br/>class = disco>, fillcolor="#cef8d7"] ;
59 [label=<BINAVG30 &le; 38.181<br/>gini = 0.72<br/>samples = 5<br/>value = [0, 0, 0, 2, 1, 1, 0, 0, 1, 0]<br/>class = disco>, fillcolor="#cef8d7"] ;
58 -> 59 ;
60 [label=<gini = 0.667<br/>samples = 3<br/>value = [0, 0, 0, 0, 1, 1, 0, 0, 1, 0]<br/>class = hiphop>, fillcolor="#ffffff"] ;
59 -> 60 ;
......@@ -128,17 +128,17 @@ edge [fontname="helvetica"] ;
58 -> 62 ;
63 [label=<BINAVG35 &le; 73.574<br/>gini = 0.567<br/>samples = 21<br/>value = [1, 4, 0, 0, 0, 13, 0, 1, 2, 0]<br/>class = jazz>, fillcolor="#96cbf1"] ;
55 -> 63 ;
64 [label=<BINAVG60 &le; 45.788<br/>gini = 0.231<br/>samples = 15<br/>value = [0, 0, 0, 0, 0, 13, 0, 0, 2, 0]<br/>class = jazz>, fillcolor="#57ace9"] ;
64 [label=<BINSTDEV61 &le; 181.291<br/>gini = 0.231<br/>samples = 15<br/>value = [0, 0, 0, 0, 0, 13, 0, 0, 2, 0]<br/>class = jazz>, fillcolor="#57ace9"] ;
63 -> 64 ;
65 [label=<gini = 0.0<br/>samples = 13<br/>value = [0, 0, 0, 0, 0, 13, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
64 -> 65 ;
66 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 2, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
64 -> 66 ;
67 [label=<BINAVG26 &le; 102.663<br/>gini = 0.5<br/>samples = 6<br/>value = [1, 4, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = classical>, fillcolor="#eeef88"] ;
67 [label=<BINSTDEV99 &le; 45.739<br/>gini = 0.5<br/>samples = 6<br/>value = [1, 4, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = classical>, fillcolor="#eeef88"] ;
63 -> 67 ;
68 [label=<gini = 0.0<br/>samples = 4<br/>value = [0, 4, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
67 -> 68 ;
69 [label=<BINAVG32 &le; 143.892<br/>gini = 0.5<br/>samples = 2<br/>value = [1, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = blues>, fillcolor="#ffffff"] ;
69 [label=<BINSTDEV115 &le; 31.34<br/>gini = 0.5<br/>samples = 2<br/>value = [1, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = blues>, fillcolor="#ffffff"] ;
67 -> 69 ;
70 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = pop>, fillcolor="#a339e5"] ;
69 -> 70 ;
......@@ -146,15 +146,15 @@ edge [fontname="helvetica"] ;
69 -> 71 ;
72 [label=<BINSTDEV111 &le; 41.651<br/>gini = 0.773<br/>samples = 51<br/>value = [5, 1, 9, 8, 1, 3, 3, 1, 0, 20]<br/>class = rock>, fillcolor="#f8cbd3"] ;
44 -> 72 ;
73 [label=<BINAVG254 &le; 12.222<br/>gini = 0.296<br/>samples = 18<br/>value = [0, 0, 1, 1, 0, 0, 0, 1, 0, 15]<br/>class = rock>, fillcolor="#ea5c75"] ;
73 [label=<BINAVG236 &le; 10.964<br/>gini = 0.296<br/>samples = 18<br/>value = [0, 0, 1, 1, 0, 0, 0, 1, 0, 15]<br/>class = rock>, fillcolor="#ea5c75"] ;
72 -> 73 ;
74 [label=<BINSTDEV2 &le; 863.68<br/>gini = 0.117<br/>samples = 16<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 15]<br/>class = rock>, fillcolor="#e74663"] ;
74 [label=<BINSTDEV130 &le; 23.297<br/>gini = 0.117<br/>samples = 16<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 15]<br/>class = rock>, fillcolor="#e74663"] ;
73 -> 74 ;
75 [label=<gini = 0.0<br/>samples = 15<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 15]<br/>class = rock>, fillcolor="#e53958"] ;
75 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
74 -> 75 ;
76 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
76 [label=<gini = 0.0<br/>samples = 15<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 15]<br/>class = rock>, fillcolor="#e53958"] ;
74 -> 76 ;
77 [label=<BINSTDEV250 &le; 19.128<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 1, 0, 0, 0, 0, 1, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
77 [label=<BINAVG224 &le; 11.412<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 1, 0, 0, 0, 0, 1, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
73 -> 77 ;
78 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = pop>, fillcolor="#a339e5"] ;
77 -> 78 ;
......@@ -164,17 +164,17 @@ edge [fontname="helvetica"] ;
72 -> 80 ;
81 [label=<BINAVG184 &le; 11.26<br/>gini = 0.592<br/>samples = 13<br/>value = [0, 1, 8, 0, 1, 1, 1, 0, 0, 1]<br/>class = country>, fillcolor="#b2f08c"] ;
80 -> 81 ;
82 [label=<BINSTDEV43 &le; 82.597<br/>gini = 0.75<br/>samples = 4<br/>value = [0, 1, 0, 0, 1, 1, 0, 0, 0, 1]<br/>class = classical>, fillcolor="#ffffff"] ;
82 [label=<BINAVG61 &le; 57.441<br/>gini = 0.75<br/>samples = 4<br/>value = [0, 1, 0, 0, 1, 1, 0, 0, 0, 1]<br/>class = classical>, fillcolor="#ffffff"] ;
81 -> 82 ;
83 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1]<br/>class = rock>, fillcolor="#e53958"] ;
83 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#39e5c5"] ;
82 -> 83 ;
84 [label=<BINSTDEV15 &le; 258.146<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 1, 0, 0, 1, 1, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#ffffff"] ;
84 [label=<BINAVG144 &le; 13.753<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 1, 0, 0, 0, 1, 0, 0, 0, 1]<br/>class = classical>, fillcolor="#ffffff"] ;
82 -> 84 ;
85 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
85 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
84 -> 85 ;
86 [label=<gini = 0.5<br/>samples = 2<br/>value = [0, 1, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#ffffff"] ;
86 [label=<gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 1]<br/>class = jazz>, fillcolor="#ffffff"] ;
84 -> 86 ;
87 [label=<BINSTDEV35 &le; 75.517<br/>gini = 0.198<br/>samples = 9<br/>value = [0, 0, 8, 0, 0, 0, 1, 0, 0, 0]<br/>class = country>, fillcolor="#8ce852"] ;
87 [label=<BINAVG23 &le; 52.624<br/>gini = 0.198<br/>samples = 9<br/>value = [0, 0, 8, 0, 0, 0, 1, 0, 0, 0]<br/>class = country>, fillcolor="#8ce852"] ;
81 -> 87 ;
88 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0]<br/>class = metal>, fillcolor="#3c39e5"] ;
87 -> 88 ;
......@@ -184,47 +184,47 @@ edge [fontname="helvetica"] ;
80 -> 90 ;
91 [label=<gini = 0.0<br/>samples = 5<br/>value = [5, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
90 -> 91 ;
92 [label=<BINSTDEV248 &le; 9.497<br/>gini = 0.676<br/>samples = 15<br/>value = [0, 0, 0, 7, 0, 2, 2, 0, 0, 4]<br/>class = disco>, fillcolor="#c9f8d3"] ;
92 [label=<BINAVG221 &le; 6.354<br/>gini = 0.676<br/>samples = 15<br/>value = [0, 0, 0, 7, 0, 2, 2, 0, 0, 4]<br/>class = disco>, fillcolor="#c9f8d3"] ;
90 -> 92 ;
93 [label=<BINSTDEV8 &le; 294.76<br/>gini = 0.346<br/>samples = 9<br/>value = [0, 0, 0, 7, 0, 0, 2, 0, 0, 0]<br/>class = disco>, fillcolor="#72ec8c"] ;
93 [label=<BINSTDEV222 &le; 3.043<br/>gini = 0.346<br/>samples = 9<br/>value = [0, 0, 0, 7, 0, 0, 2, 0, 0, 0]<br/>class = disco>, fillcolor="#72ec8c"] ;
92 -> 93 ;
94 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 2, 0, 0, 0]<br/>class = metal>, fillcolor="#3c39e5"] ;
93 -> 94 ;
95 [label=<gini = 0.0<br/>samples = 7<br/>value = [0, 0, 0, 7, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
93 -> 95 ;
96 [label=<BINAVG114 &le; 39.709<br/>gini = 0.444<br/>samples = 6<br/>value = [0, 0, 0, 0, 0, 2, 0, 0, 0, 4]<br/>class = rock>, fillcolor="#f29cac"] ;
96 [label=<BINSTDEV13 &le; 523.928<br/>gini = 0.444<br/>samples = 6<br/>value = [0, 0, 0, 0, 0, 2, 0, 0, 0, 4]<br/>class = rock>, fillcolor="#f29cac"] ;
92 -> 96 ;
97 [label=<gini = 0.0<br/>samples = 4<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 4]<br/>class = rock>, fillcolor="#e53958"] ;
96 -> 97 ;
98 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 2, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
96 -> 98 ;
99 [label=<BINSTDEV108 &le; 33.391<br/>gini = 0.311<br/>samples = 17<br/>value = [14, 0, 1, 1, 0, 0, 0, 0, 0, 1]<br/>class = blues>, fillcolor="#ea995e"] ;
99 [label=<BINSTDEV109 &le; 30.718<br/>gini = 0.311<br/>samples = 17<br/>value = [14, 0, 1, 1, 0, 0, 0, 0, 0, 1]<br/>class = blues>, fillcolor="#ea995e"] ;
43 -> 99 ;
100 [label=<gini = 0.0<br/>samples = 14<br/>value = [14, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
99 -> 100 ;
101 [label=<BINSTDEV118 &le; 19.815<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 0, 1, 1, 0, 0, 0, 0, 0, 1]<br/>class = country>, fillcolor="#ffffff"] ;
101 [label=<BINSTDEV200 &le; 14.712<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 0, 1, 1, 0, 0, 0, 0, 0, 1]<br/>class = country>, fillcolor="#ffffff"] ;
99 -> 101 ;
102 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
102 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1]<br/>class = rock>, fillcolor="#e53958"] ;
101 -> 102 ;
103 [label=<BINAVG197 &le; 19.18<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 1]<br/>class = disco>, fillcolor="#ffffff"] ;
103 [label=<BINAVG41 &le; 73.902<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 1, 1, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
101 -> 103 ;
104 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1]<br/>class = rock>, fillcolor="#e53958"] ;
104 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
103 -> 104 ;
105 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
103 -> 105 ;
106 [label=<BINAVG78 &le; 19.942<br/>gini = 0.825<br/>samples = 177<br/>value = [20, 2, 17, 27, 28, 5, 3, 7, 55, 13]<br/>class = reggae>, fillcolor="#fadbf4"] ;
20 -> 106 ;
107 [label=<BINSTDEV229 &le; 0.762<br/>gini = 0.442<br/>samples = 42<br/>value = [3, 0, 1, 1, 1, 1, 0, 1, 31, 3]<br/>class = reggae>, fillcolor="#ec71d2"] ;
107 [label=<BINSTDEV227 &le; 0.851<br/>gini = 0.442<br/>samples = 42<br/>value = [3, 0, 1, 1, 1, 1, 0, 1, 31, 3]<br/>class = reggae>, fillcolor="#ec71d2"] ;
106 -> 107 ;
108 [label=<BINSTDEV84 &le; 27.046<br/>gini = 0.72<br/>samples = 5<br/>value = [2, 0, 1, 0, 1, 1, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#f8e0ce"] ;
108 [label=<BINSTDEV88 &le; 20.507<br/>gini = 0.72<br/>samples = 5<br/>value = [2, 0, 1, 0, 1, 1, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#f8e0ce"] ;
107 -> 108 ;
109 [label=<gini = 0.0<br/>samples = 2<br/>value = [2, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
108 -> 109 ;
110 [label=<BINSTDEV101 &le; 15.437<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 0, 1, 0, 1, 1, 0, 0, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
110 [label=<BINAVG110 &le; 4.485<br/>gini = 0.667<br/>samples = 3<br/>value = [0, 0, 1, 0, 1, 1, 0, 0, 0, 0]<br/>class = country>, fillcolor="#ffffff"] ;
108 -> 110 ;
111 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
110 -> 111 ;
112 [label=<BINSTDEV143 &le; 14.89<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 0, 1, 1, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#ffffff"] ;
112 [label=<BINAVG176 &le; 3.473<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 0, 1, 1, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#ffffff"] ;
110 -> 112 ;
113 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
112 -> 113 ;
......@@ -232,21 +232,21 @@ edge [fontname="helvetica"] ;
112 -> 114 ;
115 [label=<BINAVG6 &le; 346.532<br/>gini = 0.289<br/>samples = 37<br/>value = [1, 0, 0, 1, 0, 0, 0, 1, 31, 3]<br/>class = reggae>, fillcolor="#ea5ccb"] ;
107 -> 115 ;
116 [label=<BINSTDEV142 &le; 41.493<br/>gini = 0.171<br/>samples = 33<br/>value = [1, 0, 0, 1, 0, 0, 0, 1, 30, 0]<br/>class = reggae>, fillcolor="#e74cc6"] ;
116 [label=<BINAVG163 &le; 13.521<br/>gini = 0.171<br/>samples = 33<br/>value = [1, 0, 0, 1, 0, 0, 0, 1, 30, 0]<br/>class = reggae>, fillcolor="#e74cc6"] ;
115 -> 116 ;
117 [label=<BINSTDEV0 &le; 143.503<br/>gini = 0.062<br/>samples = 31<br/>value = [1, 0, 0, 0, 0, 0, 0, 0, 30, 0]<br/>class = reggae>, fillcolor="#e640c2"] ;
117 [label=<BINAVG222 &le; 0.62<br/>gini = 0.062<br/>samples = 31<br/>value = [1, 0, 0, 0, 0, 0, 0, 0, 30, 0]<br/>class = reggae>, fillcolor="#e640c2"] ;
116 -> 117 ;
118 [label=<gini = 0.0<br/>samples = 1<br/>value = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
117 -> 118 ;
119 [label=<gini = 0.0<br/>samples = 30<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 30, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
117 -> 119 ;
120 [label=<BINAVG254 &le; 5.202<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 1, 0, 0, 0, 1, 0, 0]<br/>class = disco>, fillcolor="#ffffff"] ;
120 [label=<BINSTDEV69 &le; 61.429<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 1, 0, 0, 0, 1, 0, 0]<br/>class = disco>, fillcolor="#ffffff"] ;
116 -> 120 ;
121 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
121 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = pop>, fillcolor="#a339e5"] ;
120 -> 121 ;
122 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0]<br/>class = pop>, fillcolor="#a339e5"] ;
122 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
120 -> 122 ;
123 [label=<BINSTDEV183 &le; 38.304<br/>gini = 0.375<br/>samples = 4<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 1, 3]<br/>class = rock>, fillcolor="#ee7b90"] ;
123 [label=<BINAVG180 &le; 16.262<br/>gini = 0.375<br/>samples = 4<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 1, 3]<br/>class = rock>, fillcolor="#ee7b90"] ;
115 -> 123 ;
124 [label=<gini = 0.0<br/>samples = 3<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 3]<br/>class = rock>, fillcolor="#e53958"] ;
123 -> 124 ;
......@@ -258,83 +258,83 @@ edge [fontname="helvetica"] ;
126 -> 127 ;
128 [label=<BINSTDEV222 &le; 2.76<br/>gini = 0.79<br/>samples = 29<br/>value = [10, 2, 6, 2, 2, 0, 0, 0, 5, 2]<br/>class = blues>, fillcolor="#fae9dd"] ;
127 -> 128 ;
129 [label=<BINAVG57 &le; 60.037<br/>gini = 0.516<br/>samples = 15<br/>value = [10, 0, 2, 2, 1, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#efb185"] ;
129 [label=<BINAVG19 &le; 146.231<br/>gini = 0.516<br/>samples = 15<br/>value = [10, 0, 2, 2, 1, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#efb185"] ;
128 -> 129 ;
130 [label=<BINSTDEV137 &le; 27.766<br/>gini = 0.165<br/>samples = 11<br/>value = [10, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e88e4d"] ;
130 [label=<BINSTDEV253 &le; 0.567<br/>gini = 0.165<br/>samples = 11<br/>value = [10, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e88e4d"] ;
129 -> 130 ;
131 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
130 -> 131 ;
132 [label=<gini = 0.0<br/>samples = 10<br/>value = [10, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
130 -> 132 ;
133 [label=<BINAVG14 &le; 229.424<br/>gini = 0.625<br/>samples = 4<br/>value = [0, 0, 2, 1, 1, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#d3f6bd"] ;
133 [label=<BINAVG96 &le; 23.15<br/>gini = 0.625<br/>samples = 4<br/>value = [0, 0, 2, 1, 1, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#d3f6bd"] ;
129 -> 133 ;
134 [label=<BINAVG163 &le; 10.227<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#ffffff"] ;
134 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 2, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
133 -> 134 ;
135 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#39e5c5"] ;
134 -> 135 ;
136 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
134 -> 136 ;
137 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 2, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
133 -> 137 ;
135 [label=<BINAVG217 &le; 1.324<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#ffffff"] ;
133 -> 135 ;
136 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#39e5c5"] ;
135 -> 136 ;
137 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
135 -> 137 ;
138 [label=<BINSTDEV141 &le; 21.469<br/>gini = 0.745<br/>samples = 14<br/>value = [0, 2, 4, 0, 1, 0, 0, 0, 5, 2]<br/>class = reggae>, fillcolor="#fcebf9"] ;
128 -> 138 ;
139 [label=<BINAVG51 &le; 70.116<br/>gini = 0.5<br/>samples = 6<br/>value = [0, 1, 4, 0, 1, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#b0ef88"] ;
139 [label=<BINSTDEV2 &le; 1069.073<br/>gini = 0.5<br/>samples = 6<br/>value = [0, 1, 4, 0, 1, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#b0ef88"] ;
138 -> 139 ;
140 [label=<gini = 0.0<br/>samples = 4<br/>value = [0, 0, 4, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
139 -> 140 ;
141 [label=<BINSTDEV100 &le; 35.548<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 1, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#ffffff"] ;
141 [label=<BINAVG172 &le; 6.332<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 1, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#ffffff"] ;
139 -> 141 ;
142 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
142 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#39e5c5"] ;
141 -> 142 ;
143 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0]<br/>class = hiphop>, fillcolor="#39e5c5"] ;
143 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
141 -> 143 ;
144 [label=<BINSTDEV242 &le; 7.456<br/>gini = 0.531<br/>samples = 8<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 5, 2]<br/>class = reggae>, fillcolor="#f29ce0"] ;
144 [label=<BINAVG252 &le; 2.525<br/>gini = 0.531<br/>samples = 8<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 5, 2]<br/>class = reggae>, fillcolor="#f29ce0"] ;
138 -> 144 ;
145 [label=<BINAVG218 &le; 3.98<br/>gini = 0.444<br/>samples = 3<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#f29cac"] ;
145 [label=<BINSTDEV139 &le; 24.167<br/>gini = 0.444<br/>samples = 3<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#f29cac"] ;
144 -> 145 ;
146 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#e53958"] ;
146 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
145 -> 146 ;
147 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = classical>, fillcolor="#e2e539"] ;
147 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#e53958"] ;
145 -> 147 ;
148 [label=<gini = 0.0<br/>samples = 5<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 5, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
144 -> 148 ;
149 [label=<BINAVG143 &le; 29.627<br/>gini = 0.49<br/>samples = 33<br/>value = [1, 0, 4, 23, 0, 1, 0, 0, 2, 2]<br/>class = disco>, fillcolor="#7dee96"] ;
149 [label=<BINAVG142 &le; 29.503<br/>gini = 0.49<br/>samples = 33<br/>value = [1, 0, 4, 23, 0, 1, 0, 0, 2, 2]<br/>class = disco>, fillcolor="#7dee96"] ;
127 -> 149 ;
150 [label=<BINAVG3 &le; 662.085<br/>gini = 0.275<br/>samples = 26<br/>value = [1, 0, 1, 22, 0, 0, 0, 0, 0, 2]<br/>class = disco>, fillcolor="#5ae979"] ;
149 -> 150 ;
151 [label=<gini = 0.0<br/>samples = 20<br/>value = [0, 0, 0, 20, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
150 -> 151 ;
152 [label=<BINSTDEV221 &le; 31.843<br/>gini = 0.722<br/>samples = 6<br/>value = [1, 0, 1, 2, 0, 0, 0, 0, 0, 2]<br/>class = disco>, fillcolor="#ffffff"] ;
152 [label=<BINAVG2 &le; 863.301<br/>gini = 0.722<br/>samples = 6<br/>value = [1, 0, 1, 2, 0, 0, 0, 0, 0, 2]<br/>class = disco>, fillcolor="#ffffff"] ;
150 -> 152 ;
153 [label=<BINAVG1 &le; 444.536<br/>gini = 0.625<br/>samples = 4<br/>value = [1, 0, 1, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#f6bdc7"] ;
153 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#e53958"] ;
152 -> 153 ;
154 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 0, 2]<br/>class = rock>, fillcolor="#e53958"] ;
153 -> 154 ;
155 [label=<BINSTDEV33 &le; 420.11<br/>gini = 0.5<br/>samples = 2<br/>value = [1, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#ffffff"] ;
153 -> 155 ;
154 [label=<BINAVG11 &le; 420.984<br/>gini = 0.625<br/>samples = 4<br/>value = [1, 0, 1, 2, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#bdf6c9"] ;
152 -> 154 ;
155 [label=<BINSTDEV59 &le; 137.153<br/>gini = 0.5<br/>samples = 2<br/>value = [1, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#ffffff"] ;
154 -> 155 ;
156 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 1, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
155 -> 156 ;
157 [label=<gini = 0.0<br/>samples = 1<br/>value = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0]<br/>class = blues>, fillcolor="#e58139"] ;
155 -> 157 ;
158 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 2, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
152 -> 158 ;
159 [label=<BINSTDEV89 &le; 74.721<br/>gini = 0.694<br/>samples = 7<br/>value = [0, 0, 3, 1, 0, 1, 0, 0, 2, 0]<br/>class = country>, fillcolor="#e5fad7"] ;
154 -> 158 ;
159 [label=<BINSTDEV88 &le; 74.559<br/>gini = 0.694<br/>samples = 7<br/>value = [0, 0, 3, 1, 0, 1, 0, 0, 2, 0]<br/>class = country>, fillcolor="#e5fad7"] ;
149 -> 159 ;
160 [label=<gini = 0.0<br/>samples = 3<br/>value = [0, 0, 3, 0, 0, 0, 0, 0, 0, 0]<br/>class = country>, fillcolor="#7be539"] ;
159 -> 160 ;
161 [label=<BINAVG58 &le; 75.961<br/>gini = 0.625<br/>samples = 4<br/>value = [0, 0, 0, 1, 0, 1, 0, 0, 2, 0]<br/>class = reggae>, fillcolor="#f6bdea"] ;
161 [label=<BINSTDEV50 &le; 121.577<br/>gini = 0.625<br/>samples = 4<br/>value = [0, 0, 0, 1, 0, 1, 0, 0, 2, 0]<br/>class = reggae>, fillcolor="#f6bdea"] ;
159 -> 161 ;
162 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 2, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
162 [label=<BINSTDEV179 &le; 52.9<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 1, 0, 1, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#ffffff"] ;
161 -> 162 ;
163 [label=<BINSTDEV23 &le; 243.977<br/>gini = 0.5<br/>samples = 2<br/>value = [0, 0, 0, 1, 0, 1, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#ffffff"] ;
161 -> 163 ;
163 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
162 -> 163 ;
164 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0]<br/>class = disco>, fillcolor="#39e55e"] ;
163 -> 164 ;
165 [label=<gini = 0.0<br/>samples = 1<br/>value = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0]<br/>class = jazz>, fillcolor="#399de5"] ;
163 -> 165 ;
162 -> 164 ;
165 [label=<gini = 0.0<br/>samples = 2<br/>value = [0, 0, 0, 0, 0, 0, 0, 0, 2, 0]<br/>class = reggae>, fillcolor="#e539c0"] ;
161 -> 165 ;
166 [label=<BINAVG9 &le; 305.516<br/>gini = 0.798<br/>samples = 73<br/>value = [6, 0, 6, 1, 25, 3, 3, 6, 17, 6]<br/>class = hiphop>, fillcolor="#e3fbf7"] ;
126 -> 166 ;
167 [label=<BINSTDEV131 &le; 84.9<br/>gini = 0.68<br/>samples = 53<br/>value = [4, 0, 2, 1, 24, 0, 2, 0, 17, 3]<br/>class = hiphop>, fillcolor="#d9faf4"] ;
167 [label=<BINSTDEV128 &le; 84.982<br/>gini = 0.68<br/>samples = 53<br/>value = [4, 0, 2, 1, 24, 0, 2, 0, 17, 3]<br/>class = hiphop>, fillcolor="#d9faf4"] ;
166 -> 167 ;