Skip to content

Commit efddca9

Browse files
authored
rename config.json to parameters.json (#223)
AML workspace configuration files are named"config.json" by default, so renaming the file containing training parameters to "parameters.json" to avoid confusion.
1 parent 806f042 commit efddca9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.

diabetes_regression/training/train_aml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def main():
110110

111111
print("Getting training parameters")
112112

113-
# Load the training parameters from the config file
114-
with open("config.json") as f:
113+
# Load the training parameters from the parameters file
114+
with open("parameters.json") as f:
115115
pars = json.load(f)
116116
try:
117117
train_args = pars["training"]

docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ There are more variables used in the project. They're defined in two places: one
269269

270270
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.
271271

272-
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.
272+
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.
273273

274274
#### Local configuration
275275

0 commit comments

Comments
 (0)