MachineLearningCLI

command module
v0.0.0-...-a253b58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

This is command line tool for Machine Learning, which you can used to train ML models and deploy models as service/api.

rexcli --help

github.com/RexG$ rexcli --help
A Machine Learning command line tool to help you train models and deploy models as service/api

Usage:
  rexcli [command]

Available Commands:
  help        Help about any command
  init        Prepare the Machine Learning environment on your local machine
  model       Train/deploy/undeploy/push/pull ML models
  model-api   Check your model-api status/log
  version     Print current version

rexcli model --help

src/github.com/RexG$ rexcli model --help
Train/deploy/undeploy/push/pull ML models

Usage:
  rexcli model [flags]
  rexcli model [command]

Available Commands:
  deploy      Deploy your model in  as a model-api (Restful API)
  list        List all your models from model repository
  train       Train your ML model
  upload      Upload local model to model repository

rexcli model train --help

if it's local, then will create a Jupyter instance for you

github.com/RexG$ rexcli model train --help
Train your ML model

Usage:
  rexcli model train [flags]

Flags:
  -p, ---prod         Train ML models in  PROD Jupyter notebooks
  -s, ---stg          Train ML models in  STG Jupyter notebooks
  -h, --help          help for train
  -l, --local         Train ML models in your local Jupyter notebook
      --name string   Name your local Jupyter instance (default "local-")
      --port int      Specify your local Jupyter instance port (default 8888)

rexcli model deploy --help

github.com/RexG$ rexcli model deploy --help
Deploy your model in  as a model-api (Restful API)

Usage:
  rexcli model deploy [flags]

Flags:
      ---prod                    deploy your model in  PROD
      ---stg                     deploy your model in  STG
      --api-name string          your model-api name
      --cpu int                  how many CPUs (default 1)
  -h, --help                     help for deploy
      --memory int               how many Gi memory for 1 model-api (default 1)
      --model-framework string   which ML framework you used fro training this model, e.g. MLflow/Tensorflow/XGBoost/SKLearn (default "MLflow")
      --model-url string         where your model is, a URL
      --replica-set int          how many model-api instances for 1 model-api (default 1)

Documentation

Overview

Copyright © 2020 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL