BookmarkSubscribeRSS Feed
sdhilip
Quartz | Level 8

Hi 

 

I am getting below error when I tried to run the impute node. I am having training dataset and want to fill the missing value for two variables with mean and count.  Then ,connected the impute node to data partition

 

Capture.JPG

 

Capture5.JPG

Please advise

4 REPLIES 4
PaigeMiller
Diamond | Level 26

You can't impute if a variable has more than 512 levels.

--
Paige Miller
sdhilip
Quartz | Level 8

Thanks @PaigeMiller  I got it now. I did impute after the data partition. It works now.  Thanks

 

 

ZaneleD
Calcite | Level 5

Hi,

 I am getting the same error. I tried connecting the impute node to the data partition but getting the same error. @PaigeMiller  How do I set the levels?

RobWobDobBlobb
Fluorite | Level 6
Hi ZaneleD,

The "levels" are the amount of labels you have for a variable. What you can do in order do decrease it is (in order of my recommendation):
- Replacement (map some of the categories into others)
- Group rare levels (group several similar labels together)

If you by any of those methods get the number of levels below the threshold of 512 it should work.

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
  • 4 replies
  • 2440 views
  • 0 likes
  • 4 in conversation