MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

How to write batch scoring results to data lake?

Open lingfeidiewu opened this issue 6 years ago • 2 comments

I'm trying to write the output of batch scoring into datalake:

parallel_step_name = "batchscoring-" + datetime.now().strftime("%Y%m%d%H%M")

output_dir = PipelineData(name="scores", 
                          datastore=def_ADL_store,
                          output_mode="upload",
                          output_path_on_compute="path in data lake")

batch_score_step = ParallelRunStep(
    name=parallel_step_name,
    inputs=[test_data.as_named_input("test_data")],
    output=output_dir,
    parallel_run_config=parallel_run_config,
    allow_reuse=False
)

However I meet the error: "code": "UserError", "message": "User program failed with Exception: Missing argument --output or its value is empty.", How to resolve the problem?

lingfeidiewu avatar Aug 06 '20 06:08 lingfeidiewu

PipelineData does not support data lake. We just released the support of data lake via dataset API. documentation will be published next week. stay tuned!

MayMSFT avatar Aug 20 '20 21:08 MayMSFT

Here is the example that @MayMSFT referred to https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/work-with-data/datasets-tutorial/pipeline-with-datasets/pipeline-for-image-classification.ipynb

#please-close

meyetman avatar Nov 06 '20 18:11 meyetman