The `copyModelExternal` action allows for the duplication of an analytic model, previously stored in a CAS table, to an external data source. This is a crucial step in model deployment pipelines, enabling models trained in SAS Viya to be executed in different environments like Hadoop, Teradata, o...
proc cas; loadactionset "modelPublishing"; modelPublishing.copyModelExternal / modelTable={name="myModelTable", caslib="casuser"} modelName="myModelStore" modelOptions={replace=true} externalOptions={ extType="TERADATA", server="my_teradata_server"...
A financial institution updates its Fraud Detection model weekly to adapt to new attack vectors. The model must be pushed to a Teradata appliance used for high-volume transaction scoring. It is critical that the new model overwrites the previous version seamlessly.
The addCaslib action supports a wide variety of data source types, including: PATH (for file system paths), DNFS, HDFS, S3, ORACLE, TERADATA, POSTGRES, MYSQL, SQLSERVER, SNOWFLAKE, BIGQUERY, REDSHIFT, and many others available through JDBC or ODBC.
The destination is defined using the `externalOptions` parameter. You must specify the `extType` (e.g., 'DATABRICKS', 'FILESYSTEM', 'HADOOP', 'SINGLESTORE', 'SYNAPSE', 'TERADATA') and provide the relevant parameters for that specific external type.
The supported values for the `extType` parameter are 'DATABRICKS', 'FILESYSTEM', 'HADOOP', 'SINGLESTORE', 'SYNAPSE', and 'TERADATA'.
When using 'TERADATA', you must provide the Teradata model table name via the `modelTable` parameter within `externalOptions`. You may also need to provide connection details such as `server`, `database`, `username`, and `password` or an `authenticationDomain`.
specifies the table containing the model. Long form: modelTable={name="table-name"}. Shortcut form: modelTable="table-name". Alias: model. The castable value can be one or more of the following: caslib="string". specifies the caslib for the input table that you want to use with the action. By def...
specifies the settings for an input table. Long form: table={name="table-name"}. Shortcut form: table="table-name". The castable value can be one or more of the following: caslib="string". specifies the caslib for the input table that you want to use with the action. By default, the active caslib...
``` regression.genmodScore / alpha=double, casOut={ caslib="string", compress=TRUE | FALSE, indexVars={ "variable-name-1" }, label="string", lifetime=64-bit-integer, maxMemSize=64-bit-integer, memoryFormat="DVR...