From 8551921eb9778490731da9593a608abf2898969b Mon Sep 17 00:00:00 2001 From: James Gould Date: Thu, 10 Nov 2022 11:41:22 -0600 Subject: [PATCH] docs(Comment documentation): Fixed incorrect JSON in comment doc. Fixes an issue with the JSON format in the comment documentation for the neural-network.md reference. re #1160 --- docs/reference/neural-network.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/neural-network.md b/docs/reference/neural-network.md index 1a39b5f63..20457a917 100644 --- a/docs/reference/neural-network.md +++ b/docs/reference/neural-network.md @@ -201,8 +201,8 @@ function handleResults(error, result) { /** The weather json looks something like: {"data": [ - {"xs": {"avg_temperature":20, "humidity": 0.2}, "ys": {"rained": "no"}}, - {"xs": {"avg_temperature":30, "humidity": 0.9}, "ys": {"rained": "yes"}} + {"avg_temperature":20, "humidity": 0.2, "rained" : "no"}, + {"avg_temperature":30, "humidity": 0.9, "rained": "yes"} ] } * */ const options = {