Created
September 27, 2021 11:59
-
-
Save erap129/06b4cc8a7ff247cc3ab3b4316a579d8c to your computer and use it in GitHub Desktop.
NASA RUL project - naive window model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xgbr_windows_naive = XGBRegressor() | |
xgbr_windows_naive.fit(X_train_rolling.reshape(X_train_rolling.shape[0], -1), y_train_rolling) | |
print_train_test_results(X_train_rolling.reshape(X_train_rolling.shape[0], -1), | |
X_test_rolling.reshape(X_test_rolling.shape[0], -1), | |
y_train_rolling, y_test, xgbr_windows_naive) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment