Jeje
2008-01-22 01:12:22 UTC
Hi,
I have created a decision tree DM model from a cube.
now I try the singleton query, but how to create the query????
the only samples I found works against an RDBMS model.
so I'm not sure how to write my query:
SELECT
flattened
[Test Dec Tree].[Performance Levels]
,PredictProbability([?????]) <-- error here
From
[Test Dec Tree]
NATURAL PREDICTION JOIN
(SELECT 'Male' AS [Gender],
'Asian' AS [Race Group]
) AS t
I have tried a lot of different syntaxes in the predictprobabilty function
without success.
because it's OLAP based, I only have "existing" and "missing" in my model
result, while the samples found are differents.
can you point me on a sample anywhere?
thanks.
Jerome.
I have created a decision tree DM model from a cube.
now I try the singleton query, but how to create the query????
the only samples I found works against an RDBMS model.
so I'm not sure how to write my query:
SELECT
flattened
[Test Dec Tree].[Performance Levels]
,PredictProbability([?????]) <-- error here
From
[Test Dec Tree]
NATURAL PREDICTION JOIN
(SELECT 'Male' AS [Gender],
'Asian' AS [Race Group]
) AS t
I have tried a lot of different syntaxes in the predictprobabilty function
without success.
because it's OLAP based, I only have "existing" and "missing" in my model
result, while the samples found are differents.
can you point me on a sample anywhere?
thanks.
Jerome.