mdsp models Command¶
Syntax:
mdsp models
Help:
mdsp models --help
Alternative form:
mc models
(The CLI was using mc
as default command name in older versions)
Description¶
list, create or delete analytic models *
Usage¶
Parameter list:
Usage: mdsp models|ml [options]
list, create or delete analytic models *
Options:
-m, --mode [list|create|delete|update|info|download|template] mode [list | create | delete | update | info | download| template] (default:
"list")
-n, --modelname modelname
-t, --modeltype modeltype
-d, --modeldesc modeldesc (default: "created with Insights Hub CLI")
-i, --modelid Insights Hub model id
-f, --metadata model metadata file (default: "model.metadata.mdsp.json")
-r, --version model version for download (default: "last")
-p, --payload model payload file (default: "model.payload.mdsp.json")
-i, --modelid Insights Hub model id
-a, --modelauthor model author (default: "created by Insights Hub CLI")
-k, --passkey passkey
-y, --retry retry attempts before giving up (default: "3")
-v, --verbose verbose output
-h, --help display help for command
Examples¶
Here are some examples of how to use the mdsp models
command:
Examples:
mdsp models --mode template --modeltype core.basicmodel --modelname MyModel creates a template for model
mdsp models --mode create --metadata model.metadata.mdsp.json --payload model.payload.mdsp.json
creates a model from specified files
mdsp models --mode list lists all models in Insights Hub
mdsp models --mode delete --modelid 1234567..ef deletes model with specified id
mdsp models --mode info --modelid 123456...ef print out infos about model with id 132456...ef
mdsp models --mode download --modelid 123456...ef download model with id 132456...ef
See Insights Hub API documentation for more information about Insights Hub APIs.