Can't use AutoArima or Prophet for AutoMLConfig
The config we try:
automl_settings = {
'time_column_name': time_column_name,
'max_horizon': max_horizon,
}
automl_config = AutoMLConfig(task='forecasting',
primary_metric='normalized_root_mean_squared_error',
#blacklist_models = ['ExtremeRandomTrees', 'AutoArima', 'Prophet'],
whitelist_models=['Prophet'],
experiment_timeout_hours=0.3,
training_data=train,
label_column_name='demand',
compute_target=compute_target,
enable_early_stopping=True,
#enable_tf=True,
n_cross_validations=3,
verbosity=logging.INFO,
**automl_settings)
The error message:
ValidationException: ValidationException:
Message: Validation error(s): [{
"additional_properties": {},
"code": "UserError",
"message": "'iterations' value should be less than or equal to 'whitelisted_models' count, if 'whitelisted_models' is subset of ['AutoArima', 'Prophet']",
@tthpham we will review your feedback and get back to your shortly. Thanks.
@tthpham this is the expected behavior. Since we only recommend one iteration of prophet. If you only whitelist Prophet, then only 1 iteration will be run. We will work on defaulting this behavior so you don't run into this error.
@Aniththa Thank you for the response. Unfortunately, I retried with this settings below (I have already tried with and without blacklist_models parameter) and have another error.
automl_settings = {
'time_column_name': time_column_name,
'max_horizon': max_horizon,
}
automl_config = AutoMLConfig(task='forecasting',
iterations=1,
primary_metric='normalized_root_mean_squared_error',
whitelist_models=whitelist_model,
blacklist_models=[],
experiment_timeout_minutes=45,
training_data=train_dataset,
label_column_name=target,
compute_target=compute_target,
enable_early_stopping=True,
n_cross_validations=3,
verbosity=logging.INFO,
drop_column_names=dropColumns,
enable_voting_ensemble=False,
enable_stack_ensemble=False,
max_cores_per_iteration=-1,
enable_dnn=True,
**automl_settings)
The error message:
ConfigException: ConfigException:
Message: blacklisted and whitelisted models are exactly the same.Please remove models from the blacklist or add models to the whitelist.
InnerException: None
ErrorResponse
{
"error": {
"code": "UserError",
"inner_error": {
"code": "ValidationError"
},
"message": "blacklisted and whitelisted models are exactly the same.Please remove models from the blacklist or add models to the whitelist."
}
}
@tthpham did you specify the white list models: this doesnt look correct in the configuration: whitelist_models=whitelist_model, blacklist_models=[],
Hello @tthpham, I was reaching out to see if you were unblocked from this issue?
closing given no response - feel free to reopen