BookmarkSubscribeRSS Feed
Hansdewit
Obsidian | Level 7

Hi,

in my dataset that i am using to develop a predictive model, I am using some user defined formats.

My idea is that Sas Enterprise Miner is using the really orginal content of the variable in de score code, but I can see  the format in the results like intercative binning.

when I add a (centralized user defined) format to the dataset , it it created a new variable with the sas format(put statement).

it try to avoid this, because i am working Norway and I have bad experience with Sas in the Norwegian language.

Is it possible using a sas format, but sas enterprise miner using the original data in scoring codam

2 REPLIES 2
jakarman
Barite | Level 11

Hi Hans,

It is the same everywhere you cannot emigratie to get rid of that level support : )
What did you try? Definining a SAS dataset with associated formats as input?

---->-- ja karman --<-----
WendyCzika
SAS Employee

If you don't want the formatted values of categorical variables used in the score code, you need to remove the formats from the variables before modeling.  Here is information from the reference help:

 

Categories for nominal and ordinal variables are defined by the normalized, formatted values of the variable. If you have not explicitly assigned a format to a variable, the default format for a numeric variable is BEST12., and the default format for a character variable is $w., where w is the length of the variable. The formatted value is normalized by:

  1. Removing leading blanks
  2. Truncating to 32 characters
  3. Changing lowercase letters to uppercase.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1397 views
  • 0 likes
  • 3 in conversation