
Answer-first summary for fast verification
Answer: No
The proposed solution 'python script.py --training_data training_data' does not meet the goal because it passes the literal string 'training_data' as the parameter value instead of the actual path to the dataset file 'dataset1.csv'. The script expects the training_data argument to specify the path to the training data file, but the solution provides the parameter name itself as the value, which is incorrect. The correct approach would be to specify the actual file path, such as 'python script.py --training_data /path/to/dataset1.csv' or similar, depending on how the data is accessed in Azure ML. The community discussion comment shows a correct example with an actual path, reinforcing that the proposed solution is flawed.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You plan to run a Python script named script.py as a command job in your Azure Machine Learning workspace. The script requires an argument named training_data, which specifies the path to the training data file dataset1.csv.
You must provide the command to pass the dataset path as a parameter value when submitting the script as a training job.
Proposed Solution:
python script.py --training_data training_data
python script.py --training_data training_data
Does this solution meet the goal?
A
Yes
B
No
No comments yet.