Share via


Prediction Model Viewer

You use the Prediction Model Viewer to view your Prediction models. The Prediction Model Viewer provides two views for analyzing your Prediction models: the Dependency Network view and Decision Tree view.

Dependency Network View

Decision Tree View

Dependency Network View

You use Dependency Network view to analyze the statistical dependencies of the attributes in your analysis model. Dependency Network view is the view that first appears when you open a Prediction model in the Prediction Model Viewer. Dependency Network view is a graph of your Prediction model that is represented with nodes and arcs. Nodes correspond to attributes and arcs correspond to statistical dependencies among the attributes.

Ee785293.cs_mmc_predictor_predmodbrow(en-US,CS.10).gif

The nodes appear as an oval with text. ToolTips appear with the full name of the attribute if you pause on a node. When no nodes are selected, all nodes appear green in color.

When you open a Prediction model in Dependency Network view, the nodes are automatically displayed in a manner that is easy to visualize. The nodes continuously move as Commerce Server improves the layout. You can stop and restart the improvement process. You can click a node to highlight the direct relationships between that node and the other nodes in the graph. You can drag nodes to manually adjust the layout. For information about working with the layout arrangement of your model, see Arranging the Layout in Dependency Network View. Node colors indicate the following:

  • Green. The node is selected.

  • Red. The selected node helps to predict this node.

  • Blue. This node helps to predict the selected node.

  • Purple.****A predictive relationship exists in both directions.

The slider along the left side of Dependency Network view enables you to control the number of relationships exposed based on the strength of the relationship. As the slider is moved down, arcs are removed — that is, the arcs corresponding to the weakest dependencies are removed until only the arcs for the strongest dependences are shown.

You use the slider to help you view a Prediction model with dozens of characteristics and hundreds of relationships because it helps you to focus on the dependencies you are most interested in.

Decision Tree View

You can use the Predictor resource Decision Tree view to analyze the tree components of your Prediction model. You access Decision Tree view by double-clicking a node in Dependency Network view. A decision tree is graphical shorthand for a set of probabilistic rules of the form:

IF X = Value and Y = Value and so on, THEN Target = Value with probability p

The conditions in the "IF" clause of a particular rule correspond to a left-to-right traversal of the tree. In particular, each internal node is annotated with the name of an attribute, and the out-going edges are annotated with value(s) for that attribute.

Nodes are oval in shape and purple in color. Leaf nodes, which show the prediction probabilities, are gray rectangular boxes.

Ee785293.cs_mmc_predictor_decisiontree(en-US,CS.10).gif

Each leaf node stores a probability distribution for the target attribute. (A probability distribution is a set of probabilities, one for each possible value of the target.) If the target attribute is categorical and has less than eight values, the probability for each value is depicted in the leaf node as a histogram. When a categorical attribute is binary (that is, the attribute simply indicates the presence or absence of a value), then only the probability of the attribute being present is shown as the fraction of the bar that is green (see the previous figure). For a categorical attribute with more than eight values, each leaf node is annotated with the most likely value for the target. If the target attribute is continuous, each leaf node is annotated with the expected range of the target.

You can also double-click an internal node to more easily read the path to that node.

You can continue navigating through the tree without closing the dialog box. The dialog box displays the path for the currently selected node.

Note that there is a useful correspondence between the contents of the decision trees and that of the dependency network. Namely, there will be an arc from attribute A to attribute B in the dependency network if, and only if, attribute A is a node in the decision tree for attribute B. (Both views are saying the same thing: knowing attribute A helps to predict attribute B.)

See Also

Using Dependency Network View


All rights reserved.