Comments (6)
@rastala is this documented somewhere? consider also updating the notebooks which show always using json.dumps, even on data that wouldn't need it.
from machinelearningnotebooks.
I had the same issue and had to remove the json.dumps in the return from my run().
from machinelearningnotebooks.
The service calls Request library's Response.json() method on the return value. So if the return value can be handled by this method already, then json.dumps() wouldn't be necessary.
from machinelearningnotebooks.
I agree with with @prasanthpul - this should be documented somewhere and the notebooks should be updated...
@hning86 - Could we update these notebooks to take out json.dumps()
from the score.py examples. This causes malformed JSON to be returned from the webservice.
Additionally, we should have documentation that the return value from the run
method in scoring scripts should be a JSON serializable object and not a JSON string
from machinelearningnotebooks.
Yeah I will fix this. Thx for spotting it!
from machinelearningnotebooks.
this is fixed. i am closing the issue.
from machinelearningnotebooks.
Related Issues (20)
- Datastore.upload method is working, but impossible to delete files after HOT 2
- PipelineRun.getSteps returns list of Step objects, not StepRun HOT 1
- Using compute target name as a PipelineParameter
- Model doesn't run after submit - local compute
- ErrorResponseException: Invalid Enpoint
- Error importing PipelineComponentBatchDeployment from 'azure.ai.ml.entities'
- Diabetes catalog link might be broken
- import error
- AttributeError: '_OfflineRun' object has no attribute 'experiment'
- Improve the documentation
- Bug: `exclude_*` credentials in DefaultAzureCredential in azureml-mlflow
- model.predict_proba is not working in scoring script for classification
- Typo "a Azure"→"an Azure"
- Pyarrow<=11 upper bound
- Empezando
- Feature Request: Pipelines support for Ray Distribution
- TypeError: argument of type 'azureml.dataprep.rslex.StreamInfo' is not iterable HOT 4
- duplicates
- Parallel run example fail when executing with deserialization error HOT 1
- e
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from machinelearningnotebooks.