Dear All,
I was trying to look for references on how to convert SAS script to PMML format but unsuccessful hence I posted here. The SAS script looks like below. The sample below is when PMML script is converted to SAS using proc pscore. Now, I want to know if there is a way if SAS to PMML. Thank you.
length "a_segment"n $57 ;
length "a_segment_new"n $62 ;
"PSCR_TEMP_FINAL_PRED_VAR"n = 0;
if ( "cohort"n eq 'AAA' ) then do;
if ( missing( "a_score_id"n ) or missing( "a_score"n ) or ( ( "a_score_id"n ne 'XXX' ) & ( "a_score_id"n ne 'YYY' ) ) ) then do;
"a_segment"n = 'SEG_A';
end;
end;
...
else if("a_segment"n eq 'SEG_A') then "a_segment"n = 'SEG_A' ;
else if("a_segment"n eq 'SEG_B') then "a_segment"n = 'SEG_B' ;
PSCR_EXIT :
drop
"PSCR_TEMP_FINAL_PRED_VAR"n "PSCR_ATTRIBUTE_MATCH"n;
What I've found is a feature in Enterprise Miner.
There might be other ways, but probably not OOTB.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.