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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 575 views
  • 0 likes
  • 1 in conversation