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

I'm working in SAS Visual Analytics version 4.0.  I would like to partition data in Build Models, but the corresponding menu in project settings is grayed out (see screenshot below).20241114 - Data Partition grayed out in Build Models.png

 

Additionally, I would like to partition data in a specific way using my blocking variable "block".  Based on the options shown above, there does not appear to be a way to do this.  However, it does seem that the "Explore and Visualize" module has this capability, however, my blocking variable is not listed as an option for some reason (see screenshot below).  Available are a number of categorical variables, and for some reason a single continuous variable.  Note that the variable "Block" is visible in the data pane as a categorical variable with 4 levels.

20241114 - Issue with data partition in Explore and Visualize.png

 

Ideally, my data partitions would set training, validation, and test partitions to 50, 25, and 25%, respectively, using any of blocks 1, 2, 3, of 4.

Thanks for reading!

1 ACCEPTED SOLUTION

Accepted Solutions
Madelyn_SAS
SAS Super FREQ

This message "Cannot set this item as a partition because it is already in use by a partitionable analytic" means that your Block data item is already assigned to a role in your object. You cannot use it in both the partition and as itself assigned to a role. 

 

As far as doing this in Model Studio, this is the Visual Analytics (Explore & Visualize) community, so there will be varying levels of expertise on that product here. If you are unable to do this in Visual Analytics, I'd suggest opening a case with SAS Technical Support so that the team that supports Model Studio can assist. 

https://support.sas.com/en/technical-support.html

View solution in original post

4 REPLIES 4
Madelyn_SAS
SAS Super FREQ

If, instead of selecting New data item > Partition, you right-click on the Block data item, do you see a New partition option at the bottom of the context menu? 

Madelyn_SAS_0-1732140195628.png

 

wateas
Obsidian | Level 7

Thanks for your response.   Regarding your suggest to address the issue in the "Explore and Visualize" module, if I select "new partition" after right-clicking Block I get an error:  "Cannot set this item as a partition because it is already in use by a partitionable analytic".  So apparently some data item in my project is interfering.  Regardless, it's good to know that I have an option to do this in the Explore and Visualize Module.

 

What about the "Build Pipelines" module?  

From the partition data menu in project settings:
"Note: These settings are active only when a partition variable is not set within the data. Using a data source with a pre-defined partition variable or manually selecting a partition variable will override these settings."

How might I go about establishing a pre-defined partition variable?

Madelyn_SAS
SAS Super FREQ

This message "Cannot set this item as a partition because it is already in use by a partitionable analytic" means that your Block data item is already assigned to a role in your object. You cannot use it in both the partition and as itself assigned to a role. 

 

As far as doing this in Model Studio, this is the Visual Analytics (Explore & Visualize) community, so there will be varying levels of expertise on that product here. If you are unable to do this in Visual Analytics, I'd suggest opening a case with SAS Technical Support so that the team that supports Model Studio can assist. 

https://support.sas.com/en/technical-support.html

wateas
Obsidian | Level 7

Regarding this issue in "Build Models", I see now that variables can be set to have a role of "partition", but that option appears to disappear after the pipeline has been run.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 4 replies
  • 1639 views
  • 2 likes
  • 2 in conversation