Machine Learning, Exploratory Data Analysis.
scaler.fit_transform(sdss_df_fe.drop('class', axis=1)) X_train, X_test, y_train, y_test = train_test_split(sdss, sdss_df_fe['class'], test_size=0.33) XGBoost xgb = XGBClassifier(n_estimators=100) training_start = time.perf_counter() xgb.fit(X_train, y_train) training_end = time.perf_counter()