%SYS
Configuration Class Reference

ML Configuration Definitions. More...

Inheritance diagram for Configuration:
Collaboration diagram for Configuration:

Public Attributes

 Description
 Description of this Configurtion. More...
 
 Name
 Configuration name. More...
 
 Owner
 Username/Rolename that is the owner of this ML Configuration. More...
 
 Type
 Provider. More...
 
 Using
 Default USING clause for the provider. More...
 

Static Private Member Functions

_.Library.Status Create (_.Library.String name, _.Library.String desc, _.Library.String using, _.Library.String owner)
 Create default ML configuration. More...
 
_.Library.String GetDefault ()
 Returns the current process's default ML Configuration. More...
 
_.Library.String GetProviderFromName (_.Library.String name, _.Library.Status sc)
 Given the name of a ML Configuration, return the name of the provider.
 
_.Library.String GetSystemDefault ()
 Returns the system-wide default ML Configuration. More...
 
_.Library.DynamicObject GetUsingFromName (_.Library.String name)
 Given the name of a ML Configuration, return the using property value. More...
 
_.Library.Status Modify (_.Library.String name, _.Library.String desc, _.Library.String using, _.Library.String owner)
 Modify an ML configuration. More...
 
_.Library.Status Remove (_.Library.String name, _.Library.Boolean tempDrop)
 Remove configuration.
 
_.Library.Status SetDefault (_.Library.String name)
 Sets the current process's default ML Configuration.
 
_.Library.Status SetSystemDefault (_.Library.String name)
 Sets the system-wide default ML Configuration.
 

Detailed Description

ML Configuration Definitions.

This super class should be extended by different providers to allow for custom configurations. Any configuration settings common to all providers should be defined in this class.

Member Function Documentation

◆ Create()

_.Library.Status Create ( _.Library.String  name,
_.Library.String  desc,
_.Library.String  using,
_.Library.String  owner 
)
staticprivate

Create default ML configuration.

name - Name of the configuration, required, must be unique. String with MAXLEN=256 desc - Optional description for the configuration using - default USING clause for the configuration. This is a JSON string of key:value pairs (See CREATE MODEL for examples)

Reimplemented in Configuration, and Configuration.

◆ GetDefault()

_.Library.String GetDefault ( )
staticprivate

Returns the current process's default ML Configuration.

Returns "" if an error or the ML Configuration no longer exists and there is no system default

◆ GetSystemDefault()

_.Library.String GetSystemDefault ( )
staticprivate

Returns the system-wide default ML Configuration.

if no system wide default is defined (which really should not happen), "" is returned

◆ GetUsingFromName()

_.Library.DynamicObject GetUsingFromName ( _.Library.String  name)
staticprivate

Given the name of a ML Configuration, return the using property value.

"" returned upon error

◆ Modify()

_.Library.Status Modify ( _.Library.String  name,
_.Library.String  desc,
_.Library.String  using,
_.Library.String  owner 
)
staticprivate

Modify an ML configuration.

name - Name of the configuration to modify desc - Description for the configuration using - default USING clause for the configuration. This is a JSON string of key:value pairs (See CREATE MODEL for examples) owner - Username/Rolename that owns this ML Configuration To change Description, Using, or Owner, supply a new value (including "" to set the new value to null).
To leave the value alone, don't pass any value for the parameter Name and Type cannot be modified

Member Data Documentation

◆ Description

Description

Description of this Configurtion.

 

◆ Name

Name

Configuration name.

 

◆ Owner

Owner

Username/Rolename that is the owner of this ML Configuration.

The owner will always implicitly have USE privilege for the configuration  

◆ Type

Type

Provider.

0 = AutoML, 1 = H2O, 2 = DataRobot, 3 = PMML  

◆ Using

Using

Default USING clause for the provider.