This topic has not yet been rated - Rate this topic

Example Code for Business Analysis Objects

Commerce Server 2002

This section provides detailed examples of how to use the objects exposed by the Predictor resource. The code samples do not show error checking or certain other formalities required for functional code.

There is no Predictor application programming interface (API) available to create a new model configuration. Tables in the database must be modified directly. For more information and an example, see Predictor Schema.

Examples

ExampleDescription
Code to Retrieve the Predictor Database Connection StringDescribes how to retrieve the database connection string.
Code to Build a New ModelDescribes how to build a new model.
Code to Control a Model BuildDescribes how to control a model build.
Code to Retrieve a List of Available Models and Model ConfigurationsDescribes how to enumerate the available models and model configurations.
Code to Rename and Delete a Model and a Model ConfigurationDescribes how to rename and delete a model and a model configuration.
Code to Load a Model and Set Default PropertiesDescribes how to load a model and set default properties for the model predictions.
Code to Predict ProductsDescribes how to expose "cross-sell" opportunities in user behavior with regard to product purchases.
Code to Predict User AttributesDescribes how to determine missing profile attributes about a user.
Code to Classify a UserDescribes how to classify a user into a behavior or profile-based group.

Copyright © 2005 Microsoft Corporation.
All rights reserved.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.