Machine Learning, Exploratory Data Analysis.
accuracy is: %3.2f" % (acc_xgb)) print("Time consumed for training: %4.3f" % (xgb_train_time)) print("Time consumed for prediction: %6.5f seconds" % (xgb_prediction_time)) '''OUTPUT XGBoost's prediction accuracy is: 99.21 Time consumed for training: 0.390 Time consumed for prediction: 0.01856