BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
dcortell
Pyrite | Level 9

Hi all

 

I've imported a dataset in model studio to build a pipeline on that. Within the dataset, I have a nominal variable which I want use to stratify both the train and test set with specific proportions (example: 30% class 1, 50% class2, 20% class3).

 

Now, I'm not able to find documentation explaining how to perform that stratification nor in the Data tab nor in the pipeline.

 

There is the chance to define the variable with role as "Partition": but then it only allow to assign one class of the variable to one specific set only (ex. class1 to its totality to the training set..)

 

Does anyone know if there is a way to setting a specific stratification in both the sets using a variable from the dataset?

1 ACCEPTED SOLUTION

Accepted Solutions
dcortell
Pyrite | Level 9

Checked, but it seems with current edition of Model studio I can't choose multiple class variable levels to map to a single partition level (training/validation/test) from with-in Model Studio (VML), so I will have do this before the dataset import.

View solution in original post

1 REPLY 1
dcortell
Pyrite | Level 9

Checked, but it seems with current edition of Model studio I can't choose multiple class variable levels to map to a single partition level (training/validation/test) from with-in Model Studio (VML), so I will have do this before the dataset import.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1008 views
  • 0 likes
  • 1 in conversation