diff --git a/README.md b/README.md index e622ba75..fb11b830 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +trigger test + --- page_type: sample languages: diff --git a/code/evaluate/evaluate_model.py b/code/evaluate/evaluate_model.py index 2c01c1e0..6a1b2ac6 100644 --- a/code/evaluate/evaluate_model.py +++ b/code/evaluate/evaluate_model.py @@ -131,13 +131,13 @@ ) ) - if (new_model_mse < production_model_mse): - print("New trained model performs better, " - "thus it should be registered") - else: - print("New trained model metric is less than or equal to " - "production model so skipping model registration.") - run.parent.cancel() + # if (new_model_mse < production_model_mse): + # print("New trained model performs better, " + # "thus it should be registered") + # else: + # print("New trained model metric is less than or equal to " + # "production model so skipping model registration.") + # run.parent.cancel() else: print("This is the first model, " "thus it should be registered") diff --git a/code/scoring/conda_dependencies.yml b/code/scoring/conda_dependencies.yml index 41a05694..82b4b503 100644 --- a/code/scoring/conda_dependencies.yml +++ b/code/scoring/conda_dependencies.yml @@ -18,20 +18,20 @@ name: project_environment dependencies: # The python interpreter version. # Currently Azure ML Workbench only supports 3.5.2 and later. -- python=3.7.5 +- python=3.6 # Required by azureml-defaults, installed separately through Conda to # get a prebuilt version and not require build tools for the install. -- psutil=5.6 #latest +- psutil #latest - pip: # Required packages for AzureML execution, history, and data preparation. - - azureml-model-management-sdk==1.0.1b6.post1 - - azureml-sdk==1.0.74 - - scipy==1.3.1 - - scikit-learn==0.21.3 - - pandas==0.25.3 - - numpy==1.17.3 - - joblib==0.14.0 - - gunicorn==19.9.0 - - flask==1.1.1 + - azureml-model-management-sdk + - azureml-sdk + - scipy + - scikit-learn + - pandas + - numpy + - joblib + - gunicorn + - flask diff --git a/code/training/train.py b/code/training/train.py index 5f8c19ef..76aa6b13 100644 --- a/code/training/train.py +++ b/code/training/train.py @@ -31,9 +31,10 @@ from sklearn.metrics import mean_squared_error from sklearn.model_selection import train_test_split from sklearn.externals import joblib +import sys +import sklearn import numpy as np - parser = argparse.ArgumentParser("train") parser.add_argument( "--build_id", @@ -51,6 +52,9 @@ print("Argument 1: %s" % args.build_id) print("Argument 2: %s" % args.model_name) +print(sys.version) +print(np.__version__) +print(sklearn.__version__) model_name = args.model_name build_id = args.build_id