Step 3: Set the Refresh Interval for the Prediction Model

After you build a model, you set the Predictor Refresh interval property, which specifies how often the PredictorClient object should check to determine if a model reload is necessary.

The PredictorClient object uses the Refresh interval property it got when initialized to determine when next to check the Administration database. If the Refresh interval property is set to 2 days, then the PredictorClient object will check the Administration database in two days.

Ee825024.note(en-US,CS.20).gifNote

  • If you set the Refresh Interval propery to 0, the refresh feature will be disabled: the PredictorClient object stops checking the Administration database. If you then reset the property to a non-zero value to enable the refresh feature, you must manually reload the model by using IISReset to restart the application.

To set the Refresh interval property

  1. In Commerce Server Manager, expand Commerce Server Manager, and then expand Global Resources.
  2. Right-click Predictor on <server_name>, and then click Properties.
  3. In the Predictor Properties dialog box, select the Model refresh interval (days) property. In the Selected Property Value box, type the number of days between model rebuilds, and then click OK.
  4. In Component Services, restart the Predictor service so the change takes affect.

Copyright © 2005 Microsoft Corporation.
All rights reserved.