If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > A question about IM and IM Scoring,who can help me?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-21-03, 03:23
ludongyan ludongyan is offline
Registered User
 
Join Date: Aug 2003
Location: china
Posts: 13
A question about IM and IM Scoring,who can help me?

I made two forecast model in IM,one is use large data,one is use small data,all of them can train in IM,and I can get forecast data.
I export the the two model use "idmeruns",and I convert them use
"idmxmod",I import the two model into db2 database use
"insert into IDMMX.RegressionModels values"
all about high is successful,
when I made a group data to forecast ,I got diffrent result.
The first I got forecast data,The second I got an error.The error message is :
"SQL0443N Routine 'IDMMX.DM_APPLYREGMODEL' (specific name
'SQL030714171456950') has returned an error SQLSTATE with diagnostic text 'E4471:An internal error ha'.SQLSTATE=38M00"

the way of forecast is:
"db2 with regressionView( regressionResult ) as(
select IDMMX.DM_applyRegModel( c.model ,
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
IDMMX.DM_applData(
'F_DEPT_NO','010000'),
'F_NO','1'),
'F_DL_L1',4905357838),
'F_DL_L2',4972388280),
'F_DL_L3',4009577793),
'F_DL_L4',4820142473),
'F_DL_L5',4913084971),
'F_DL_L6',4734293743),
'F_DL_L7',5470994472),
'F_DL_L8',5294480243),
'F_DL_L9',4601281287),
'F_DL_L10',5087313849),
'F_DL_L11',5144653915),
'F_DL_L12',4945410694))
from IDMMX.regressionmodels c
where c.modelname='model_dl_1_new' )
select IDMMX.DM_getPredValue( regressionResult )
from regressionView
"

I don't know why?who can help me?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On