Predictor: Prediction time takes too long

A Prediction model takes too long to open in the Prediction Model Viewer, or a Segment model takes too long to open in the Segment Viewer.

Solution

If the prediction time required is unacceptable, the following information may be helpful:

  • Use the lMaxPredictions interface in IPredictorClient::Predict to limit the number of predictions rather than asking for all predictions and post-processing the output. Prediction time is faster when fewer predictions are requested.

  • If you are using a Segment model for prediction, you can limit the number of segments used in building Segment models. Segment models build faster when fewer segments are requested at build time.

Ee785228.note(en-US,CS.10).gifNote

  • It is recommended that you do not use Segment models for real-time recommendations because they are not optimized for this purpose and do not produce recommendations as accurate as those produced by Prediction models. Always build and use Prediction models for real-time recommendations on your site.

See Also

IPredictorClient::Predict (Visual C++)

PredictorClient.Predict (Visual Basic)

Building a New Analysis Model


All rights reserved.