gridsearch.fit(Xtrainscaled, ytrain) Fitting 5 folds for each of 1 candidates, totalling…
- User
grid_search.fit(X_train_scaled, y_train)
Fitting 5 folds for each of 1 candidates, totalling 5 fits c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\sklearn\model_selection_validation.py:542: FitFailedWarning: 1 fits failed out of a total of 5. The score on these train-test partitions for these parameters will be set to nan. If these failures are not expected, you can try to debug them by setting error_score='raise'.
Below are more details about the failures:
1 fits failed with the following error: Traceback (most recent call last): File "c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\sklearn\model_selection_validation.py", line 890, in _fit_and_score estimator.fit(X_train, y_train, **fit_params) File "c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\xgboost\core.py", line 730, in inner_f return func(**kwargs) File "c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\xgboost\sklearn.py", line 1519, in fit self._Booster = train( File "c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\xgboost\core.py", line 730, in inner_f return func(**kwargs) File "c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\xgboost\training.py", line 181, in train bst.update(dtrain, i, obj) File "c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\xgboost\core.py", line 2050, in update _check_call( File "c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\xgboost\core.py", line 282, in _check_call raise XGBoostError(py_str(_LIB.XGBGetLastError())) xgboost.core.XGBoostError: [21:44:06] C:\buildkite-agent\builds\buildkite-windows-cpu-autoscaling-group-i-0b3782d1791676daf-1\xgboost\xgboost-ci-windows\src\common\io.h:232: bad_malloc: Failed to allocate 2859102000 bytes.
warnings.warn(some_fits_failed_message, FitFailedWarning) c:\Users\Fazel\AppData\Local\Programs\Python\Python310\lib\site-packages\sklearn\model_selection_search.py:1051: UserWarning: One or more of the test scores are non-finite: [nan] warnings.warn(
- Assistant