Create a Scoring Task

To create a new scoring task, follow these steps:
  1. Right-click the Scoring Tasks folder, and select New Scoring Task from the pop-up menu.
    New Scoring Task
  2. Enter aName for the scoring task. The name can contain only letters and the underscore character ( _ ). As an option, enter a Description.
  3. Select a model from the Model list.
    Note: When a model is selected, the values in the Input Table field and Output Table fields are cleared.
  4. Select Test or Production for the Scoring task type.
    By default, a test scoring task scores 1000 records. The scoring output table is saved to the SAS Content Server. A production scoring task generates either a SAS data set or a database table and uses all the records in the scoring input table. The scoring output table is saved to the library that is specified in score.sas.
    Note: A best practice is to select Test before beginning all scoring tasks. Later, when you are satisfied with the results of running the scoring task and you are ready to put the task into production, you can change the type to Production. When you run in production mode in the Windows and UNIX environments, the scoring task output table definition in the SAS Metadata Server must have Modify, Read and Execute, Read, and Write security permissions. The SAS Model Manager user who is executing the scoring task must have Write permission to the physical folder on the SAS Application Server where the scoring task output table is written. If the user does not have Write permission, the scoring task fails, and an error message appears.
  5. Click Browse and select an input table.
    Note: The scoring input table must have at least one column.
  6. Click Browse and select an output table.
  7. (Optional) Select a SAS Application Server from the Default server list.
  8. Click Next.
  9. Map the scoring output table variables to the model output variables. For each variable, click in the Map to Model Variable Name field and select a model output variable.
    Map Output Table Variables to Model Variables
  10. Click Finish. The scoring task is created under the Scoring Tasks node.
Note: Four of the Scoring Task properties cannot be modified after the scoring task has been created. To change the following properties, you must create a new scoring task.
  • Name
  • Model
  • Input Table
  • Output Table