SEMISUPLEARN Procedure

OUTPUT Statement

  • OUTPUT OUT=CAS-libref.data-table <options>;

The OUTPUT statement creates the predicted target variable data table for both the unlabeled data and the labeled data. For each row in the output data table, the WARN column indicates whether the row of data is coming from labeled data or unlabeled data. The WARN value is 1 for labeled data and 0 for unlabeled data. In the table, the formatted strings are provided in the predicted label.

You must specify the following option:

OUT=libref.data-table

names the output data table for PROC SEMISUPLEARN to use. You must specify this option before any other options. libref.data-table is a two-level name, where

libref

refers to a collection of information that is defined in the LIBNAME statement and includes the library, which includes a path to where the data table is to be stored, and a session identifier, which defaults to the active session but which can be explicitly defined in the LIBNAME statement. For more information about libref, see the section Using CAS Sessions and CAS Engine Librefs.

data-table

specifies the name of the output data table.

You can also specify the following option:

COPYVAR=variable
COPYVARS=(variables)

lists one or more variables from the unlabeled data table to be transferred to the output data table.

For variables that do not match the input list but also exist in the unlabeled data table and the labeled data table, the output data table transfers the values for the unlabeled data table and shows the values as missing for the labeled data table.

Last updated: August 06, 2026