Machine Learning, Investment, AI, Sklearn, Quant.
predictions_1 )) print(classification_report(Y_validation_1, predictions_1 )) # estimate accuracy on validation set predictions_2 = best_model_2 .predict(X__validation_scaled) print(accuracy_score(Y_validation_2, predictions_2)) print(confusion_matrix(Y_validation_2, predictions_2))