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.

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