unable to set holiday country parameter in Forecastingparameters when running Auto-ml from Python Notebook in azure ml studio

Muhammad Ali 6 Reputation points

As the question suggests, I am trying to setup an Azure Auto-ML experiment from Jupyter Notebook from Azure ML Workspace, and trying to configure the holiday country for the forecasting parameters.

MSDN for ForecastingParameters Class suggests all the Holiday Country related parameters have been deprecated.

I have also tried using the parameter for Holiday Country in the AutoMLConfig but in MSDN the country parameter has also been deprecated. AutoMLConfig AutoMLConfig

Does anyone know how can I use Country Region settings in either ForecastingParameters or AutoMLConfig?

My Attempt with Forecasting Parameters:

 forecastingParam_dict = {   'time_column_name':'DateColumn',  
                            'time_series_id_column_names': 'GroupColumn',  
                            'holiday_country':'GB',                             # <-- Tried both values with no luck  
                            'country_or_region_for_holidays':'GB',              # <-- Tried both values with no luck  
                            'short_series_handling_configuration': 'auto',  
fcpm = ForecastingParameters.from_parameters_dict(forecastingParam_dict,  
                                                  validate_params=True ,  

My Attempt with AutoMLConfig:

automl_settings = {  
                    'country_or_region':'GB',                 # <-- Tried both values with no luck  
                    'country_or_region_for_holidays':'GB',    # <-- Tried both values with no luck  
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,664 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,641 Reputation points

    @Muhammad Ali Thanks for the question. Can you please add more details about the error that you are getting. Please check the following BikeShare Demand Forecasting sample using Automated Machine Learning. If you are still facing an issue we would recommend raising an issue in the following Machine leaning notebooks link.