tests implemented in randomforest
Computations of accuracy, precision and F1 score,
based on Jean-François Rajotte's code.