gcat_create_model: Creates a model

View source: R/models.R

gcat_create_modelR Documentation

Creates a model

Description

Returns a Model in the responsefield when it completes. When you create a model, several model evaluations are created for it: a global evaluation, and one evaluation for each annotation spec.

Usage

gcat_create_model(
  projectId = gcat_project_get(),
  locationId = gcat_region_get(),
  datasetDisplayName = gcat_get_global_dataset(),
  columnDisplayName,
  modelDisplayName,
  trainBudgetMilliNodeHours = NULL,
  optimizationObjective = NULL,
  targetColumnSpecName = NULL
)

Arguments

projectId

GCP project id

locationId

location of GCP resources

datasetDisplayName

the full name of your dataset

columnDisplayName

the full name of the label or target

modelDisplayName

the name of the model shown in the interface

trainBudgetMilliNodeHours

number of milli-node-hours for training. For example, 1000 = 1 hour.

optimizationObjective

with the metric to optimize (optional). See https://cloud.google.com/automl-tables/docs/train#opt-obj

targetColumnSpecName

with the full column name of your target column (optional).

See Also

Other Model functions: gcat_batch_predict(), gcat_get_model(), gcat_list_model_evaluations(), gcat_list_models()


justinjm/googleCloudAutoMLTablesR documentation built on Jan. 11, 2023, 7:38 p.m.