BookmarkSubscribeRSS Feed
nouramohammad4
Calcite | Level 5
  • How do I define the percentage of testing and training in pipeline? in this page2023-02-06 (4).png

     

2 REPLIES 2
Madelyn_SAS
SAS Super FREQ

Which product and version are you using? The screen shot is not from Visual Analytics. 

Stu_SAS
SAS Employee

Hey @nouramohammad4! It looks like you've created a new machine learning pipeline from Visual Analytics. To define partitions, you'll need to have a partition indicator. When you create a new project within Model Studio, you have the option of creating this partition indicator. When you create a new machine learning pipeline through Visual Analytics, you partition it within Visual Analytics. To partition it:

  1. In the Data Pane in Visual Analytics, click New Data Item and select Partition.
    Stu_SAS_0-1675694377143.png

     

  2.  Partition your data into Training, Validation, and Test as you'd like. Optionally give it a random number seed and a unique ID to create deterministic partitions. This will make sure you have the same random sample if the data is reloaded or if you create a new report. For more information about setting a unique row identifier, see this documentation link.
    Stu_SAS_1-1675694548048.png

     

  3. Add the Partition data item to your model's Partition ID role.
    Stu_SAS_2-1675694659660.png
  4. Create a new pipeline or add to an existing pipeline.
  5. You should now see a Partition role automatically added as a variable to your data, usually named something like: va__d__PARTITION<numbers>__ONES. Your pipeline will automatically use this partition.Stu_SAS_3-1675694894040.png

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 786 views
  • 0 likes
  • 3 in conversation