google-api-python-client
google-api-python-client copied to clipboard
Need support for prediction model sample with instance
predict_custom_model_sample(
"projects/794xxx496/locations/us-central1/xxxx/3452xxx524447744",
{ "instance_key_1": "value", ... },
{ "parameter_key_1": "value", ... }
)
```
Google is giving this example, I am not understanding the parameter_key and instance_key. To my understanding, I need to send the JSON instance.
```{"instances": [ {"when": {"price": "1212"}}]}```
How can I make it work with the predict_custom_model_sample?
https://stackoverflow.com/questions/65067104/python-google-prediction-example
found the solution
What is the solution?