From the course: Data Science on Google Cloud Platform: Predictive Analytics

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Running training synchronously

Running training synchronously - Google Cloud Tutorial

From the course: Data Science on Google Cloud Platform: Predictive Analytics

Start my 1-month free trial

Running training synchronously

- [Instructor] Let's use the shell command line to run ML training synchronously in the local mode. We do so by using the following command: gcloud ml-engine local train, the package-path to the package we created, and the module-name under the package that needs to be run. Let's run through the code to see what it means. We will use the gcloud utility. We specify the ml-engine as the subset of commands to use. Local specifies that it is run on the local VM. Train specifies the command. The package option specifies the location where the code for this exercise exists. The module-name specifies the name of the module that needs to be run. In this case, it is just the file name. Note that when run, this will access the data available in cloud storage. It will also save the module back into cloud storage. Let's run the command now. The command will execute the propensity-cloud.by file. It will download the CSV file, build the model, and upload the model back into cloud storage. It is…

Contents