mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-20 09:37:04 -05:00
25 lines
904 B
Python
25 lines
904 B
Python
# Copyright (c) Microsoft. All rights reserved.
|
|
# Licensed under the MIT license.
|
|
|
|
import argparse
|
|
import os
|
|
|
|
print("In compare.py")
|
|
print("As a data scientist, this is where I use my compare code.")
|
|
parser = argparse.ArgumentParser("compare")
|
|
parser.add_argument("--compare_data1", type=str, help="compare_data1 data")
|
|
parser.add_argument("--compare_data2", type=str, help="compare_data2 data")
|
|
parser.add_argument("--output_compare", type=str, help="output_compare directory")
|
|
parser.add_argument("--pipeline_param", type=int, help="pipeline parameter")
|
|
|
|
args = parser.parse_args()
|
|
|
|
print("Argument 1: %s" % args.compare_data1)
|
|
print("Argument 2: %s" % args.compare_data2)
|
|
print("Argument 3: %s" % args.output_compare)
|
|
print("Argument 4: %s" % args.pipeline_param)
|
|
|
|
if not (args.output_compare is None):
|
|
os.makedirs(args.output_compare, exist_ok=True)
|
|
print("%s created" % args.output_compare)
|