Microsoft KB Archive/277371

= Building Multiple Models at the Same Time Takes Longer than Expected =

Article ID: 277371

Article Last Modified on 10/22/2003

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q277371



SYMPTOMS
If you build a large number of models at the same time through the Microsoft Management Console (MMC), it takes much longer than if you build them one at a time.



WORKAROUND
If you want to build more than one model at the same time, do it through a script rather than the MMC. If you have a model in the building process and you want to stop the process, right-click the model line, and then click Stop.

The following Microsoft Visual Basic code demonstrates how to use script to build multiple models: Dim dBuildParams As Commerce.Dictionary Set dBuildParams = Server.CreateObject(&quot;Commerce.Dictionary&quot;) dBuildParams(&quot;ModelType&quot;) = 0 dBuildParams(&quot;ComplexityPenalty&quot;) = 75 dBuildParams(&quot;InputAttributeFraction&quot;) = 0.5 dBuildParams(&quot;MeasuredAccuracyMaxPredictions&quot;) = 10 dBuildParams(&quot;MeasuredAccuracySampleFraction&quot;) = 0.2 dBuildParams(&quot;MinimumCasesToSplit&quot;) = 10 dBuildParams(&quot;OutputAttributeFraction&quot;) = .5 dBuildParams(&quot;SampleSize&quot;) = 15,000

Dim oPersistXML As IPersistXML Set oPersistXML = dBuildParams

Dim sXMLBuildParams As String sXMLBuildParams = oPersistXML.SaveXML(0)

Set oPersistXML = Nothing Set dBuildParams = Nothing

Dim oPredModelBuilder As Commerce.PredictorModelBuilder Set oPredModelBuilder = _ Server.CreateObject(&quot;Commerce.PredictorModelBuilder&quot;)

Dim lBuildID(5) As Long Dim I As Integer For I=0 To 5 lBuildID(I) = oPredModelBuilder.Start(sDWConnect, &quot;&quot;, _    &quot;PurchaseCfg1&quot;, &quot;Purchase&quot; & I, sXMLBuildParams, True) Next I

Set oPersistXML = Nothing Set dBuildParams = Nothing Set oPredModelBuilder = Nothing



STATUS
Microsoft has confirmed that this is a problem in Microsoft Commerce Server 2000.

Additional query words: Plutonium

Keywords: kbbug kbpending KB277371

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.