BookmarkSubscribeRSS Feed
lyth_abb
Fluorite | Level 6

Hi SAS expert,

I have created PMML ver 4.2 for my logistic regression model to load in SAS Model Manager. The IT team has prepared both the SAS development environment and SAS test environment for me.
My PMML file I created looks like this:

lyth_abb_0-1723449306427.png

And in test environment, I imported model with above PMML file and it is successfully done in about 1-2 minute, with enough necessary component files, (like image 1 below) which are:
- score.sas

- input.xml

- output.xml

- target.xml

(image1)

lyth_abb_0-1723449099322.png

But when I do the same to import that PMML file in SAS development environment, it took me about 30-50 minute and get missing the score.sas (like image 2 below).

(image 2)

lyth_abb_1-1723449127262.png

 

Please help me on this issue, many thanks !!

2 REPLIES 2
lyth_abb
Fluorite | Level 6

@JThompson  I see that you have introduced "A Tour of SAS Model Manager " to community , i think you will be able to help me because i saw you introduced a tour about sas sas mm which very few people know.
Many thanks in advance!

PeterChristie
SAS Employee

If you look at the score code generated in your test environment, there will be a comment around line 2 starting with

* PSCORE TIMESTAMP:
Proc PSCORE creates the SAS score code from the PMML xml file.
 

It looks like your development environment may not be configured to support running proc PSCORE. Check with your administrator to confirm.

As a work-around, you can manually run the proc to create the score code. This reference provides some additional information.

SAS Help Center: Concepts: PMML Support

 

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!

Discussion stats
  • 2 replies
  • 1017 views
  • 0 likes
  • 2 in conversation