Example Code for Business Analysis Objects
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.
|Code to Retrieve the Predictor Database Connection String||Describes how to retrieve the database connection string.|
|Code to Build a New Model||Describes how to build a new model.|
|Code to Control a Model Build||Describes how to control a model build.|
|Code to Retrieve a List of Available Models and Model Configurations||Describes how to enumerate the available models and model configurations.|
|Code to Rename and Delete a Model and a Model Configuration||Describes how to rename and delete a model and a model configuration.|
|Code to Load a Model and Set Default Properties||Describes how to load a model and set default properties for the model predictions.|
|Code to Predict Products||Describes how to expose "cross-sell" opportunities in user behavior with regard to product purchases.|
|Code to Predict User Attributes||Describes how to determine missing profile attributes about a user.|
|Code to Classify a User||Describes how to classify a user into a behavior or profile-based group.|
All rights reserved.