Train a model using Cloud ML

Upload a TensorFlow application to Google Cloud, and use that application to train a model.

cloudml_train(file = "train.R", master_type = NULL, flags = NULL,
  region = NULL, config = NULL, collect = "ask")

Arguments

file

File to be used as entrypoint for training.

master_type

Training master node machine type. "standard" provides a basic machine configuration suitable for training simple models with small to moderate datasets. See the documentation at https://cloud.google.com/ml-engine/docs/training-overview#machine_type_table for details on available machine types.

flags

Named list with flag values (see flags()) or path to YAML file containing flag values.

region

The region to be used for training.

config

A list, YAML or JSON configuration file as described https://cloud.google.com/ml-engine/reference/rest/v1/projects.jobs.

collect

Collect job when training is completed (blocks waiting for the job to complete).

See also

job_status(), job_collect(), job_cancel()

Other CloudML functions: cloudml_deploy, cloudml_predict