Module: Google::Cloud::Retail::V2::ModelService

Defined in:
lib/google/cloud/retail/v2/model_service.rb,
lib/google/cloud/retail/v2/model_service/rest.rb,
lib/google/cloud/retail/v2/model_service/paths.rb,
lib/google/cloud/retail/v2/model_service/client.rb,
lib/google/cloud/retail/v2/model_service/operations.rb,
lib/google/cloud/retail/v2/model_service/credentials.rb,
lib/google/cloud/retail/v2/model_service/rest/client.rb,
lib/google/cloud/retail/v2/model_service/rest/operations.rb,
lib/google/cloud/retail/v2/model_service/rest/service_stub.rb

Overview

Service for performing CRUD operations on models. Recommendation models contain all the metadata necessary to generate a set of models for the Predict() API. A model is queried indirectly via a ServingConfig, which associates a model with a given Placement (e.g. Frequently Bought Together on Home Page).

This service allows you to do the following:

  • Initiate training of a model.
  • Pause training of an existing model.
  • List all the available models along with their metadata.
  • Control their tuning schedule.

To load this service and instantiate a REST client:

require "google/cloud/retail/v2/model_service/rest"
client = ::Google::Cloud::Retail::V2::ModelService::Rest::Client.new

Defined Under Namespace

Modules: Paths, Rest Classes: Client, Credentials, Operations