Programa para el testeo de las funciones.Para compilar o código example_ensembledecisiontree2.cpp:
Para executar o programa:
Retornando por consola:
Pds::DecisionTree::Counter: 71 Trained bag 0 with 2000 samples obtaining 49 decision. Trained bag 1 with 2000 samples obtaining 63 decision. Trained bag 2 with 2000 samples obtaining 65 decision. Trained bag 3 with 2000 samples obtaining 59 decision. Trained bag 4 with 2000 samples obtaining 61 decision. Trained bag 5 with 2000 samples obtaining 57 decision. Trained bag 6 with 2000 samples obtaining 49 decision. Trained bag 7 with 2000 samples obtaining 43 decision. Trained bag 8 with 2000 samples obtaining 63 decision. Trained bag 9 with 2000 samples obtaining 61 decision. Trained bag 10 with 2000 samples obtaining 47 decision. Trained bag 11 with 2000 samples obtaining 45 decision. Trained bag 12 with 2000 samples obtaining 49 decision. Trained bag 13 with 2000 samples obtaining 61 decision. Trained bag 14 with 2000 samples obtaining 51 decision. Trained bag 15 with 2000 samples obtaining 49 decision.
Código example_ensembledecisiontree2.cpp: