List of questions
Related questions
Question 35 - Professional Machine Learning Engineer discussion
You trained a text classification model. You have the following SignatureDefs:
What is the correct way to write the predict request?
A.
data = json.dumps({'signature_name': 'serving_default'\ 'instances': [fab', 'be1, 'cd']]})
B.
data = json dumps({'signature_name': 'serving_default'! 'instances': [['a', 'b', 'c', 'd', 'e', 'f']]})
C.
data = json.dumps({'signature_name': 'serving_default, 'instances': [['a', 'b\ 'c'1, [d\ 'e\ T]]})
D.
data = json dumps({'signature_name': f,serving_default', 'instances': [['a', 'b'], [c\ 'd'], ['e\ T]]})
Your answer:
0 comments
Sorted by
Leave a comment first