Hi. Please see below crash during a long run. The system first crashed with a message saying a worker had crashed maybe because of a memory error. I don't think that was it as memory used was less than 15% of available. Running it again on same directory I get the following error: IndexError: single positional indexer is out-of-bounds
This is the output:
AutoML directory: ./../models/4B_FINAL_XGB//ensemble_Final_XGBoost_t6
The task is binary_classification with evaluation metric logloss
AutoML will use algorithms: ['Xgboost']
AutoML will ensemble availabe models
AutoML steps: ['simple_algorithms', 'default_algorithms', 'not_so_random', 'golden_features', 'insert_random_feature', 'features_selection', 'hill_climbing_1', 'hill_climbing_2', 'ensemble']
Skip simple_algorithms because no parameters were generated.
- Step default_algorithms will try to check up to 1 model
Skipping 1_Default_Xgboost, already trained.
- Step not_so_random will try to check up to 4 models
Skipping 2_Xgboost, already trained.
Skipping 3_Xgboost, already trained.
Skipping 4_Xgboost, already trained.
Skipping 5_Xgboost, already trained.
- Step golden_features will try to check up to 1 model
Skipping 3_Xgboost_GoldenFeatures, already trained.
IndexError Traceback (most recent call last)
in
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/automl.py in fit(self, X, y)
274 AutoML object: Returns self
275 """
--> 276 return self._fit(X, y)
277
278 def predict(self, X):
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/base_automl.py in _fit(self, X, y)
667
668 except Exception as e:
--> 669 raise e
670 finally:
671 if self._X_path is not None:
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/base_automl.py in _fit(self, X, y)
622 generated_params = self._all_params[step]
623 else:
--> 624 generated_params = tuner.generate_params(
625 step, self._models, self._results_path, self._stacked_models
626 )
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/tuner/mljar_tuner.py in generate_params(self, step, models, results_path, stacked_models)
99 return self.get_golden_features_params(models, results_path)
100 elif step == "insert_random_feature":
--> 101 return self.get_params_to_insert_random_feature(models)
102 elif step == "features_selection":
103 return self.get_feature_selection_params(models, results_path)
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/tuner/mljar_tuner.py in get_params_to_insert_random_feature(self, current_models)
433 df_models.sort_values(by="score", ascending=True, inplace=True)
434
--> 435 m = df_models.iloc[0]["model"]
436
437 params = copy.deepcopy(m.params)
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/pandas/core/indexing.py in getitem(self, key)
877
878 maybe_callable = com.apply_if_callable(key, self.obj)
--> 879 return self._getitem_axis(maybe_callable, axis=axis)
880
881 def _is_scalar_access(self, key: Tuple):
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/pandas/core/indexing.py in _getitem_axis(self, key, axis)
1494
1495 # validate the location
-> 1496 self._validate_integer(key, axis)
1497
1498 return self.obj._ixs(key, axis=axis)
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/pandas/core/indexing.py in _validate_integer(self, key, axis)
1435 len_axis = len(self.obj._get_axis(axis))
1436 if key >= len_axis or key < -len_axis:
-> 1437 raise IndexError("single positional indexer is out-of-bounds")
1438
1439 # -------------------------------------------------------------------
IndexError: single positional indexer is out-of-bounds
Hi. Please see below crash during a long run. The system first crashed with a message saying a worker had crashed maybe because of a memory error. I don't think that was it as memory used was less than 15% of available. Running it again on same directory I get the following error: IndexError: single positional indexer is out-of-bounds
This is the output:
AutoML directory: ./../models/4B_FINAL_XGB//ensemble_Final_XGBoost_t6
The task is binary_classification with evaluation metric logloss
AutoML will use algorithms: ['Xgboost']
AutoML will ensemble availabe models
AutoML steps: ['simple_algorithms', 'default_algorithms', 'not_so_random', 'golden_features', 'insert_random_feature', 'features_selection', 'hill_climbing_1', 'hill_climbing_2', 'ensemble']
Skip simple_algorithms because no parameters were generated.
Skipping 1_Default_Xgboost, already trained.
Skipping 2_Xgboost, already trained.
Skipping 3_Xgboost, already trained.
Skipping 4_Xgboost, already trained.
Skipping 5_Xgboost, already trained.
Skipping 3_Xgboost_GoldenFeatures, already trained.
IndexError Traceback (most recent call last)
in
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/automl.py in fit(self, X, y)
274 AutoML object: Returns
self275 """
--> 276 return self._fit(X, y)
277
278 def predict(self, X):
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/base_automl.py in _fit(self, X, y)
667
668 except Exception as e:
--> 669 raise e
670 finally:
671 if self._X_path is not None:
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/base_automl.py in _fit(self, X, y)
622 generated_params = self._all_params[step]
623 else:
--> 624 generated_params = tuner.generate_params(
625 step, self._models, self._results_path, self._stacked_models
626 )
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/tuner/mljar_tuner.py in generate_params(self, step, models, results_path, stacked_models)
99 return self.get_golden_features_params(models, results_path)
100 elif step == "insert_random_feature":
--> 101 return self.get_params_to_insert_random_feature(models)
102 elif step == "features_selection":
103 return self.get_feature_selection_params(models, results_path)
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/supervised/tuner/mljar_tuner.py in get_params_to_insert_random_feature(self, current_models)
433 df_models.sort_values(by="score", ascending=True, inplace=True)
434
--> 435 m = df_models.iloc[0]["model"]
436
437 params = copy.deepcopy(m.params)
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/pandas/core/indexing.py in getitem(self, key)
877
878 maybe_callable = com.apply_if_callable(key, self.obj)
--> 879 return self._getitem_axis(maybe_callable, axis=axis)
880
881 def _is_scalar_access(self, key: Tuple):
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/pandas/core/indexing.py in _getitem_axis(self, key, axis)
1494
1495 # validate the location
-> 1496 self._validate_integer(key, axis)
1497
1498 return self.obj._ixs(key, axis=axis)
~/anaconda3/envs/mlj_shap_6/lib/python3.8/site-packages/pandas/core/indexing.py in _validate_integer(self, key, axis)
1435 len_axis = len(self.obj._get_axis(axis))
1436 if key >= len_axis or key < -len_axis:
-> 1437 raise IndexError("single positional indexer is out-of-bounds")
1438
1439 # -------------------------------------------------------------------
IndexError: single positional indexer is out-of-bounds