BookmarkSubscribeRSS Feed
GayathriKarthik
Calcite | Level 5

While running sas HP SVM, getting an error "One or more submitted variables is unary in the used observations", how to handle this?

2 REPLIES 2
WendyCzika
SAS Employee

I'm going to guess that the issue is when you remove observations that have a missing target, one (or more) of the inputs is unary. To check this, from the Variables editor for the HP SVM node, you can select all the variables then click on the Explore... button, then in the histogram for the target click on the bar for the missing values, then it should be apparent from the histograms for the inputs which one is input.  You can then set Use=No for that variable in the Variables editor.  Hope that helps!

GayathriKarthik
Calcite | Level 5

Hi ,

Thanks for your reply.

 

Are you mentioning missing values have a missing target. Can you please explain bit more in detail?

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
  • 2 replies
  • 1818 views
  • 0 likes
  • 2 in conversation