remove json.loads

This commit is contained in:
Hai Ning
2018-10-25 13:03:10 -04:00
committed by GitHub
parent 3148e52258
commit 900cc7a76b

View File

@@ -680,7 +680,7 @@
"# score the entire test set.\n",
"test_samples = json.dumps({'data': X_test.tolist()})\n",
"\n",
"result = json.loads(service.run(input_data = test_samples))\n",
"result = service.run(input_data = test_samples)\n",
"residual = result - y_test"
]
},