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

What are the available scoring algorithms for this action?

The `scoringAlgorithm` parameter allows you to choose between two algorithms: 'FREQUENCY' (which is the default) and 'WEIGHTED'.

See answer
On: applyCategory
sample

specifies the options for sampling the shadow features The featureProbeSample value can be one or more of the following: nRecords : number of observations to sample using the specified model (astore) Alias: nObs Default: 1000 Minimum value: 1 rstore : specifies an input blob table where to read the model and the state from. 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. dataSourceOptions : specifies data source options. Aliases: options, dataSource name : specifies the name of the input table. 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 (Appendix A: Common Parameters). 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 (Appendix A: Common Parameters). 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: generateShadowFeatures
How can I make a newly added caslib the active one immediately?

The 'activeOnAdd' parameter is set to TRUE by default, which automatically makes the new caslib the active one for the current session. You can set it to FALSE if you do not want this behavior.

See answer
On: addCaslib
How can I specify the cutoff point for classifying events in the scoring code?

The 'intoCutPt' parameter allows you to specify a cutoff point for the INTO column in the generated code. The default value is 0.5.

See answer
On: logisticCode
What is casOut?

specifies the table to store the decision tree model in. When not specified, a random name is generated. For more information about specifying the casOut parameter, see the common casouttable parameter.

See answer
On: gbtreeTrain