Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Help with Model Import in SAS EM

Reply
Occasional Contributor
Posts: 15

Help with Model Import in SAS EM

Hi,

I am trying to import a model built in SAS into SAS EM to compare to models built in SAS EM. I am new to SAS EM, so hopefully there is an easy fix. Here is the situation:

The "model" I am importing is a data set with an ID tag, a binary target, and the prediction for the target. (The model from SAS is a GLM if that matters.) I connect this data set to Model Import. I label appropriate target/prediction variables and run the node. The first time through I always get a run time error, but the next time through it compiles. I do not get any results other than a log. I should be seeing some fit assessment information but that never appears. I am using SAS EM 12.1 if it matters. The log doesn't have any red to indicate an error as well.

If anyone has any ideas how to proceed, or even a source for information about Model Import other than the tutorial/documentation, I would very much appreciate it.

Thanks!

Super Contributor
Posts: 336

Re: Help with Model Import in SAS EM

Please give more information about the error in the log. Once you are in the results, and the log, press CTRL+F. And find "error: ". Or usually the error is the last piece of information in the log.

And what does your fllow look like?

     Data->GLM->Model Import

Remember that most often than not you need to use the Mapping editor (maybe that is what you meant with label appropriate target/prediction vars?).

Thanks,

Occasional Contributor
Posts: 15

Re: Help with Model Import in SAS EM

There is no "error" to be found in the log, but it aborts the run and tells me it encountered a run time error every other time I run it. My flow looks like Data -> Model Import. Do I need another node in between?

I have used the Mapping Editor to label target and prediction.

The data has 3 components: an ID variable, my binary target variable, and the prediction of the target being equal to 1. When Model Import does work, it exports the an ID variable, my binary target variable, and the prediction of the target being equal to 1, prediction of the target being equal to 0, and 3 empty columns labeled Residual: binary=1, Residual: binary=0, F_binary. Note that "binary" is the name of the target.

Occasional Contributor
Posts: 15

Re: Help with Model Import in SAS EM

I am still not able to fix this issue. If there are no ideas about how to resolve the problem, are there any recommendations of other places to go for help?

Super Contributor
Posts: 336

Re: Help with Model Import in SAS EM

Please contact tech support using this form: Technical Support Form
Thanks,

Occasional Contributor
Posts: 15

Re: Help with Model Import in SAS EM

Thanks! I have contacted them.

Ask a Question
Discussion stats
  • 5 replies
  • 352 views
  • 3 likes
  • 2 in conversation