Description Usage Arguments Value References
Trained models: Submit model id and request a prediction. Hosted models: Submit input and request an output against a hosted model.
1 2 |
csv_instance |
Input to the model for a prediction. A list of input features, these can be strings or doubles. |
model_id |
The unique name for the predictive model (trained or hosted) |
project |
The project associated with the model. |
oauth |
The httr OAuth2.0 token reference class object to use for authentication. |
hosted |
optional boolean TRUE = hosted model, FALSE = trained model. |
JSON response from the Google Prediction API converted into an R List.
Trainedmodels: predict https://developers.google.com/prediction/docs/reference/v1.6/trainedmodels/predict
Hostedmodels: predict https://developers.google.com/prediction/docs/reference/v1.6/hostedmodels/predict
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.