Explore. Share. Code.

The starting point for your SAS® and Viya™ projects

Articles
Technical Articles

Discover technical articles from the community

Code SAS
SAS® Code

Snippets & Tutorials

FAQ
Q&A Base

FAQ & Help

Scenarios
Scenarios

Business Use Cases

CAS Actions
CAS Actions

Full Catalog & Examples

Data Step
Data Step

Preparation Scripts

Python
Python

SAS & Python Integration

Blog
Blog

News, tech watch and site updates

Join the community

Participate in the life of the site

Community by the numbers

0
Documented Actions
0
Code Examples
0
Articles Techniques
0
Scénarios Métiers
0
Solved Questions

Random FAQ

How are data partitions defined by fractions in genmod Action?

Data partitions by fraction are defined using the partByFrac parameter, which accepts a partByFracStatement structure. This includes a seed for random number generation, and proportions for test and validate sets (test, validate).

See answer
On: genmod
What is methodNominal?

Specifies the imputation technique for nominal variables. Options: MODE (replaces missing values with the mode), VALUE (replaces missing values with the values specified in the valuesInterval and valuesNominal parameters).

See answer
On: impute
What is the purpose of the transformationPolicy parameter?

The transformationPolicy parameter defines the scope of feature transformations and generations the machine will perform. It allows you to enable or disable specific transformation types such as those for cardinality reduction, entropy, interactions, kurtosis, missing value treatment, outlier treatment, polynomial expansion, and skewness.

See answer
On: featureMachine
What is table?

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: specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib. computedOnDemand: when set to True, creates the computed variables when the table is loaded instead of when the action begins. Alias: compOnDemand. Default: FALSE. computedVars: specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included. Alias: compVars. The casinvardesc value can be one or more of the following: format: specifies the format to apply to the variable. formattedLength: specifies the length of the format field plus the length of the format precision. label: specifies the descriptive label for the variable. name: specifies the name for the variable. nfd: specifies the length of the format precision. nfl: specifies the length of the format field. computedVarsProgram: specifies an expression for each computed variable that you include in the computedVars parameter. Alias: compPgm. dataSourceOptions: specifies data source options. Aliases: options, dataSource. importOptions: specifies the settings for reading a table from a data source. Alias: import_. For more information about specifying the importOptions parameter, see the common importOptions parameter. name: specifies the name of the input table. singlePass: when set to True, does not create a transient table on the server. Setting this parameter to True can be efficient, but the data might not have stable ordering upon repeated runs. Default: FALSE. vars: specifies the variables to use in the action. The casinvardesc value can be one or more of the following: format: specifies the format to apply to the variable. formattedLength: specifies the length of the format field plus the length of the format precision. label: specifies the descriptive label for the variable. name: specifies the name for the variable. nfd: specifies the length of the format precision. nfl: specifies the length of the format field. where: specifies an expression for subsetting the input data. whereTable: specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first. The groupbytable value can be one or more of the following: casLib: specifies the caslib for the filter table. By default, the active caslib is used. dataSourceOptions: specifies data source options. Aliases: options, dataSource. For more information about specifying the dataSourceOptions parameter, see the common dataSourceOptions parameter. importOptions: specifies the settings for reading a table from a data source. Alias: import_. For more information about specifying the importOptions parameter, see the common importOptions parameter. name: specifies the name of the filter table. vars: specifies the variable names to use from the filter table. The casinvardesc value can be one or more of the following: format: specifies the format to apply to the variable. formattedLength: specifies the length of the format field plus the length of the format precision. label: specifies the descriptive label for the variable. name: specifies the name for the variable. nfd: specifies the length of the format precision. nfl: specifies the length of the format field. where: specifies an expression for subsetting the data from the filter table.

See answer
On: gbtreeTrain
INITIALWORKERS

specifies the minimum number of workers that must connect before the server accepts client requests.

See answer
On: getServOpt