Scoring functions (COMPUTE command)
STRING SPECIES(A20).
COMPUTE SCOREPROB=ApplyModel(CREDITMOD1,'PROBABILIT').
COMPUTE SPECIES=StrApplyModel(QUESTMOD1,'PREDICT').
- SCOREPROB is
the probability that the value predicted from the model specified
by
CREDITMOD1
is correct. - SPECIES is the
predicted result from the model specified by
QUESTMOD1
as applied to the active dataset. The prediction is returned as a string value.