The "hostedmodels" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| predict ($project, $hostedModelName, Google_Service_Prediction_Input $postBody, $optParams=array()) |
| Submit input and request an output against a hosted model.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "hostedmodels" collection of methods.
Typical usage is: $predictionService = new Google_Service_Prediction(...); $hostedmodels = $predictionService->hostedmodels;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ predict()
Submit input and request an output against a hosted model.
(hostedmodels.predict)
- Parameters
-
string | $project | The project associated with the model. |
string | $hostedModelName | The name of a hosted model. |
Google_Input | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Prediction.php