From 1ffd2300aeac995b1612506e8dd3587c529970e6 Mon Sep 17 00:00:00 2001 From: Sherry Date: Thu, 27 Jun 2024 15:27:51 -0700 Subject: [PATCH] Update json. --- Instructions/Labs/01-machine-learning.md | 42 +++++++++++++----------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/Instructions/Labs/01-machine-learning.md b/Instructions/Labs/01-machine-learning.md index e97cb6f..cd539dc 100644 --- a/Instructions/Labs/01-machine-learning.md +++ b/Instructions/Labs/01-machine-learning.md @@ -146,30 +146,32 @@ Now you can test your deployed service. 1. In the **Input data to test endpoint** pane, replace the template JSON with the following input data: - ```JSON + ```json { - "Inputs": { - "data": [ - { - "day": 1, - "mnth": 1, - "year": 2022, - "season": 2, - "holiday": 0, - "weekday": 1, - "workingday": 1, - "weathersit": 2, - "temp": 0.3, - "atemp": 0.3, - "hum": 0.3, - "windspeed": 0.3 - } - ] - }, - "GlobalParameters": 1.0 + "input_data": { + "columns": [ + { + "day": 1, + "mnth": 1, + "year": 2022, + "season": 2, + "holiday": 0, + "weekday": 1, + "workingday": 1, + "weathersit": 2, + "temp": 0.3, + "atemp": 0.3, + "hum": 0.3, + "windspeed": 0.3 + } + ], + "index": [], + "data": [] + } } ``` + 1. Click the **Test** button. 1. Review the test results, which include a predicted number of rentals based on the input features - similar to this: