skip to navigation
skip to content

gpkg.cloudml.census 0.1.0.dev4

Census models for Cloud ML

Latest Version: 0.1.0.dev7

Models

census-estimator

Wide and deep classifier for census income data using TensorFlow estimators

Operations

cloudml-deploy

Deploy a trained model on Cloud ML Engine

Flags
bucket-name
Name of bucket to use for uploaded model binaries (locally trained models only)
model-binaries
Path to upload model binaries (locally trained models only)
run
Run ID to deploy (use ‘guild runs list census estimator’ for a list)

cloudml-predict

Send a prediction request to Cloud ML Engine

Flags
format
Format of the prediction output
instance-type
Instance type (‘json’ or ‘text’) (if cannot be inferred from instances file name)
instances
File containing the instances to make predictions on
run
Deployment run ID to use for prediction

cloudml-train

Train the model on Cloud ML Engine

Flags
bucket-name
Name of bucket to use for run data storage
config
Path to the Cloud ML job configuration file
embedding-size
Number of embedding dimensions for categorical columns (default is 8)
eval-batch-size
Batch size for evaluation steps (default is 40)
eval-delay-secs
How long to wait before running first evaluation (default is 10)
eval-steps
Number of steps to run evalution for at each checkpoint (default is 100)
export-format
The input format of the exported SavedModel binary Values may be JSON, CSV, or EXAMPLE. (default is ‘JSON’)
first-layer-size
Number of nodes in the first layer of the DNN (default is 100)
job-name
Name of training job If not specified, Guild will generate a name based on the run ID.
min-eval-frequency
Minimum number of training steps between evaluations
num-epochs
Number of training data epochs If both train-steps and epochs are specified, the training job will run for train-steps or epochs, whichever occurs first. If unspecified will run for train-steps. (default is 10)
num-layers
Number of layers in the DNN (default is 4)
region
Region of the training job to submit (default is ‘us-central1’)
scale-factor
How quickly should the size of the layers in the DNN decay (default is 0.7)
scale-tier
Cloud ML resources allocated to a training job Use STANDARD_1 for many workers and a few parameter servers. Use PREMIUM_1 for a large number of workers with many parameter servers. Use BASIC_GPU for a single worker instance with a GPU.
train-batch-size
Batch size for training steps (default is 40)
train-steps
Steps to run the training job for If num-epochs is not specified, this must be otherwise the training job will run indefinitely.
verbosity
Log level (use DEBUG for more information) Values may be DEBUG, INFO, WARN, ERROR, or FATAL. (default is ‘INFO’)

train

Train the model locally

Flags
embedding-size
Number of embedding dimensions for categorical columns (default is 8)
eval-batch-size
Batch size for evaluation steps (default is 40)
eval-delay-secs
How long to wait before running first evaluation (default is 10)
eval-steps
Number of steps to run evalution for at each checkpoint (default is 100)
export-format
The input format of the exported SavedModel binary Values may be JSON, CSV, or EXAMPLE. (default is ‘JSON’)
first-layer-size
Number of nodes in the first layer of the DNN (default is 100)
min-eval-frequency
Minimum number of training steps between evaluations
num-epochs
Number of training data epochs If both train-steps and epochs are specified, the training job will run for train-steps or epochs, whichever occurs first. If unspecified will run for train-steps. (default is 10)
num-layers
Number of layers in the DNN (default is 4)
scale-factor
How quickly should the size of the layers in the DNN decay (default is 0.7)
train-batch-size
Batch size for training steps (default is 40)
train-steps
Steps to run the training job for If num-epochs is not specified, this must be otherwise the training job will run indefinitely.
verbosity
Log level (use DEBUG for more information) Values may be DEBUG, INFO, WARN, ERROR, or FATAL. (default is ‘INFO’)

Model flags

No flags defined at the model level

 
File Type Py Version Uploaded on Size
gpkg.cloudml.census-0.1.0.dev4-py2.py3-none-any.whl (md5, pgp) Python Wheel py2.py3 2017-11-10 7KB