from sklearn.metrics import r2_score ensemble1 = [tree1,] tree1_pred = tree1.predict(X) >>> r2_score(y, tree1_pred) 0.6804
Measure performance
of current ensemble