google_api_prediction v0.0.1 GoogleApi.Prediction.V16.Api.Trainedmodels View Source
API calls for all endpoints tagged Trainedmodels
.
Link to this section Summary
Functions
Get analysis of the model and the data the model was trained on
Delete a trained model
Check training status of your model
Train a Prediction API model
List available models
Submit model id and request a prediction
Add new data to a trained model
Link to this section Functions
prediction_trainedmodels_analyze(Tesla.Env.client, String.t, String.t, keyword) :: {:ok, GoogleApi.Prediction.V16.Model.Analyze.t} | {:error, Tesla.Env.t}
Get analysis of the model and the data the model was trained on.
Parameters
- connection (GoogleApi.Prediction.V16.Connection): Connection to server
- project (String): The project associated with the model.
- id (String): The unique name for the predictive model.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.Prediction.V16.Model.Analyze{}} on success {:error, info} on failure
prediction_trainedmodels_delete(Tesla.Env.client, String.t, String.t, keyword) :: {:ok, nil} | {:error, Tesla.Env.t}
Delete a trained model.
Parameters
- connection (GoogleApi.Prediction.V16.Connection): Connection to server
- project (String): The project associated with the model.
- id (String): The unique name for the predictive model.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %{}} on success {:error, info} on failure
prediction_trainedmodels_get(Tesla.Env.client, String.t, String.t, keyword) :: {:ok, GoogleApi.Prediction.V16.Model.Insert2.t} | {:error, Tesla.Env.t}
Check training status of your model.
Parameters
- connection (GoogleApi.Prediction.V16.Connection): Connection to server
- project (String): The project associated with the model.
- id (String): The unique name for the predictive model.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
Returns
{:ok, %GoogleApi.Prediction.V16.Model.Insert2{}} on success {:error, info} on failure
prediction_trainedmodels_insert(Tesla.Env.client, String.t, keyword) :: {:ok, GoogleApi.Prediction.V16.Model.Insert2.t} | {:error, Tesla.Env.t}
Train a Prediction API model.
Parameters
- connection (GoogleApi.Prediction.V16.Connection): Connection to server
- project (String): The project associated with the model.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Insert):
Returns
{:ok, %GoogleApi.Prediction.V16.Model.Insert2{}} on success {:error, info} on failure
prediction_trainedmodels_list(Tesla.Env.client, String.t, keyword) :: {:ok, List.t} | {:error, Tesla.Env.t}
List available models.
Parameters
- connection (GoogleApi.Prediction.V16.Connection): Connection to server
- project (String): The project associated with the model.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :max_results (Integer): Maximum number of results to return.
- :page_token (String): Pagination token.
Returns
{:ok, %GoogleApi.Prediction.V16.Model.List{}} on success {:error, info} on failure
prediction_trainedmodels_predict(Tesla.Env.client, String.t, String.t, keyword) :: {:ok, GoogleApi.Prediction.V16.Model.Output.t} | {:error, Tesla.Env.t}
Submit model id and request a prediction.
Parameters
- connection (GoogleApi.Prediction.V16.Connection): Connection to server
- project (String): The project associated with the model.
- id (String): The unique name for the predictive model.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Input):
Returns
{:ok, %GoogleApi.Prediction.V16.Model.Output{}} on success {:error, info} on failure
prediction_trainedmodels_update(Tesla.Env.client, String.t, String.t, keyword) :: {:ok, GoogleApi.Prediction.V16.Model.Insert2.t} | {:error, Tesla.Env.t}
Add new data to a trained model.
Parameters
- connection (GoogleApi.Prediction.V16.Connection): Connection to server
- project (String): The project associated with the model.
- id (String): The unique name for the predictive model.
opts (KeywordList): [optional] Optional parameters
- :alt (String): Data format for the response.
- :fields (String): Selector specifying which fields to include in a partial response.
- :key (String): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String): OAuth 2.0 token for the current user.
- :pretty_print (Boolean): Returns response with indentations and line breaks.
- :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
- :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
- :body (Update):
Returns
{:ok, %GoogleApi.Prediction.V16.Model.Insert2{}} on success {:error, info} on failure