Skip to content

Commit

Permalink
Update json.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherry committed Jun 27, 2024
1 parent f8575f3 commit 1ffd230
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions Instructions/Labs/01-machine-learning.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1ffd230

Please sign in to comment.