While creating sagemaker baseline how to form the json input ?

0

Here(https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-create-baseline.html) it is mentioned "Note that the prediction/output columns are assumed to be the first columns in the training dataset." If our input is flat JSON how to specify the "prediction/output" ?

sashi
質問済み 8ヶ月前194ビュー
1回答
0
承認された回答

looks like it will be follow the pattern below

Input - Flattened JSON {"feature0": <value>, "feature1": <value>...} - Tabular "<value>, <value>..." - Output: - Flattened JSON {"prediction0": <value>, "prediction1": <value>...} - Tabular "<value>, <value>..."

Refer -> (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-pre-and-post-processing.html#model-monitor-pre-processing-script) " For example, suppose the output of your model is an array [1.0, 2.1]. The Amazon SageMaker Model Monitor container only works with tabular or flattened JSON structures, like {“prediction0”: 1.0, “prediction1” : 2.1}. You could use a preprocessing script like the following to transform the array into the correct JSON structure."

sashi
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ