?>
Data preparation scripts
First, we need to define a simple action set and then save it to a CAS table. This table will then be used as the source...
This action does not require any specific data to be created beforehand, as it operates on the server's metadata about a...
Before converting an action set to a table, one must first be defined. This code snippet creates a simple, user-defined ...
The `actionstatus` action operates on session metadata and does not require any specific data to be loaded into CAS. It ...
No specific data creation is needed for the addCaslib action itself, as it is used to define a data source location. The...
Before creating a subdirectory, we first need a caslib. This code sets up a new caslib named 'myCaslib' pointing to a sp...
Before adding a format library to CAS, you first need to create one. A common method is to use PROC FORMAT with the CNTL...
First, we create a format library named 'myFmtLib' to store our custom formats. Then, we load a simple dataset into a CA...
This action does not directly use training data. It operates on a model definition table. However, to build a complete, ...
The `addNode` action is an administrative function used to manage the CAS server infrastructure. It does not operate on ...
This action does not require any specific data to be created beforehand. It is a server monitoring action....
The `addPrototypes` action does not create a standard dataset. Instead, it populates a special CAS table with function p...
The `s3.addRegion` action does not operate on CAS tables. It is a server-side administrative action used to configure S3...
This action does not directly use input data, but it creates a CAS table containing the compiled functions. The followin...
The `addTable` action is used by client-side utilities to upload data. For example, in Python, you would typically creat...
The following code creates a local directory and a caslib named 'mycaslib' that points to this directory. This setup is ...
The following code creates a sample CAS table named 'cars' which contains information about various car models, includin...
This code snippet creates two sample tables: 'raw_data' containing the main dataset with features, and 'annotations' con...
This code creates a sample table 'CARS_DATA' in the 'casuser' caslib, which will be used in the following examples. The ...
This SAS code creates a sample dataset named 'sample_data_missing' in the 'casuser' caslib. The dataset includes several...
This example creates a sample dataset named 'sample_data' with several input variables and a target variable, suitable f...
This example demonstrates how to load images from a specified path into a CAS table and prepare it for annotation. We ad...
This example first creates a sample dataset `mycas.iris_score` which has the same structure as the training data but wit...
This example uses the `HMEQ` dataset from the `SAMPSIO` library, which contains information about home equity loans. The...
The following code creates two tables, `target_table` and `source_table`, in the active caslib. `target_table` contains ...
This SAS code creates two tables: 'reviews' which contains the text data to be categorized, and 'category_model_table' w...
This example creates a sample CAS table named 'my_documents' with two columns: 'doc_id' for the document identifier and ...
This example creates a sample time series dataset named 'series' with a date and a value 'y'. This data will be used in ...
This example uses the `HMEQ` dataset, which contains information about home equity loans. We will first load this data i...
This example first loads the `HMEQ` dataset, which contains home equity loan data. Then, a gradient boosting model is tr...
The `assumeRole` action does not directly interact with or create data tables. It is an administrative action used to ma...
This code creates a simple in-memory table named 'CARS' in the 'CASUSER' caslib. This table will be used in the examples...
Before augmenting images, they must be loaded into a CAS table. The following code uses `proc casutil` to load image fil...
This example creates a sample dataset named 'sample_data'. The target variable 'y' is generated from a combination of li...
This example creates a sample dataset named 'purchase_data'. The dataset simulates customer purchasing behavior, where '...
This example first creates a training dataset 'mycas.train_data' and a scoring dataset 'mycas.score_data'. A BART model ...
This example first creates a sample dataset 'getStarted' with a binary outcome 'y' and several predictor variables. Then...
This step is not directly required for the `batchresults` action itself, as it operates on sessions and actions rather t...
This example uses a simple undirected graph to illustrate the biconnected components algorithm. The graph contains sever...
This example creates a sample dataset `sample_data` in the active caslib. The table contains customer information, inclu...
This example creates a simple dataset named 'golf' with weather conditions and a decision on whether to play golf. This ...
This example creates a CAS table named `mycas.PistonRings`. This table contains diameter measurements of piston rings. E...
This example creates the 'wines' table in your default caslib. This table contains information about different types of ...
This example first creates two CAS tables. The `rule_terms` table defines two Boolean rules. Rule 1 is 'term1 AND term2'...
First, we create two tables. 'doc_term_data' contains the sparse representation of documents, linking document IDs to te...