diff --git a/diabetes_regression/config.json b/diabetes_regression/parameters.json similarity index 100% rename from diabetes_regression/config.json rename to diabetes_regression/parameters.json diff --git a/diabetes_regression/training/train_aml.py b/diabetes_regression/training/train_aml.py index 18cfb852..65904b20 100644 --- a/diabetes_regression/training/train_aml.py +++ b/diabetes_regression/training/train_aml.py @@ -110,8 +110,8 @@ def main(): print("Getting training parameters") - # Load the training parameters from the config file - with open("config.json") as f: + # Load the training parameters from the parameters file + with open("parameters.json") as f: pars = json.load(f) try: train_args = pars["training"] diff --git a/docs/getting_started.md b/docs/getting_started.md index 6d3a9899..4cd8ec27 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -269,7 +269,7 @@ There are more variables used in the project. They're defined in two places: one For using Azure Pipelines, all other variables are stored in the file `.pipelines/diabetes_regression-variables-template.yml`. Using the default values as a starting point, adjust the variables to suit your requirements. -In that folder, you'll also find the `config.json` file that we recommend using to provide parameters for training, evaluation, and scoring scripts. The sample parameter that `diabetes_regression` uses is the ridge regression [*alpha* hyperparameter](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html). We don't provide any serializers for this config file. +In that folder, you'll also find the `parameters.json` file that we recommend using to provide parameters for training, evaluation, and scoring scripts. The sample parameter that `diabetes_regression` uses is the ridge regression [*alpha* hyperparameter](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.Ridge.html). We don't provide any serializers for this config file. #### Local configuration