This edition applies to Version 8.2 of IBM DB2 Intelligent Miner Visualization, product number 5765-F33, and to all subsequent releases and modifications until otherwise indicated in new editions.
This edition replaces SH-6737-00.
The IBM(R) DB2(R) Intelligent Miner(TM) Visualizers, referred to as the Intelligent Miner Visualizers in this book, present data modeling results for analysis. The input to the visualizers are PMML-conforming mining models. You can call the Intelligent Miner Visualizers independently from different applications to present model results, or you can deploy the visualizers as applets in a Web browser for ready dissemination.
The Intelligent Miner Visualizers include the following visualizers:
This book describes the different views provided by the Intelligent Miner Visualizers, how to interpret the results, and how to work with the results. It also explains how to install the Intelligent Miner Visualizers on your system.
This book does not contain information about the mining functions that produce the results that you can view with the Intelligent Miner Visualizers. See Intelligent Miner for Data: Using the Intelligent Miner for Data or Intelligent Miner Modeling: Administration and Programming for more information about the mining functions.
This book is intended for business, financial, and database analysts who want to analyze the data modeling results produced by the IBM DB2 Intelligent Miner for Data, IBM DB2 Intelligent Miner Modeling, or other data mining applications.
You should be familiar with the client and server operating systems that you are using. You should also know about database concepts and terminology. In addition, you should be familiar with data analysis and statistics.
If you want to use the Intelligent Miner Visualizers as Java(TM) applet in a browser, you should know the Hyper Text Markup Language (HTML) and how to use applets.
To make reading easy, conventions such as bold font type or acronyms for common terms are used in this book. These conventions and acronyms are summarized in this chapter.
The following table shows the formatting conventions used in this book.
| Element type | Convention | Example of how it is used |
| Interface elements, for example, menu names and choices, buttons, and labels | Bold | Select File => Save to save the model. Click OK. |
| New terms in text | Italic | Item sets in the rule body. |
| Examples and code examples | Monospace | Type jdbc://db2://test/MODELS in the entry field. |
| Emphasis on a particular word | Italic | This applies to all models. |
| References to different chapters | Quotation marks opened and closed | See Performing common tasks for more information. |
The following table shows terms and acronyms used in this book.
| Term or acronym | Meaning |
| API | Application Programming Interface |
| CSV | Comma separated values |
| GIF | Graphic interchange format (file extension) |
| GUI | Graphical user interface |
| HTML | Hyper Text Markup Language |
| JDBC | Java database connectivity |
| JRE | Java runtime environment |
| IM Modeling | Intelligent Miner Modeling |
| IM Scoring | Intelligent Miner Scoring |
| PMML | Predictive Modeling Markup Language |
| Properties notebook | Properties notebook is used generically for both, the Model Properties notebook and the Visualizer Properties notebook. |
| RAM | Random access memory |
| RBF | Radial basis function |
| SQL | Structured query language |
| UDF | User-defined function |
| UDM | User-defined method |
| URL | Uniform resource locator |
| XML | Extensible Markup Language |
For information on the hardware and software prerequisites, see Installing the Intelligent Miner products.
For a list of related publications, see Bibliography.
Your feedback is important in helping to provide the most accurate and high-quality information. If you have any comments about this book or any other Intelligent Miner Visualizers documentation:
With version 8.2 of the IM Visualization, the Regression Visualizer is introduced. See Introducing the Regression Visualizer.
The following views are new in the Classification Visualizer:
There are also new properties for the Gains/Lift View. See Gains/Lift.
The IBM DB2 Intelligent Miner Version 8.2 is a set of the following products:
These products support rapid enablement of Intelligent Miner analytics embedded in Business Intelligence (BI), e-commerce, or traditional OLTP application programs.
PMML is a standard format for data mining models. Based on the Extensible Markup Language (XML), PMML provides a standard that enables data mining models to be shared between the applications of different vendors. The intention is to provide a vendor-independent method of defining models. In this way, proprietary issues and incompatibilities are no longer a barrier to the exchange of models between applications.
You can find more information about PMML Version 2.1 on the Web site of the Data Mining Group (DMG). This site also provides a link to information about previous PMML Versions. References to PMML in this book refer to PMML Version 2.1.
IM Scoring provides scoring technology as database extenders, DB2 extenders, and Oracle cartridges. It enables application programs to apply PMML models to large databases, subsets of databases, or single rows or cases. Application programs use the SQL API that consists of user-defined functions (UDFs) and user-defined methods (UDMs) to perform the scoring operation. The PMML models might have been created by one of the Intelligent Miner products or by other applications and tools that support interoperability via PMML models.
The following table shows the different PMML models that can be applied by different mining functions.
| PMML model type | Mining algorithm |
| Center-based clustering | Neural Clustering algorithm |
| Distribution-based clustering | Demographic Clustering algorithm |
| Neural networks | Neural Classification algorithm, Neural Prediction algorithm |
| Decision tree | Tree Classification algorithm |
| Regression | Logistic Regression algorithm, Polynomial Regression algorithm, ProbeE algorithm |
Additionally, IM Scoring supports models that are built by the RBF Prediction algorithm of the Intelligent Miner for Data. These models are not yet part of PMML. You can export these models in XML format from the Intelligent Miner for Data and use them with IM Scoring.
Mining models that are applied by the SQL API of IM Scoring must be contained in database tables.
If the mining models are created by using IM Modeling, they can be directly applied because IM Modeling writes the models into database tables.
If the mining models are created by using the Intelligent Miner for Data, they must be exported from the Intelligent Miner for Data and imported into database tables. IM Scoring provides UDFs to import the models.
You can also apply PMML Version 2.1 models or models of any previous PMML version that are created with tools from different vendors.
IM Scoring provides a feature called Single Record Scorer. The Single Record Scorer consists of a Java API. You can use this feature to score single or multiple data records against a mining model that is contained in a flat file. The Single Record Scorer is designed for applications where online-scoring of data records is the main task.
IM Modeling provides modeling technology as DB2 extenders. It enables SQL application programs to call associations discovery, clustering, and classification operations to develop analytic models based on data accessed by DB2 Universal Database(TM) Version 7 or Version 8 SQL. The resulting models are in PMML Version 2.1 format. They can be processed by IM Scoring or IM Visualization.
IM Modeling consists of an SQL API. By using this SQL API, you can build Associations, Demographic Clustering, and Tree Classification PMML Version 2.1 models that are stored in DB2 tables.
The data mining functions are based on the mining functions included in the Intelligent Miner for Data.
IM Visualization provides the following Java visualizers to present data modeling results for analysis:
You can use the Intelligent Miner Visualizers to visualize PMML-conforming mining models. Applications can call these visualizers to present model results, or you can deploy the visualizers as applets in a Web browser for ready dissemination. The models might have been developed by using IM Modeling or other applications and tools that support interoperability via PMML models, or models of the Intelligent Miner for Data might have been exported as PMML models.
The Intelligent Miner for Data Version 8.1 is an independent product that provides the following mining functions to build and apply mining models based on database or flat file data:
The Processing functions can only be used on database tables.
Version 8 of the Intelligent Miner for Data includes the Intelligent Miner Visualizers. It also includes the PMML conversion component of IM Scoring that allows you to export mining models in PMML format.
This chapter introduces the Intelligent Miner Visualizers. It describes the Intelligent Miner Visualizer framework and summarizes the tasks that are common to each of the visualizers.
The Intelligent Miner Visualizers can show the following models:
The Intelligent Miner Visualizers include the following visualizers:
Each visualizer can show the same model in different views. Each of these views contains information that is not available or difficult to represent in another view. The views are synchronized. That means that when you hide items in one view, they are also hidden in the other views.
The Intelligent Miner Visualizer framework provides features and tasks that are common to all visualizers. For example, the different views of the individual visualizers are implemented as tabs. You can easily switch to a different view by clicking on a different tab.
In Figure 1 you can see some of the main features of the Intelligent Miner Visualizer framework.
You can split the view vertically to browse two different views simultaneously. You can hide items in a table and browse the visible items and the hidden items simultaneously.
Figure 1 shows a vertically split window. You can see the Graph View and the Rules View of the Associations Visualizer simultaneously. Figure 1 also shows the horizontally split view of the Graph View with the visible and the hidden rules.
For more information, see Performing common tasks.
Most of the different views of the Intelligent Miner Visualizers have the following graphical user interface (GUI) components:
| 11 nodes in the tree, 3 nodes are pruned | Current selected node's level is 3 |
In the first part, information about the model is displayed. In the second part, information about any changes you did to the current view is displayed.
If you do not want to use the GUI components, you can hide them by deselecting the appropriate component, for example, tool bar, on the View menu.
Most of the views of the Intelligent Miner Visualizers offer the following commonly used menu bar choices:
See Appendix B. Menu bar choices for detailed information about the commonly used menu bar choices.
Some of the views might contain visualizer-specific menu bar choices. These menu bar choices are not covered in Appendix B. Menu bar choices. They are described in the help information of the appropriate views.
Properties include additional information that is used by the Intelligent Miner Visualizers to visualize a model. The Intelligent Miner Visualizers use two different kinds of properties. Model properties control how to visualize a specific model, while Visualizer properties apply to all models of the same type. If a property is set as Model property and as Visualizer property, the setting specified as Model property is used.
The Intelligent Miner Visualizers use default settings. For example, colors are used to highlight particular properties of associations rules, clusters, and partitions, or clusters are ordered by their size. You can change the default settings by modifying the appropriate parameters in the following properties notebooks:
If you change the model properties, the changes apply to the current model only.
For example, you might want to sort the clusters of the current model by their homogeneity values instead of their size values.
For example, you might want to specify that all models that you are viewing in the Associations Visualizer use the same color for rules.
Data mining models can have the following formats:
IM Modeling produces the IM Modeling format. This format is only available if you save a model that was built by IM Modeling. You can save this format only in a database.
You can use the IM Modeling format to modify models that are stored in Intelligent Miner tables. You need not export or import the model before you can modify it.
In the IM Modeling format, the model properties are saved with the model.
The PMML format is a standardized format. You can use it with different mining tools from other vendors.
Although the data can be compressed, it can be up to 10 times larger than the compressed visualizer format.
The properties are not stored within the models because this does not correspond to the PMML standard.
You can save models that are originally in IM Modeling format or in PMML format in Visualizer format. However, you can use the Visualizer format only with the Intelligent Miner Visualizers.
In the visualizer format, the data is compressed.
The model properties are saved in the same file.
If you use the IM Modeling format or the Visualizer format, you can save the model properties together with the associated model. If you display a different model, the default properties are used for this model, unless you have previously specified specific model or visualizer properties.
The term Properties notebook is used in this book generically for both, the Model Properties notebook and the Visualizer Properties notebook.
For information about the properties of the individual visualizers, see Properties.
When you start the Intelligent Miner Visualizers, the Open a New Model window is displayed. You can open a model in your local file system or in a database.
To start the Intelligent Miner Visualizers on a Windows(R) operating system, you can do one of the following actions:
If you want to start the Intelligent Miner Visualizers by specifying required or optional parameters, you can also use the command line interface as described in Starting the Intelligent Miner Visualizers on UNIX operating systems. See Required parameters for required parameters and Optional parameters to start the Intelligent Miner Visualizers for optional parameters.
To start the Intelligent Miner Visualizers on AIX(R) operating systems, type the following command on the command line interface:
/usr/opt/IMVisualization/V8.2/bin/imvisualizer
To start the Intelligent Miner Visualizers on the Linux operating system or in the Sun Solaris operating environment, type the following command on the command line interface:
/opt/IMVisualization/bin/imvisualizer
The Open a New Model window is displayed.
You can also start the Intelligent Miner Visualizers by typing the following command if you add the appropriate directory to your PATH environment variable:
imvisualizer
If you do not want to specify the required parameters on the Local File System page or on the Database page of the Open a New Model window, you can call the Intelligent Miner Visualizers directly by adding the required parameters to the start command on a command line interface. You can use one of the following options:
imvisualizer -dbname <database name> -dbhostname <host name> -dbportnumber <port number> -dbuserid <user ID> -dbpassword <password> <primary_key>
If you want to use a profile, the complete command might look like this:
imvisualizer -dburl jdbc:db2://test:50000/MODELING -dbdriver com.ibm.db2.jcc.DB2Driver -dbuserid db2inst1 -dbpassword accessDB2_1 -dbtablename TABLE1 -dbprimarykeycol PRIMARY_KEY -dbdatacol MODELCOL -dbpropcol PROPERTIESCOL PRIMARY_KEY
Note that the values for the following parameters are case sensitive:
You can type these parameters in any sequence, however, the primary key must always be the last parameter that you specify.
After you have issued the start command on the command line interface, the model that you specified is displayed in the appropriate visualizer.
The following tables give an overview of the parameters to start the Intelligent Miner Visualizers.
| Command | Action | Comments |
| -dbname database name | The name of the database that you want to connect to. | - |
| -dbhostname host name | The name of the host that you want to use. | The default host name is localhost. |
| -dbportnumber port number | The name of the port that you want to use. | The default port number is 50 000. |
| -dbuserid user ID | Required user ID to access the database. | If you do not specify a user ID, a log on dialog is displayed. |
| -dbpassword password | Required password to access the database. | If you do not specify a user ID, a log on dialog is displayed. |
| Command | Action |
| -dbprofile profile name | The name of a database profile that you have previously created. |
| -dbpassword password | Required password to access the database. |
| -dburl URL | The URL where the model resides. |
| -dbdriver driver | The database driver that you want to use. |
| -dbuserid user ID | Required user ID to access the database. |
| -dbtablename table name | The name of the table that contains models. |
| -dbprimarykeycol key column | The column that contains the key of the table. |
| -dbdatacol model column | The column that contains the model that you want to use. |
| -dbpropcol properties column | The column that contains the properties. |
You can also add optional parameters to the start command. For example, you might want to start the Intelligent Miner Visualizers without splash screen, or you might want to reset the visualizer properties to their original settings. The following table gives an overview of optional parameters and their actions.
| Command | Action |
| -locale locale_code | Forces the visualizer to use a specific locale by ignoring
the locale stored in the Visualizer properties.
The locale code has the form la_CO, where:
See Installing the Intelligent Miner products for a list of locale codes. |
| -nosplash | Starts the Intelligent Miner Visualizers without splash screen. |
| -version | Returns the version number of the Intelligent Miner Visualizers. |
| -fullversion | Returns extensive information about the visualizer. Version number, more information about the product, and the operating system that is running is displayed in the text console. |
| -reset | Resets the visualizer properties to its original settings. |
| -cp:a classpath | Appends the string to the current visualizer classpath. |
| -cp:p classpath | Prepends the string to the current visualizer classpath. |
| -h -help -? | Displays help information. |
| -javahome path | Specifies the JRE root directory. |
| UNIX(R) operating systems: -J option Windows operating systems: -Joption | Passes options to the Java Virtual Machine (JVM). |
If you have previously created a database profile, you can also start the Intelligent Miner Visualizers by calling a database profile. See Creating database profiles for more information.
To call the database profile, you must specify the profile name, the password, and the primary key. The primary key must be specified to identify the model that you want to use in the database table. The primary key can be a number or the model name.
To start the Intelligent Miner Visualizers by calling a database profile, type, for example, the following command on the command line interface:
imvisualizer -dbprofile PROFILENAME -dbpassword PASSWORD PRIMARY_KEY
This chapter describes the different views of the Associations Visualizer. It explains the concepts and the tasks that you can do in the various views.
The Associations Visualizer provides the following views to represent associations rules:
The tasks that are specific to these views are described in the following sections.
In all views of the Associations Visualizer, you can perform the common tasks of the Intelligent Miner Visualizer framework. For more information, see Performing common tasks.
With the Associations Visualizer, you can show models that are created by the following sources:
An associations rule consists of a set of items, the rule body, leading to another item, the rule head. The associations rule relates the rule body with the rule head. An associations rule can contain the following characteristics:
In the following example, swimsuits and beach towels represent the rule body. Sun glasses represent the rule head. The confidence and the support are measures of the reliability and the frequency of occurrence.
[Swimsuits] + [Beach towels] ==> [Sun glasses] Support=24% Confidence=60% Lift=2.0
The rule in the above example means that if customers buy swimsuits and beach towels, in 60% of the cases they also buy sun glasses. The combination swimsuits, beach towels, and sun glasses occurs in 24% of all transactions.
These are the characteristics of an associations rule:
In the example above, there might be 24 transactions out of 100 transactions that support the associations rule. This means that 24 transactions out of 100 transactions contain at least the item swimsuits, beach towels, or sun glasses.
In the above example, the confidence is 60%. This means that 60% of all transactions that contain swimsuits and beach towels also contain sun glasses.
For example, if the associations rule [swimsuits] + [beach towels] => [sun glasses] has a lift factor of 2.0 swimsuits and beach towels have a very positive effect on buying sun glasses because a high lift factor indicates a strong association between items.
confidence * (lift - 1) / lift
The subtractive lift measure helps you to identify rules that might be important for you. It takes the confidence and the lift into account. If confidence and lift are high, the subtractive lift is also high.
In the Rules View, you can order the rules by the subtractive lift values.
In the Rules View, you can order the rules by the values for the rule support multiplied by rule confidence measure.
Rule groups help you to distinguish sets of rules that do not have a direct or indirect relationship.
If two rules, for example, R1 and R2, share at least one item (regardless whether the item appears in the rule head or in the rule body), these rules are directly related (R1 ~ R2) and therefore belong to the same rule group.
The rule group of a given rule R1 consists of all rules in the model that are directly or indirectly related to R1. This means that a rule group contains all rules that are connected via a chain of directly related rules in the model.
Figure 2 illustrates the direct and the indirect relationship of rules. Each of the rules has a direct relationship to another rule because they contain the same item. For example, rule number 1 and rule number 2 contain the item L.
Rule number 2 and rule number 4 are not directly related because they do not contain the same item. However, they are indirectly related based on the direct relation ship of rule number 2 and rule number 3 (both contain the item D) and the direct relationship of rule number 3 and rule number 4 (both contain the item S).
For example, there might be a model that contains the following rules that include the items A, B, C, D, E, F, G, and H:
The rules 1 and 2 belong to the same rule group because rule number 3 contains items that are included in rule number 1 and rule number 2.
The rules 4 and 5 belong to a different rule group because they are not linked to any item of rule number 1, rule number 2, or rule number 3.
Items that belong to rules in different rule groups are not typically contained in the same transaction. In a retail example this can be interpreted as not being sold together. Sorting the rules by rule group makes it easier to detect sets of items that are more commonly sold together.
The Rules View and the Graph View display the same data in different ways.
The Rules View can display the rules in tabular or in textual form.
Rule: [C]+[L] ==> [B] Support: 40% Confidence: 100% Lift: 1.25
To display the rules in textual format, click View => Show Rules As => Text.
To display the rules in tabular format, click View => Show Rules As => Table.
Fanning in means to display only those associations rules that include the selected rules or the selected item sets in the rule head.
Fanning out means to display only those associations rules that include the selected item sets or the selected rules in the rule body.
The item sets or rules that are not selected for fanning in or fanning out are added to the hidden table at the bottom of the Rules View and the Item Sets View. You cannot view the hidden item sets or rules in the Graph View.
Assuming you have the following rule:
If customers buy swimsuits and beach towels, in 90% of the cases they also buy sun glasses.
To fan in or to fan out, you can do one of the following actions:
On the Filter Records dialog, you can specify filter rules to hide the records that correspond to the specified filter rule from the model.
You can specify filter rules to reduce the records of a model, so you can browse less associations rules in the viewers and get a quick overview. The rules that match the filter are added to a hidden table.
Applying filters to models does not change the models. It only hides the records that correspond to the specified filter rules from the current view.
You can use the following logical operators to specify the filter rules:
The logical operator that you selected applies to all filter rules.
If you are satisfied with the result of the filtering and you are sure that you do not need the records that meet your filter condition, you can delete the records from the model by using the Delete Records dialog.
The Delete Records dialog and the Filter Records dialog preserve the latest filter condition that you used, so you can easily reuse your latest filter condition.
A filter rule consists of a field name, an operator, and a value as shown in Figure 4.
To specify one or more filter rules, follow these steps:
On the Delete Records window, you can specify filtering rules to delete the records that correspond to the specified filtering rule in the current model.
You can delete records in the current model to reduce the size of the model and to improve the performance.
When you save the model, the records that you specified to delete are lost. To keep the original model and the model with the reduced size, save the model by using a different name.
A filter rule consists of a field name, an operator, and a value.
You can use the following logical operators to complete the specification of the filter rules:
The logical operator that you selected applies to all filter rules.
To specify one or more filter rules, follow these steps:
On this window, you can search the entire model or specified columns for a particular text string.
You can type the string that you want to find in the Text to find entry field. The strings that you specified are added to the Text to find drop-down list, so you can select from this list the next time you want to search for a string.
The Search in column drop-down list contains the columns that are included in the views. You can specify the column that you want to search by selecting a column from this list. You can also search all columns of the current view by selecting All from this list.
You can specify whether you want to search case sensitive. You can search the visible table, the hidden table, or both. You can also specify whether you want to search for the specified strings only or for larger parts containing the specified string.
Depending on the current view, you can search rule by rule or item set by item set for the specified string, or you can specify to highlight all rules or item sets that include the specified string.
To search, for example, item set by item set for a support value of 60% in the Item Sets View, follow these steps:
You can also use the keyboard shortcut Ctrl+F.
If you have searched for this support value before, you can also select it from the Text to find drop-down list.
If the specified string is found, the item set that includes this string is highlighted in the visible and in the hidden table.
If you want to highlight all item sets that include a support value of 60% in the visible and the hidden table simultaneously, you must click Find All.
You can also press F3 repeatedly to find the next item set with the specified text string.
When all occurrences of 60% are highlighted, a message is displayed that the specified string cannot be found. If the visible table contains, for example, 3 item sets that include 60%, and the hidden table contains 6 item sets that include 60%, the message is only issued after the last item set in the hidden table is highlighted.
You can hide one or more rules from the current view. If you hide rules, the window is split horizontally. The hidden items are added to a hidden table at the bottom of the window. By dragging the split bar upward, you can browse the visible rules and the hidden rules simultaneously. Figure 5 shows the Rules View displaying visible rules and hidden rules.
The table containing the hidden items does not use the coloring of the table containing the visible items.
To hide or show rules, you can do one of the following actions:
You can also select one or more rules and click the Hide icon on the tool bar or select several rules and use the keyboard shortcut Ctrl+H.
You can select item sets in the Item Sets View and in the Graph View, and browse the rules that contain the selected item sets in the Rules View. You can also select rules in the Rules View and in the Graph View, and browse the item sets that are contained in the selected rules in the Item Sets View.
In the Rules View and in the Item Sets View, the rules and the item sets that are not associated with the selected objects are hidden in a table at the bottom of the window.
In the Graph View, you can view only the item sets and the rules that are associated with the selected objects. The rules and the item sets that are not associated with the selected objects are not visible in the Graph View.
The Rules View is displayed and shows the rules of the item sets that you have previously selected in the Item Sets View.
The Item Sets View is displayed and shows the item sets of the rules that you have previously selected in the Rules View.
The Item Sets View shows associations rules including, for example, the following information:
You can specify the fields that you want to include in the Item Sets View in the Properties notebook. For example, you might want to include the columns Number of Rules, In Rules as Body, or In Rules as Head in the Item Sets View as shown in Figure 6.
The Item Sets View shows all item sets that are defined in a model. If you have included the following columns in the Item Sets View, you can see which of the item sets are not included at all in the associations rules:
You can also see which of the item sets are included how many times in an association rule as rule body or as rule head.
The item sets are sorted, for example, by the percentage of their support value. You can change the sorting criteria on the Item Sets Sort page of the Properties notebook.
Additionally, you can change the sort order of the item sets in the current view. You can sort the item sets in ascending or descending order by clicking one of the column headers. For example, the column Number of Rules might be sorted in ascending order. Clicking on the column header Number of Rules changes the ascending sort order to descending sort order. These changes apply only to the current view, they are not stored in the Properties notebook.
At the bottom of the window, the legend shows, for example, the support of the item sets on a scale from the highest to the lowest value in the appropriate color coding. Double-clicking the legend displays the appropriate page of the Model properties to change the color coding for the current model.
In the Item Sets View, you can do the same tasks that you can do in the Rules View. See The Rules View for more information.
The Graph View and the Rules View display the same data in different ways.
In the Graph View, the item sets are displayed as nodes and the associations rules as arrows. The arrows lead from item sets in the rule body to the item set in the rule head.
An associations rule is represented by two nodes that are connected with an arrow. The nodes represent the item sets. The arrows represent the association between these item sets. The arrow leads from the node that represents the item set of one transaction, the rule body, to the node that represents the items that are derived by the Associations mining function, the rule head.
Selecting an arrow means selecting a rule. Selecting a node means selecting an item set.
To select a subgraph, select an item set or a rule and click Edit => Select Subgraph.
The color of the nodes and the color of the arrows represent the value of a particular parameter, for example, Support, or In Rules as Body.
At the bottom of the window, a legend for the rule color and for the item set color shows the correlation of the rules and the item sets from the highest to the lowest value in the appropriate color coding for the selected field value. For example, if you associated the rule color with support values, the color of the rules tells you the appropriate support value of this rule.
You can also assign a rule parameter to the width of the arrows, for example, Confidence.
A legend for the rule width shows the value of a selected field value. For example, if you associated the rule width with confidence values, the width of the rules tells you the rules' confidence value.
On the Rules page of the Properties notebook, you can specify the color for the rules, and assign a parameter to the rule width. On the Item Sets page of the Properties notebook, you can specify the color for the nodes.
You can specify to display labels next to each arrow and next to each node. For example, if a rule has a support value of 90%, and the rule width is used to represent the support value in the Graph View, the value of 90% is displayed next to the rule.
Rule labels are especially useful, if you do not use colors in your graph, or if you use printouts.
You can specify labels for rules on the Rules page of the Properties notebook, and labels for item sets on the Item Sets page of the Properties notebook. If you have specified rule labels, they are displayed by default.
To hide the rule labels from the Graph View, click View => Labels for Rules.
By default, the associations rules in the Graph View are displayed anti-aliased. This means that the representation of the associations rules and the rule labels is sharper due to a higher resolution.
You can specify whether you want to display the rules anti-aliased. If you deselect the Anti-aliased Display option, you can improve the performance of the visualizer.
To deselect the Anti-aliased Display option, click View => Anti-aliased Display.
To export a graph or several parts of a graph, click File => Export.
On the Export Preview window, follow these steps:
You can highlight objects in the graph step by step. This shows you easily the associations between the nodes and the arrows.
For example, if you select a node and click Edit => Select Step(s), all arrows associated with the selected node are highlighted. If you click Edit => Select Step(s) again, all nodes associated with the selected arrows are highlighted.
To highlight objects in the graph sequentially step by step, select a node or an arrow and click Edit => Select Step(s).
To remove the highlighting, click anywhere in the graph.
You can move the item sets within the graph to different positions to improve the view of the graph. After you have moved several item sets to different positions, you can let the visualizer arrange the entire graph or selected parts of the graph automatically.
If you have previously hidden rules or item sets, the graph arranges only the visible rules and item sets. If you want to arrange the entire graph including the hidden items, you must click View => Show All Objects before you click View => Arrange Entire Graph.
You can do one of the following actions to modify the graph:
You can zoom in or zoom out the Graph View. When zooming in or zooming out, the width of the arrows and the size of the nodes do not change. However, the distance between the arrows and the nodes is increased when you zoom in and decreased when you zoom out.
To zoom in or out the current view, you can do one of the following actions:
You can also use the zoom tool for zooming. To use the zoom tool, follow these steps:
In the Graph View, you can also do tasks such as fanning in or fanning out, or filtering records. See The Rules View for more information.
The Statistics View includes the Global Statistics section and the Statistics for Visible Objects section as shown in Figure 8.
The Global Statistics section differentiates between item sets and single item sets. A single item set means that there is only one item in the item set.
Some of the item sets might not be used in the associations rules. These item sets do not have any association to different item sets.
The Visible Statistics section shows you how many rules and item sets of the model are visible in the Associations Views.
If you have hidden rules or item sets, the amount of the visible rules or item sets is displayed. If you did not hide any rules or item sets, the total amount of rules and item sets contained in the model is shown.
Some of the properties are the same for all visualizers, for example, general properties or print options. Some properties are specific to a particular visualizer, for example, the rule properties are specific to the Associations Visualizer. Therefore all properties are described in a separate chapter. For more information, see Properties.
For more information about the general concepts of properties, see Property concepts.
For more information about the associations properties, see the appropriate chapter.
This chapter describes the different views of the Clustering Visualizer and the tasks that you can do in the various views.
The Clustering Visualizer provides the following views to represent clusters:
With the Clustering Visualizer, you can show models that are created by the following sources:
The tasks that are specific to these views are described in the following sections.
In all views of the Clustering Visualizer, you can perform the common tasks of the Intelligent Miner Visualizer framework. For more information, see Performing common tasks.
The Graphics View shows an overview of the relevant clusters, their size, and their fields as shown in Figure 9.
Each row in the table describes one cluster by showing how the field values are distributed for the records in this cluster.
The background color of a row represents a particular information of the corresponding cluster, for example, the size of a cluster. You can also specify the background color to represent the average values of a specific field, or aggregations of all record values in the class of a specific field. You can specify the background color and the sorting criteria on the Color Coding page of the Properties notebook.
In Figure 9, the clusters are sorted by size. The largest cluster is displayed on top of the window. The legend shows that the cluster colors are determined by their average salaries.
The field columns contain graphical representations of the fields of each cluster.
You can specify the sort order of the fields on the Sort page of the Visualizer Properties notebook. For example, you might want to display the fields alphabetically, or you might want to view the most representative fields first.
You can do one of the following actions to select clusters:
You can also right-click on any field and click Select All from the pop-up menu. Or you can use the keyboard shortcut Ctrl+A.
To rename a cluster, select the cluster and click Selected => Rename on the menu bar.
You can also right-click a cluster and select Rename from the pop-up menu.
You can hide one or more clusters from the current view. If you hide clusters, the window is split horizontally. The hidden items are added to another table in the lower part of the window. The table containing the hidden items does not use the coloring of the table containing the visible items. See Figure 5 for a horizontally split window with visible and hidden items.
To hide or show one or more clusters, follow these steps:
You can also select several clusters and click the Hide icon on the tool bar or use the keyboard shortcut Ctrl+H.
You can specify the chart types of the fields. Categorical fields can be displayed as histograms, as pie-charts, or as tables. Continuous fields can be displayed as histograms or as tables.
For example, if you specify the chart type of the continuous field SALARY as table, all occurrences of the field SALARY in all clusters are displayed as tables.
To specify the chart type of a field, you can do one of the following actions:
You can fit one or more fields of one or more clusters to window size to have a better view of this field.
If you fit one field to the window size, buttons labeled with the names of the fields next to this field are displayed at the upper left side and the upper right side of the window as shown in Figure 10. You can look at the next or the previous field in this cluster by clicking one of these buttons.
For example, if you fit the field Marital Status to the window size, a button labeled Salary might be displayed at the upper left side of the window, and a button labeled Age might be displayed at the upper right side of the window. If you click on the button labeled Age, this field is displayed, and the button labels are modified accordingly. This way you can scroll through all fields of the cluster sequentially when they are fitted to the window size.
If you fit several fields of different clusters to window size, you can scroll the window to view all of the selected fields.
You can also fit one or more clusters to window size to have a better view of the fields contained in the selected clusters.
If you fit one cluster to window size, you can view the fields contained in this cluster by scrolling the window. You can also view the fields of the adjacent clusters by clicking the appropriate buttons at the top of the view.
If you fit more clusters to window size, you can view the fields of the selected clusters by scrolling the window.
You can also select a cluster and click View => Fit In Window on the menu bar.
You can also select the clusters and click View => Fit In Window.
You can also select the fields and click View => Fit In Window on the menu bar.
You can also select the field and click View => Fit In Window from the menu bar.
To go back to the overview in the Graphics View, click the Back icon on the tool bar. You can also click View => Overview on the menu bar.
You can increase or decrease the entire Graphics View or selected fields of the Graphics View.
To increase the Graphics View, you can do one of the following actions:
If you increase the view of the clusters, you might have to scroll the window to view all clusters or all fields.
To decrease the Graphics View, you can do one of the following actions:
You can navigate through the zoom factors to go back to the original view that is stored in the model.
You can do one of the following actions to navigate through previous zoom factors and individual fields previously fitted to the window size:
You can print a report of the result. You can specify whether this report contains one or more of the following options:
You can specify the clusters and the fields that you want to include in the report. By default, all clusters and all fields are included in the report.
You can print the overview, the details for clusters, or the details for fields in textual format, in graphical format, or in both formats. The textual format includes common characteristics of the selected clusters and fields.
Before you print the report, you can preview your specification by clicking Print Preview. You can modify the orientation to landscape or portrait, or you can change the margin values by clicking Page Setup. You can also export the result to HTML format by clicking HTML Export....
To print a report of selected clusters and selected fields in graphical format, follow these steps:
The Text View shows an overview of the relevant clusters, their size, and characteristics of their fields as shown in Figure 11. The fields in each cluster are highlighted by bold face font.
Each row in the table describes one cluster by showing how the field values are distributed for the records in this cluster.
The background color of a row represents a particular information of the corresponding cluster, for example, the size of a cluster. You can also specify the background color to represent the average values of a specific field, or aggregations of all record values in the class of a specific field. You can specify the background color and the sorting criteria on the Color Coding page of the Properties notebook.
In Figure 11, the clusters are sorted by size. The largest cluster is displayed on top of the window. The legend shows that the cluster colors are determined by their average salaries.
For every relevant field, the name and the state is shown. The state depends on the following field types:
The state is determined by the most frequent field value in the cluster. For example, looking at cluster 5 in Figure 11, the contribution of the field MARITAL_STATUS to the cluster description is MARITAL_STATUS is predominantly s.
The state is determined by the interval with the highest frequency, or by an interpretation (small, average, large) if the statistical information necessary for this interpretation is available. For example, looking at cluster 1 in Figure 11, the contribution of the field SALARY to the cluster description is SALARY is high.
For categorical and discrete numerical values, the fields are described by their values having the highest frequency (modal value).
For continuous numerical fields, the fields are described by the intervals having the highest frequency, or by an interpretation (small, average, large) if the statistical information necessary for this interpretation is available.
The text in the Characteristics column is generated by the system. It indicates the value of the most relevant fields for the corresponding cluster in the sequence of the most relevant clusters. Fields that are not relevant do not appear in the Characteristics column.
You can modify the text in the Characteristics column. You can also reset modified text in the Characteristics column to the text that was originally generated by the system.
To modify the description of a cluster, follow these steps:
You can cut, copy, and paste text strings to modify the text in the Edit window. You can also use formatting features like, for example, left alignment or bold font type. Figure 11 shows the field names of the model in bold font.
You can use these features by highlighting the text string that you want to change and clicking the appropriate icon on the tool bar of the Edit window.
You can also do one of the following actions to display the Edit window:
To reset modified text in the Characteristics column to the system-generated text, follow these steps:
In the Text View, you can do the same tasks that you can do in the Graphics View. For more information, see The Graphics View.
The Details View provides tables in the following sections:
The scale in the Overall Model Quality section and the tables in the other sections summarize information about the clustering results to give you a quick overview.
Figure 12 shows the Details View with the following sections expanded:
The Overall Model Quality section shows the overall model quality based on a scale ranging from 0 to 1.
The overall model quality is a measure for the homogeneity across all clusters.
The Statistics table in the Cluster Statistics section gives a quick overview of the following information:
The Similarity Between Clusters table shows the similarity between the clusters. Each cluster is compared to all other clusters. The similarity value must be between 0.0 and 1.0.
If the field is not numeric, or if the information is not available in the statistics of the model, the following fields do not contain any values. This is denoted by the string n/a (not available).
In this section, you can view the following information per cluster:
If the field is not numeric, or if the information is not available in the statistics of the model, the following fields do not contain any values. This is denoted by the string n/a (not available).
You can specify to display absolute values or the percentage of the modal frequency.
To display the details for one of the clusters or for the total population in the Details for Clusters table, select the option that you want to use from the Cluster drop-down list.
To display absolute values or the percentage of the modal frequency in the Modal Frequency column, select or deselect the Show Frequencies in % check box.
In this section, you can compare the following values of the fields between the clusters:
To show a different value category in the Details For Fields table, select a different value category from the Show drop-down list.
If you select Modal Frequency from the Show drop-down list, the Show Frequencies in % check box is displayed in the Details for Fields section.
To display absolute values or the percentage of the modal frequency in the Details for Fields table, select or deselect the Show Frequencies in % check box.
In this section, you can compare the frequencies of the individual fields that are contained in a cluster.
To display the frequencies of a field in the Frequencies for Fields table, click the field that you want to use in the Field list.
Some of the properties are the same for all visualizers, for example, general properties or print options. Some properties are specific to a particular visualizer, for example, the rule properties are specific to the Associations Visualizer. Therefore all properties are described in a separate chapter. For more information, see Properties.
For more information about the general concepts of properties, see Property concepts.
For more information about the clustering properties, see the appropriate chapter.
This chapter describes the different views of the Classification Visualizer and the tasks that you can do in the various views.
You can create algorithm-independent models and tree classification models by specifying input data for the Classification mining function. You can view these models with the Classification Visualizer.
The Classification Visualizer provides the following views to represent generic classification models and models that are created by a decision tree algorithm.
When generic models are displayed, the following views indicate that information that is specific to decision tree algorithms is not available.
The Classification Visualizer provides the following views to represent test results. You can create test results by applying a model to test data.
With the Classification Visualizer, you can show models that are created by the following sources:
The tasks that are specific to the views of the Classification Visualizer are described in the following sections.
In all views of the Classification Visualizer, you can perform the common tasks of the visualizer framework. For more information, see Performing common tasks.
The Predicted Classes View shows the names of the predicted classes, the size of each class, and the distributions of field values for each class. Figure 13 shows an example of the Predicted Classes View.
In the graphs, the distribution of field values for a specific class is compared to the overall distribution. In pie-charts, the inner circle shows the distribution of field values in the classes. The outer circle shows the overall distribution of the field values.
The background color of a row represents a particular information of the corresponding class, for example, the size of a class. You can also specify the background color to represent the average values of a specific field, or aggregations of all record values in the class of a specific field.
The first part of the status bar displays information about the model, for example, 2 predicted classes in the model. The second part of the status bar displays information about the fields that is specific to the current view, for example, No fields selected.
To select one or more charts, you can do one of the following actions:
You can also move the focus on a chart by clicking the appropriate arrow key and pressing the space bar.
You can also use the arrow keys to move the focus on the chart of your choice, hold the Ctrl key, and press the space bar.
To select one or more rows, you can do one of the following actions:
To fit one of the charts to window size, you can do one of the following actions:
To go back to the previous view, you can do one of the following actions:
To increase the Predicted Classes View, you can do one of the following actions:
To decrease the Predicted Classes View, you can do one of the following actions:
To go back to the original view, you can choose between the following options:
The Details View contains the following sections:
The tables in the sections of the Details View summarize information about the classification results to give you a quick overview. Figure 14 shows the Details View with the Partition Statistics section expanded.
In the Partition Statistics section, the Statistics table gives a quick overview of each partition, its absolute size, and the percentage of the size.
In this section, you can view the following information of a partition:
You can also specify to display absolute values or the percentage of the modal frequencies by selecting or deselecting the appropriate check box.
To display the details for a particular partition in the Details for Partitions table, select a partition from the Partition.
In this section, you can compare the modal values and the modal frequencies of the partitions by selecting one of these options from the Show list. By default, modal frequencies are displayed. If you select modal values, the Show Frequencies in % check box disappears.
To display modal values or modal frequencies in the Details For Fields section, select the values that you want to view from the Show list.
In this section, you can compare the frequencies of a specific field in all partitions.
To display the frequencies for a particular field in the Frequencies for Fields table, select a field from the Field list.
To display the percentage of the frequencies instead of absolute values, select the Show Frequencies in % check box.
The Quality View shows the overall model quality and detailed quality information in terms of accuracy, reliability, and the ability to sort the data.
The Quality View contains the following sections:
The required quality of a prediction model depends on the application for which you want to use it. Being significantly better than predicting the overall mean value might be a good result. This applies, for example, if you want to predict cross-selling opportunities.
You might think that the prediction quality should always be as good as possible. In general, this is true. However, sometimes the result might be too good. The reason for a result that is too good can be that there are causal dependencies between the target field and some input fields.
For example, you might want to predict the amount of claims for a new insurance customer. A high-quality model that is based on existing customer data might reveal that customers with a large number of accidents also have a large amount of claims. However, this model is not useful because the number of claims is not known at the time when the prediction must be made.
The Overall Model Quality section shows the name of the data set that was used to build the model. It also shows whether the data set was used to train the model, or whether it was used for the validation or the testing of the model quality.
The scale in the Overall Model Quality section shows the overall quality of the model. The overall model quality is based on quality details in terms of accuracy, reliability, and the ability to sort the data.
The overall model quality compares the predictive performance of a model to a trivial model that randomly assigns one of the possible values to the target field according to their occurrences in the data set.
The overall model quality value depends not only on the model itself, but also on the validation data or the test data that was used. Even if the overall model quality value is high, it can only be assumed that model application produces high quality results if the application data is similar to the validation data or the test data that was used.
The Quality Details section shows the name of the target field. The target value for which the accuracy and the ranking quality are shown is also displayed.
You can select a different target value by clicking the list arrow and selecting a different value from the drop-down list.
The Quality Details section contains scales to measure the following quality details:
The ranking quality is the relation between the area between the model curve and the random curve and the area between the optimum curve and the random curve in the Gains Chart. For more information about the Gains Chart, see The Gains/Lift View.
The ranking quality measure indicates how well a model is able to separate the data records with high target field values from data records with low target field values.
A negative ranking quality indicates that a model is worse than random. A frequent cause is a different encoding of target values for training data and test data. For example, for the target field RESPONSE, the target values YES and NO were mixed.
The reliability quality measure indicates the consistency between a model's assessment of its own predictive accuracy and the actual prediction errors that are observed on a validation data set or a test data set.
Figure 15 shows the Quality View with the Overall Model Quality section and the Quality Details section expanded.
The Confusion Matrix View includes the following sections:
This section is only available if you are using tree classification models.
In each section, the number of predicted classes, the number of correct classifications, and a confusion matrix is displayed. You can display the percentage of the absolute values in the confusion matrix tables by selecting the check box Show in percent.
Figure 16 shows an example of a confusion matrix.
In the model shown in Figure 16, the classes No and Yes are predicted. The correct classifications are indicated in bold font type.
You can read the confusion matrix horizontally and vertically.
There are 116 items in class YES:
There are 137 items classified into class YES:
The Confusion Matrix is computed by the Classification mining function. It displays the distribution of the records in terms of their actual classes and their predicted classes. This indicates the quality of the current model. A model can contain two or more predicted classes.
Generated models can already contain pruned subtrees. The mining function calculates the confusion matrix and stores this information in the classification model. This confusion matrix is shown in the section Confusion matrix as found in the model.
The tree that is contained in tree classification models might contain nodes that are pruned by the mining function. You can unprune one or more of these nodes, or prune additional nodes in the Tree View or in the Tree Node Distribution View. This changes the tree classification model and the confusion matrix of this model. The confusion matrix in the section Confusion matrix as computed for the current prune level is updated according to the pruning actions that you perform in these views.
If you do not prune the tree in the Tree View or in the Tree Node Distribution View, the values in the tables of the sections Confusion matrix as found in the model and Confusion matrix as computed for the current prune level are the same.
You can copy and paste one or more rows of the confusion matrix table into a different application of your choice. You can also copy the text strings above the confusion matrix tables.
To copy one or more table rows of the confusion matrix, follow these steps:
You can also use the keyboard shortcut Ctrl+C.
The Gains/Lift View shows the ranking quality of classification models or regression models. With the Gains/Lift View, you can compare the quality of different classification models or regression models. The ranking quality indicates the capability of a model to correctly order records based on a predicted property. It helps you to measure the performance and the effectiveness of the models.
With the information that is provided by the Gains/Lift View, you can answer the following questions:
The closer the model is to the optimum curve, the better is the ranking quality of the model. If the model curve is closer to the random curve, you might want to use a different model with a better ranking quality.
If you collect data over time, and if you compare the same model, once based on the original data and once based on later test data, you can see how the ranking quality of the model develops over time. This is useful, in particular, to determine the point in time when the model has deteriorated too much and needs replacement by a more recent model.
All models that you want to compare must predict the same target field.
The models need not be created with the same active fields, however, typically they are created with the same active fields.
If the test data is based on different geographic data, you can see when the model is of good quality in one region, or of bad quality in another region.
You can also compare the applicability of the model to different subsets of the data, for example, data from different locations. You can then decide to build a new model based on more specific data.
The Gains Charts and the Lift Charts are not updated if the classification model contains a tree that is manually pruned.
The Gains/Lift View contains the following sections:
Depending on the chart that you want to display, the Chart section contains the following views:
It also contains the Curve Characteristics table.
Charts
In the Chart section
of the Gains/Lift View, you can see the quality of a model compared to using
no model at all and to the quality of the optimal model.
If you do not use a model, the data records are selected at random. At random selected data records are indicated by the random curve.
The optimum quality of a model is indicated by the optimum curve.
The optimum curve might not be available in a model.
Comparing different graphs in the same diagram is a powerful way to see the quality of different models at first glance. This applies especially when graphs are computed based on different data sets, one data set to build the model, and the other data set to test the model.
You can switch to a different chart by clicking, for example, View => Lift on the menu bar of the visualizer.
Curve characteristics
The Curve Characteristics table below the chart includes the
following information:
When you added curves of other models to the chart, the names of these models and their appropriate attributes are added to the table.
The value for the ranking quality is a real number. You can compare the ranking behaviour of different models by this number.
Quality values of validation data are a quite fair guide, because they influence the model creation only marginally.
From test data, you can best determine the model quality, because this data is completely hidden from the algorithm at training time.
The different charts are described in the following sections. You can do various tasks on each of these charts. These tasks are described in Modifying the Gains/Lift View.
Figure 17 shows the Gains Chart in the Chart section of the Gains/Lift View.
By default, the x-coordinate of the chart shows the percentage of the cumulated number of sorted data records of the current model. The data records are sorted in descending order by the confidence that the model assigns to a prediction of the selected value of the target field.
By default, the y-coordinate shows the percentage of the number of records that actually contain the selected target field value for the appropriate amount of records on the x-coordinate.
For both coordinates, you can specify to display absolute values or the percentages of the total amount.
You can display absolute values by doing one of the following actions:
If you select the % of maximum radio button, the 100% value is the maximum of the y-coordinates. Depending on the curve, the 100% values can be different.
The model that is loaded in the Gains Chart might not have used validation data so that the ranking quality is based on training data only. A Gains Chart based on training data is not as significant as a Gains Chart that is based on validation data because the model might be overtrained.
The Lift Chart measures the effectiveness of models by calculating the ratio between the result obtained with a model and the result obtained without a model. The result obtained without a model is based on randomly selected records. In the chart, it is represented by the random curve.
The Lift Chart also shows the lift factor between different points on the x coordinate. It shows a factor f if you take into account about n% of the data.
In the Lift Chart, the random curve is always represented as a horizontal line. At that point in the chart where the model curve declines below the random curve, the lift factor is smaller than 1. This means that the records of the model contain fewer target values than a random sample with equally distributed target values.
Figure 18 shows the Lift Chart in the Chart section of the Gains/Lift View.
The x-coordinate of the Lift Chart shows the percentage of the cumulated number of sorted data records of the current model. The data records are sorted in descending order by the confidence that the model assigns to a prediction of the selected value of the target field.
You can specify to display absolute values or percentages of the total amount of records.
The y-coordinate of the Lift Chart shows the ratio between the results that are obtained with a model and without a model.
You can specify to display average values for the target field in percent or the lift factor.
If you specified to display the lift factor by selecting the Lift Factor radio button in the Properties notebook, the y values from the absolute scaling are divided by the random value.
The Cumulative Lift Chart shows you the lift factor of how many times it is better to use a model in contrast to not using a model. Applied to the example of the mailing campaign that is described in Example, the Cumulative Lift Chart shows you how much more likely you are receiving responses from a mailing campaign when you are using a model in contrast to using a random sample of customers.
Figure 19 shows the Cumulative Lift Chart with cumulative lift factors.
The x-coordinate of the chart shows the percentage of the cumulated number of sorted data records of the current model. The data records are sorted in descending order by the confidence that the model assigns to a prediction of the selected value of the target field.
The y-coordinate of the Cumulative Lift Chart shows the cumulated lift factor or the cumulative average percentage of the selected target field value.
The Chart Data section of the Gains/Lift View contains the following tables:
Depending on the chart that you selected, this table shows the coordinate values for the different curves in the Gains Chart, the Lift Chart, or the Cumulative Lift Chart.
The Boundary Values table shows the confidence values for the model curves, the optimum curve, and the random curve. The boundary value for x records or x% records is the least confidence value of these records.
With the boundary value, you can identify, for example, a given number or a percentage of customers who are considered by the model to most likely sign a new contract. For more information, see Example.
Figure 20 shows the Chart Data section of the Gains/Lift View.
The tables in the Chart Data section show the values that are visualized in the chart in the Chart section. You can compare the values of the current model to the values of models that you have added to the chart by clicking Add.... You can also compare the values of these models to the optimum curve and the random curve.
You can copy the values in the tables to the clipboard, or you can export them to different applications for further processing.
You can do the following modifications in the Gains/Lift View:
You can specify how the chart looks like on the Gains/Lift page of the Properties notebook.
To display the Gains/Lift page of the Properties notebook, you can do one of the following actions:
For more information, see Properties specific to classification and regression.
The Classification Visualizer shows a particular model, however, in the Gains/Lift View, you can load the curves of one or more different models.
You might want to use a particular naming convention for your models in order to recognize which model is appropriate to be compared with the current model. For example, you can only add the curves of models that have the following characteristics:
For example, you might have a classification model with the target field Answer. The values of this target field are Yes and No. You might want to add a regression model with the target field Risk. The values of this target field are 1 and 0. 1 means high risk, 0 means low risk. Although the names of the record property are different, Answer versus Risk, the record property is the same.
If you have added a model to the chart and you want to add more models, the following characteristics are required:
If you add a model that does not meet these requirements, an error message is issued before the Add Curve window is displayed again.
You can also click Selected => Add... on the menu bar of the visualizer to display the Add Curve window.
When you have added the curves of a different model to the chart, they are also added to the Curve Characteristics table below the chart.
If you remove a curve from the chart, it is also removed from the Curve Characteristics table below the chart.
You can only remove the random curve and the optimum curve of the current model or the curves of models or test results that you have previously added to the chart. You cannot remove the model curve of the current model.
If you have hidden a curve, it is not displayed in the chart, however, it is still included in the Curve Characteristics table below the chart.
You can also hide the random curve and the optimum curve of models that you have previously added to the chart.
To hide the random curve or the optimum curve of a model, deselect the appropriate check box in the Visible column of the Curve Characteristics table. You can also select a curve in the Curve Characteristics table and click Selected => Hide.
You can also right-click anywhere in the Chart section and select a different chart from the pop-up menu.
The chart shows the curves for the selected value of the target field. To show the curves of another value of the target field, click the arrow of the drop-down list above the chart and select a different value of the target field from the drop-down list.
You can add vertical and horizontal lines to the chart. These lines help you to identify where the corresponding point is located on the curve in the chart when you are looking at a particular data row in one of the chart data tables.
The horizontal and vertical lines are correlated to the values of a selected row in a chart data table. If you select a row in a chart data table, a vertical line related to the selected record value and horizontal lines related to all curves are displayed in the chart.
If you select several rows in the table, the lines in the chart are correlated to the values of the first row that you selected.
If you added curves of other models to the chart and selected a row in the table, a horizontal line for each model is displayed from the selected value on the x-coordinate.
If you select a row in one of the tables of the Chart Data section, the correlated row in the other table is also selected.
To add vertical and horizontal lines to the chart, follow these steps:
When the chart is zoomed in, the Zoom icon and arrows are additionally displayed. Clicking the Zoom icon resets the chart to its default size. Clicking one of the arrows moves the chart in the appropriate direction.
Assuming that you want to start a mailing campaign to prevent customers from leaving. Because you have a limited budget, you want to address only 30% of your customers. You want as many customers as possible to stay, however, you want the cost for the mailing campaign to be as low as possible.
To identify the customers who are most likely to leave, you can start a Classification mining run on your customer data. Every record represents one customer. You might want to specify LEAVING as the target field. The values for this target field are YES and NO.
The Gains Chart in Figure 17 shows the leaving rate of your customers. The target field is called LEAVING. The values for the target field are Yes and No. The Yes value is selected.
Looking at the Gains Chart shown in Figure 17, you can see that the curve of the model is above the random curve. The steeper the model curve starts, this means the higher the curve is at the 30% mark, the better is the model for the mailing campaign because you want to address only 30% of your customers.
You can change the classification settings to create another model from the same data. For example, you might want to use different input fields, or you might want to specify different field weights. Again, you specify LEAVING as target field with the values YES and NO. You can add this new model to the previous model in the Gains Chart as shown in Figure 21.
The Gains Chart in Figure 21 shows that the curve of the new model is higher than the curve from the previous model in the lower percentages of the population. Because you want to address only 30% of your customers, the new model is better suited for the mailing campaign.
To determine the percentage y of all YES cases, you must look up the percentage of the total amount of YES values on the y-coordinate that corresponds to 30% population on the x-coordinate. In Figure 21, this value is 50%.
To determine the percentage of customers who are expected to leave, you must multiply y with the overall percentage p of YES cases and take x into account. For example, if x=30%, y=60%, and p=5%, you are entitled to expect 10% customers to leave.
You can easily determine the percentage of new customers who are most likely to leave soon by displaying vertical and horizontal lines in the Gains/Lift chart. Follow these steps:
A vertical line is now displayed in the Gains Chart leading from a particular point on the x-coordinate, for example, from 30%, to the curves, and horizontal lines are displayed leading from the intersections of the vertical line and the curves to the y-coordinate.
To determine the customers in your database who are likely to leave, you must do the following tasks:
SELECT Id,
IDMMX.DM_getConfidence( Result, 'YES' )
FROM Resultview where IDMMX.DM_getConfidence( Result, 'YES' ) >= 0.23 ;
If YES is the display value of the predicted field value with name 1, you must replace YES with 1 in the Select statement. The Select statement looks like this:
SELECT Id,
IDMMX.DM_getConfidence( Result, '1' )
FROM Resultview where IDMMX.DM_getConfidence( Result, '1' ) >= 0.23 ;The Tree View displays results of tree classification mining runs. It shows the decision tree that is constructed by the Classification mining function embedded in a table as shown in Figure 22. The tree consists of different nodes. Each node of the tree corresponds to a row in the table. The columns in the table display the attributes of the nodes.
The table in the Tree View contains the following columns:
Next to the diagram, the appropriate decision that leads to the assignment of the records into this node is displayed.
The appropriate decision might include typical field predicates, for example, REVENUE_OF_CONTRACT < 912, or DISTRIBUTOR <> CAR_DEALERS. Exceptional field predicates are, for example, LOCATION_SIZE IS NOT MISSING or LOCATION_SIZE IS MISSING.
For example, there might be a column that contains telephone numbers. The model might depend on the following conditions:
In this case, the telephone numbers are not relevant for the scoring of the records.
If there are many different classes of nearly the same size, for example, in case of numerical predictions, the diagrams in the nodes do not visualize the distribution of records, but the class label of this node. This means that the nodes are represented in the color that is associated with the predicted value as shown in the legend.
Each node in the tree is identified by a node ID. The node ID is constructed by extending a node's parent ID with ".x", where x is the position of this node with regard to the other sibling nodes. The root node has the ID 1.
For example, node B might be the second child of node A. Node A has the node ID 1.2. The node ID of node B is 1.2.2. With this kind of node ID construction we can easily figure out the path from the root node to any other node, and the level of a node in the tree.
The legend shows the color that you assigned to each class label and the appropriate values, for example, Yes and No, or Healthy or Ill. If you use continuous numerical values, the legend is represented as color scale.
Trees need not be binary. To be conform with the PMML 1.1 definition trees, they can have any number of branches in each node.
You can change the sequence of the columns that display the attributes of the nodes in the table. For example, you might want to move the Pruned column between the Score column and the Purity column.
The Tree column and the Node ID column contain related basic information. Therefore these two columns are always displayed as first or as second column in the table. You can only change the sequence of these two columns. For example, you might want to display the node IDs in the first column, and the tree in the second column, or vice versa.
To change the sequence of the columns in the table, drag the column header to the left or to the right side and drop it at a different position.
Collapsing nodes means to hide the children of branch nodes from the current view.
You can do one of the following actions to collapse nodes:
If you select this option, all nodes at the bottom of the tree and the nodes with collapsed children are collapsed. These nodes do not have to be at the same level in the tree.
Expanding nodes means to display the children of branch nodes that were previously hidden in the current view.
You can do one of the following actions to display subnodes in the current view:
If you have previously selected the option Expand To Level, the next level of collapsed nodes in the tree is expanded.
If you have not yet selected the option Expand To Level previously, the nodes that have collapsed children are expanded. These nodes do not have to be at the same level in the tree.
A decision tree consists of a root node, several branch nodes, and several leaf nodes.
Pruning means to change the model by deleting all child nodes of a branch node. The pruned node is regarded as a leaf node. Leaf nodes cannot be pruned.
The color of the pruned nodes is a shade brighter than the color of unpruned nodes, and the decision next to the pruned nodes is represented in italics. In contrast to collapsing nodes to hide them from the view, pruning actually changes the model.
You can manually prune the nodes of the tree by selecting the check box in the Pruned column. When the node is pruned, the lower levels of the node are collapsed. If you expand a collapsed node by clicking on the node icon, the collapsed nodes are displayed.
You can specify the prune level. The prune level determines that all nodes with a level smaller than the specified prune level are unpruned, and all nodes with a level equal or greater than the specified prune level are pruned. For example, if you specify a prune level of 3, all nodes with level 1 and 2 are unpruned, and all nodes with level 3 or greater are pruned.
The computed prune level is the original prune state of the tree classification model. This means that some of the branch nodes might be pruned by the Tree Classification mining function, or none of the branch nodes might be pruned at all. Resetting to the computed prune level removes the manual pruning that you might ever have done to the tree classification model.
To prune nodes, you can do one of the following actions:
To unprune nodes, you can choose between the following options:
To set the prune level, select View => Set Prune Level. Click the list button in the Set Prune Level pop-up window and select one of the available prune levels.
You can also set the prune level by selecting a prune level from the list of available prune levels on the tool bar.
You can do one of the following actions to select one or more nodes:
You can also select nodes to be included or excluded from a view by the following criteria:
If you want to select nodes by purity or size, you must specify the field that is supposed to be equal, larger, or smaller in purity or size.
If you want to select nodes by level, you must specify the amount of levels that you want to see, or the amount of levels above or below.
For example, you might want to view nodes that have more than 3 ancestor nodes and to replace the current view. Follow these steps:
The Tree Navigator View shows a mutable tree as shown in Figure 23. This tree contains the node and the appendant subnodes that you selected in the Tree View or in the Tree Node Distribution View.
In the Tree Navigator View, you can browse the detailed information of the branch nodes that you selected in the Tree View or in the Tree Node Distribution View. Whenever you select a different node in the Tree View or in the Tree Node Distribution View, the Tree Navigator View shows the selected node and its neighborhood.
The following nodes belong to the neighborhood of the selected node:
Selecting a node in the Tree View, the Tree Node Distribution View, and the Tree Navigator View are synchronized. This means that a selected node in the Tree Navigation View is also selected in the other views.
Selecting a node in the Tree View or in the Tree Node Distribution View has the following impact on the tree in the Tree Navigator View:
The legend shows the colors that you assigned to the class labels, for example, blue color for the classification Yes, and yellow color for the classification No. If the class labels are continuous numerical values, the legend is represented as color scale.
You can use the Tree View and the Tree Node Distribution View to navigate or to explore trees. If you select a node in one of these views, the following information is displayed in the Selected node details section in the Tree Navigator View:
The decision path is displayed in textual form in the Decision path section. The score of the selected node is also displayed. It indicates the decision, this means, the prediction for the records that belong to the selected node.
The decision path lists properties for records in the selected node. Starting at the root node, a condition is shown for each node on the tree branch that connects the root and the selected node. Each record in the node must fulfill all the conditions on the decision path.
Typically, each condition restricts the value range in a data field.
relationship = Husband
AGE >= 40
For each field type, the decision might also test whether a field value is known or missing.
AGE IS NOT MISSING
NUM_VESSELS IS MISSING
Independant of any field value, a decision can always be true (always fulfilled) or false (never fulfilled). The corresponding conditions are True or False.
In complex situations, simple conditions can be joined to compound formulas with the logical connectors AND, OR, or XOR. For example, compound formulas might look like this:
(relationship = husband) AND (AGE >= 40)
Conditions can also consist of a cascade. Cascades include an ordered list of conditions. The first condition that can be evaluated is used. An evaluation is possible if all the fields that occur in the condition have known values. For example, a cascading decision might look like this:
(NUM_VESSELS = 0) CASCADE ((AGE > 40) AND (ANGINA <> 1)) CASCADE TRUE
Instead of CASCADE, the term SURROGATE can also be used because the alternatives in the list are fall-back conditions. If the term SURROGATE is used, the above example looks like this:
(NUM_VESSELS = 0) SURROGATE ((AGE > 40) AND (ANGINA <> 1)) SURROGATE TRUE
The Tree Node Distribution View shows the tree, the appendant node IDs, and the distribution of field values in the nodes as shown in Figure 24.
The Tree Node Distribution View shows the following information on branch nodes:
You can specify the following chart types for categorical and discrete numeric fields:
You can browse the branch node distributions in the following modes:
If branches are collapsed, the appropriate nodes are removed from the view. If branches are expanded, nodes are added to the view.
You can select several nodes to display them in Table mode.
You can sort the nodes by the following criteria:
By default, the nodes are sorted by size.
You can select several charts to fit them to window size in chart mode.
The legend at the bottom of the page explains the background colors of the rows in the table. The background color of a row represents a particular information of the corresponding class, for example, the size of a class. You can specify the background color to represent also the average values of a specific field, or aggregations of a specific field value of the records in the class.
In the Tree Node Distribution View, you can do the same tasks as in the Tree View. See The Tree View for a list of these tasks and information about how to perform these tasks.
The Field Importance View shows you to what extent each field contributes to build the model. This helps you to better understand the relation between the target field and the active fields in the model.
For example, if you know the extent that each field contributed to build the model, you can, for example, simplify data acquisition. You can drop the fields that did not contribute in a high rate to build the model. This is useful if their acquisition is expensive, or if they consume a lot of storage space.
The Field Importance View includes the following sections:
The Field Importance Chart illustrates the importance of each field in the model.
This helps you to get a quick overview of the importance of each field in the model.
If there are too many fields to display in the Field Importance Chart, a horizontal scroll bar is provided to view the fields outside of the current window.
Figure 25 shows the Field Importance Chart in the Field Importance View.
The chart in Figure 25 shows that the fields NETWORK and GENDER have very little significance to build the model. Therefore you might want to exclude these fields when you apply the model to your data, especially if performance is critical. The field REVENUE_OF_3MONTHS, however, is crucial to the model. You must ensure that the values in this field are accurate and that it does not contain missing values. The model quality depends highly on the data quality of the field REVENUE_OF_3MONTHS.
The Field Importance and Correlation section includes the following tables:
For example, the Field Importance Chart in Figure 26 shows that the fields age and age of car have a high importance to build the model. The field age has a contribution of 23.10% to build the model. The field age of cars has a contribution of 17,30% to build the model. Furthermore, the Field Correlation Table in Figure 26 shows that these fields are highly correlated.
The Field Correlation Table shows the most important correlations between the fields of the model. It lists correlated pairs of input fields and their correlation coefficient.
A correlation coefficient close to 1.0 indicates that the two fields are strongly correlated. This means that if the value of one field is high, the value of the other field also is likely to be high.
A correlation coefficient close to 0 indicates that the two fields are not correlated. This means that the information about one field value cannot be derived from the information of the other field value.
A correlation coefficient close to -1 indicates that the two fields are negatively correlated. This means that if the value of one field is high, the value of the other field is likely to be low, or vice versa.
If fields are correlated, their contribution to build a model is overlapping. This means that you can exclude one of these fields without reducing the model quality because the information of the excluded field is redundant. It can be derived from the correlated field. For example, you might want to exclude the field age of car, if the acquisition of the values in this field is difficult.
If the total number of fields is small, the Field Correlation Table contains all pairs of input fields. If the number of pairs exceeds approximately 50 to 100, only the most important correlated pairs of input fields and their correlation coefficient are shown in the table.
You can copy the values of these tables to the clipboard, or you can export them to different applications for further processing.
By default, the values in the Field Importance Table are sorted by the field importance values in decreasing order. The values in the Field Correlation Table are sorted by the correlation coefficient in decreasing order. You can toggle between decreasing order and ascending order of any column in these tables by clicking the header of any column.
Figure 26 shows an example of the Field Importance Table and the Field Correlation Table.
Some of the properties are the same for all visualizers, for example, general properties or print options. Some properties are specific to a particular visualizer, for example, the rule properties are specific to the Associations Visualizer. Therefore all properties are described in a separate chapter. For more information, see Properties.
For more information about the general concepts of properties, see Property concepts.
For more information about the classification properties, see the appropriate chapter.
The following properties are specific to the Classification Visualizer and the Regression Visualizer:
This chapter describes the different views of the Regression Visualizer and the tasks that you can do in the various views.
The Regression Visualizer shows models that are generated by the Regression mining function. It provides the following views to represent such models:
The Regression Visualizer provides the following views to represent test results. You can create test results by applying a model to test data.
With the Regression Visualizer, you can show models that are created by the following sources:
The tasks that are specific to the views of the Regression Visualizer are described in the following sections.
In all views of the Regression Visualizer, you can perform the common tasks of the visualizer framework. For more information, see Performing common tasks.
The Quality View shows the overall model quality including detailed information in terms of accuracy, reliability, and the ability to rank the data.
The Quality View contains the following sections:
The required quality of a prediction model depends on the application for which you want to use it. Being significantly better than predicting the overall mean value might be a good result. This applies, for example, if you want to predict the revenue for the next years.
You might think that the prediction quality always should be as good as possible. In general, this is true. However, sometimes the result might be too good. The reason for a result that is too good can be that there are causal dependencies between the target field and some input fields.
For example, you might want to predict the amount of claims for a new insurance customer. A high-quality model that is based on existing customer data might reveal that customers with a large number of accidents also have a large amount of claims. However, this model is not useful because the number of claims is not known at the time when the prediction must be made.
The Overall Model Quality section shows the name of the data set that is used to build the model. It also shows whether the data set is used for the training or for the testing of the data.
The scale in the Overall Model Quality section shows the overall quality of the model. The overall model quality is based on quality details in terms of accuracy, reliability, and the ability to sort the data.
The overall model quality compares the predictive performance of a model to a trivial model that always returns the mean of the target field as prediction.
The Quality Details section shows the name of the target field.
The Quality Details section contains scales to measure the following quality details:
The accuracy quality measure addresses the following questions:
The ranking quality is the relation between the area between the model curve and the random curve and the area between the optimum curve and the random curve in the Gains Chart. You can use this information, for example, to select the top N customers in a campaign if the exact values are not important.
The ranking quality is the relation between the area between the model curve and the random curve and the area between the optimum curve and the random curve.
The reliability quality measure indicates the consistency between a model's assessment of its own predictive accuracy and the actual prediction errors that are observed on a validation data set or a test data set. The predicted standard deviations that are produced by a model define that model's assessment of the magnitude of the prediction errors that are expected. If the observed prediction errors are significantly larger than the predicted standard deviations, the reliability of the model should be questioned.
Figure 27 shows the Quality View with the Overall Model Quality section and the Quality Details section expanded.
The Gains/Lift View shows the ranking quality of classification models or regression models. With the Gains/Lift View, you can compare the quality of different classification models or regression models. The ranking quality indicates the capability of a model to correctly order records based on a predicted property. It helps you to measure the performance and the effectiveness of the models.
With the information that is provided with the Gains/Lift View, you can answer the following questions:
The closer the model is to the optimum curve, the better is the ranking quality of the model. If the model curve is closer to the random curve, you might want to use a different model with a better ranking quality.
If you collect data over time, and if you compare the same model, once based on the original data and once based on later test data, you can see how the ranking quality of the model develops over time. This is useful, in particular, to determine the point in time when the model has deteriorated too much and needs replacement by a more recent model.
All models that you want to compare must predict the same target field.
The models must not be created with the same active fields.
If the test data is based on different geographic data, you can see when the model is of good quality in one region, or of bad quality in another region.
You can also compare the applicability of the model to different subsets of the data, for example, data from different locations. You can then decide to build a new model based on the latest data.
The Gains/Lift View contains the following sections:
Depending on the chart that you want to display, the Chart section contains the following charts:
It also contains the Curve Characteristics table.
Charts
In the Chart section
of the Gains/Lift View, you can see the quality of a model compared to using
no model at all and to the quality of the optimal model.
If you do not use a model, the data records are selected at random. At random selected data records are indicated by the random curve.
The optimum quality of a model is indicated by the optimum curve.
The optimum curve might not be available in a model.
The closer the model curve is to the optimum curve, the better is the ranking quality of the model.
Comparing different graphs in the same diagram is a powerful way to see the quality of different models at first glance. This applies especially when graphs are computed based on different data sets, one data set to build the model, and the other data set to test the model.
You can switch to a different chart by clicking, for example, View => Gains on the menu bar of the visualizer.
Curve Characteristics
The Curve Characteristics table below the chart includes the
following information:
The value for the ranking quality is a real number. You can compare the ranking behaviour of different models by this number.
If a model does not contain the optimum curve, ranking quality data is not available.
Quality values of validation data are a quite fair guide, because they influence the model creation only marginally.
From test data, you can best determine the model quality, because this data is completely hidden from the algorithm at training time.
Quality is a statistical property. Depending on the individual cases, it can greatly vary. Furthermore it is important that you ensure that test data is disjoint from training data or verification data, and that the distribution of verification data or test data is similar to the distribution of the intended application data. Quality values are only reliable on average and if the model is applied to input values with a similar distribution.
The different charts are described in the following sections. You can do various tasks on each of these charts. These tasks are described in Modifying the Gains/Lift View.
Figure 28 shows the Gains Chart and the Curve Characteristics table in the Chart section of the Gains/Lift View.
By default, the x-coordinate of the chart shows the cumulated number of sorted data records of the current model. The data records are sorted by their predicted values of the target field.
By default, the y-coordinate shows the sum of target field values of records for the appropriate amount of records on the x-coordinate.
For both coordinates, you can specify to display absolute values or the percentages of the total amount.
You can display absolute values by doing one of the following actions:
If you select the % of maximum radio button, the 100% value is the maximum of the y-coordinates. Depending on the curve, the 100% values can be different.
The model that is loaded in the Gains Chart might not have used validation data so that the ranking quality is based on training data only. A Gains Chart based on training data is not as significant as a Gains Chart that is based on validation data because the model might be overtrained.
The Lift Chart measures the effectiveness of models by calculating the ratio between the result obtained with a model and the result obtained without a model. The result obtained without a model is based on randomly selected records. In the chart, it is represented by the random curve.
The Lift Chart shows you the lift factor of how many times it is better to use a model in contrast to not using a model. Applied to the example of the mailing campaign, the Lift Chart shows you how much more likely you are receiving responses from a mailing campaign when you are using a model in contrast to using a random sample of customers.
The Lift Chart also shows the lift factor between different points on the x coordinate. For example, the Lift Chart shows a factor f if you take into account about n% of the data.
In the Lift Chart, the random curve is always represented as a horizontal line. At that point in the chart where the model curve declines below the random curve, the lift factor is smaller than 1. This means that the records selected by the model contain fewer target values than a random sample of equal size.
Figure 29 shows the Lift Chart and the Curve Characteristics table in the Chart section of the Gains/Lift View.
The x-coordinate of the Lift Chart shows the percentage of the cumulated number of sorted data records of the current model. The data records are sorted in descending order by the predicted value that the model assigns to a record.
You can specify to display absolute values or percentages of the total amount of records.
The y-coordinate of the Lift Chart shows the ratio between the results that are obtained with a model and without a model.
You can specify to display the average amount of the target field value or the lift factor.
If you specified to display the lift factor by selecting the Lift Factor radio button in the Properties notebook, the y values from the absolute scaling are divided by the random value.
The Cumulative Lift Chart shows you the lift factor of how many times it is better to use a model in contrast to not using a model. The Cumulative Lift Chart in Figure 30 shows that using a model is 1.5 times better in contrast to not using a model.
The x-coordinate of the Cumulative Lift Chart shows the cumulated number of sorted data records of the current model. The data records are sorted by the predicted values for the target field.
The y-coordinate of the Cumulated Lift chart shows the cumulative lift factor or the cumulative average amount of the target field value.
The Chart Data section of the Gains/Lift View contains the following tables:
Depending on the chart that you selected, this table shows the coordinate values for the different curves in the Gains Chart, the Lift Chart, or the Cumulative Lift Chart.
The Boundary Values table shows the minimum predicted values for each bin containing the data records between two adjacent lift chart points.
With the boundary value, you can identify, for example, a given number of customers who are considered by the model to most likely provide a particular business volume. For more information, see Example.
Figure 31 shows the Chart Data section of the Gains/Lift View.
The tables in the Chart Data section show the values that are visualized in the chart in the Chart section. You can compare the values of the current model to the values of models that you have added to the chart by clicking Add.... You can also compare the values of these models to the optimum curve and the random curve.
You can copy the values in the tables to the clipboard, or you can export them to different applications for further processing.
You can do the following modifications in the Gains/Lift View:
You can specify how the chart looks like on the Gains/Lift page of the Properties notebook.
To display the Gains/Lift page of the Properties notebook, you can do one of the following actions:
For more information, see Properties specific to classification and regression.
The Regression Visualizer shows a particular model, however, in the Gains/Lift View, you can load the curves of one or more different models.
If you selected the % of maximum option for the y-axis on the Gains/Lift page of the Properties notebook, 100% are related to the appropriate data. 100% refers to the sum of all positive target field values. If all values are negative, the sum of all values is -100%.
You might want to use a particular naming convention for your models in order to recognize which model is appropriate to be compared with the current model. For example, you can only add the curves of models that have the following characteristics:
For example, you might have a regression model with the target field Risk. The values of this target field are 1 and 0. 1 means high risk, 0 means low risk. You might want to add a classification model with the target field Answer. The values of this target field are Yes and No. Although the names of the record property are different, Risk versus Answer, the record property is the same.
If you have added a model to the chart and you want to add more models, the following characteristics are required:
If you add a model that does not meet these requirements, an error message is issued before the Add Curve window is displayed again.
When you have added a curve of a different model to the chart, it is also added to the Curve Characteristics table below the chart.
When you remove a curve from the chart, it is also removed from the Curve Characteristics table below the chart.
You can only remove the curves that you have previously added to the chart. You cannot remove the curves of the current model.
If you have hidden a curve, it is not displayed in the chart, however, it is still included in the Curve Characteristics table below the chart.
You can also hide the random curve and the optimum curve of models that you have previously added to the chart.
To hide the random curve or the optimum curve of a model, deselect the appropriate check box in the Visible column of the Curve Characteristics table. You can also select a curve in the Curve Characteristics table and click Selected => Hide.
You can add vertical and horizontal lines to the chart. These lines help you to identify where the corresponding point is located on the curve in the chart when you are looking at a particular data row in one of the chart data tables.
The horizontal and vertical lines are correlated to the values of a selected row in a chart data table. If you select a row in a chart data table, a vertical line related to the selected record value and horizontal lines related to all curves are displayed in the chart.
If you select several rows in the table, the lines in the chart are correlated to the values of the first row that you selected.
If you added curves of other models to the chart and selected a row in the table, a horizontal line for each model is displayed from the selected value on the x-coordinate.
If you select a row in one of the tables of the Chart Data section, the correlated row in the other table is also selected.
To add vertical and horizontal lines to the chart, follow these steps:
You can also right-click anywhere in the Chart section and select a different chart from the pop-up menu.
When the chart is zoomed in, the Zoom icon and arrows are additionally displayed. Clicking the Zoom icon resets the chart to its default size. Clicking one of the arrows moves the chart in the appropriate direction.
Assuming that you want to start a mailing campaign to maximize your business volume. You want to address 30% of your customers.
To predict the business volume when mailing 30% of your customers, you can start a Regression mining run on your customer data. Every record in the data table represents one customer. You might want to specify BUSINESS VOLUME as the target field.
You can also start a Regression mining run if you want to know how many of your customers to address if you want to reach a business volume of, for example, 50 000$.
Looking at the Gains Chart shown in Figure 28, you can see that the curve of the model is above the random curve. This means that the quality of the model is basically good. The higher the model curve starts at the beginning, the better is the model for predicting the business volume because you want to address only 30% of your customers.
You can change the regression settings to create another model from the same data. Again, you specify BUSINESS VOLUME as target field. You can add this new model to the previous model in the Gains Chart as shown in Figure 32.
The Gains Chart in Figure 32 shows that the curve of the new model is higher than the curve from the previous model in the lower percentages of the population. Because you want to address only 30% of your customers, the new model is better suited for predicting the business volume.
To determine the business volume of a mailing campaign to 30% of your new customers, you must look up the percentage of the total amount of BUSINESS VOLUME on the y-coordinate that corresponds to 30% population on the x-coordinate. In Figure 32, this value is just below 36 000.
You can easily determine the business volume by displaying vertical and horizontal lines in the Gains Chart. Follow these steps:
A vertical line is now displayed in the Gains Chart leading from a particular point on the x-coordinate, for example, from 30%, to the curves in the graph, and horizontal lines are displayed leading from the intersections of the vertical line and the curves to the y-coordinate.
To determine the 30% of customers in your database who are likely to contribute to the highest business volume, follow these steps:
SELECT CUST_ID, CUST_NAME, CUST_ADDRESS,
IDMMX.DM_getPredVal( BUSINESS_VOLUME )
FROM RESULT_TABLE
WHERE IDMMX.DM_getPredVal(BUSINESS_VOLUME) >= 35 707,00 The Field Importance View shows you to what extent each field contributes to build the model. This helps you to better understand the relation between the target field and the active fields in the model.
For example, if you know the extent that each field contributed to build the model, you can, for example, simplify data acquisition. You can drop the fields that did not contribute in a high rate to build the model. This is useful if their acquisition is expensive, or if they consume a lot of storage space.
The Field Importance View includes the following sections:
The Field Importance Chart illustrates the importance of each field in the model.
This helps you to get a quick overview of the importance of each field in the model.
If there are too many fields to display in the Field Importance Chart, a horizontal scroll bar is provided to view the fields outside of the current window.
Figure 34 shows the Field Importance Chart in the Field Importance View.
The chart in Figure 34 shows that the fields number and category have very little significance to build the model. Therefore you might want to exclude these fields when you apply the model to your data, especially if performance is critical. The field age, however, is crucial to the model. You must ensure that the values in this field are accurate and that it does not contain missing values. The model quality depends highly on the data quality of the field age.
The Field Importance and Correlation section includes the following tables:
For example, the Field Importance Chart in Figure 35 shows that the fields age and age of car have a high importance to build the model. The field age has a contribution of 23.10% to build the model. The field age of cars has a contribution of 17,30% to build the model. Furthermore, the Field Correlation Table in Figure 35 shows that these fields are highly correlated.
The Field Correlation Table shows the most important correlations between the fields of the model. It lists correlated pairs of input fields and their correlation coefficient.
A correlation coefficient close to 1.0 indicates that the two fields are strongly correlated. This means that if the value of one field is high, the value of the other field also is likely to be high.
A correlation coefficient close to 0 indicates that the two fields are not correlated. This means that the information about one field value cannot be derived from the information of the other field value.
A correlation coefficient close to -1 indicates that the two fields are negatively correlated. This means that if the value of one field is high, the value of the other field is likely to be low, or vice versa.
If fields are correlated, their contribution to build a model is overlapping. This means that you can exclude one of these fields without reducing the model quality because the information of the excluded field is redundant. It can be derived from the correlated field. For example, you might want to exclude the field age of car, if the acquisition of the values in this field is difficult.
If the total number of fields is small, the Field Correlation Table contains all pairs of input fields. If the number of pairs exceeds approximately 50 to 100, only the most important correlated pairs of input fields and their correlation coefficient are shown in the table.
You can copy the values of these tables to the clipboard, or you can export them to different applications for further processing.
By default, the values in the Field Importance Table are sorted by the field importance values in decreasing order. The values in the Field Correlation Table are sorted by the correlation coefficient in decreasing order. You can toggle between decreasing order and ascending order of any column in these tables by clicking the header of any column.
Figure 35 shows an example of the Field Importance Table and the Field Correlation Table.
Some of the properties are the same for all visualizers, for example, general properties or print options. Some properties are specific to a particular visualizer, for example, the rule properties are specific to the Associations Visualizer. Therefore all properties are described in a separate chapter. For more information, see Properties.
For more information about the general concepts of properties, see Property concepts.
For more information about the regression properties, see the appropriate chapter.
The following properties are specific to the Classification Visualizer and the Regression Visualizer:
This chapter gives an overview of the properties of the visualizers. It also describes the properties that are common to all visualizers and specific to a particular visualizer.
For information about general concepts of the properties, see Property concepts.
Every visualizer has properties. Some of these properties are the same. For example, all visualizers have the same print options. However, the Associations Visualizer has unique properties. The following table gives an overview of the properties that are common to all visualizers or specific to a particular visualizer.
| Associations Visualizer | Classification Visualizer | Clustering Visualizer | Regression Visualizer | |
|---|---|---|---|---|
| General | X | X | X | X |
| Rules | X | - | - | - |
| Rules Columns | X | - | - | - |
| Rules Sort | X | - | - | - |
| Item Sets | X | - | - | - |
| Item Sets Columns | X | - | - | - |
| Item Sets Sort | X | - | - | - |
| Show Rules | X | - | - | - |
| X | X | X | X | |
| Charts | X | X | X | X |
| Color Coding | X | X | X | X |
| Sorting | - | - | X | - |
| Gains/Lift | - | X | - | X |
The following chapters describe the individual properties.
The following properties are common to all visualizers:
On this page of the Properties notebook, you can specify the locale and the window style that you want to use. You can also select whether to show tool tips when the cursor is hovering over the tool bar icons.
Locales provide the decimal system of different countries. The Intelligent Miner Visualizers support various locales. If you select a locale of a particular country, numbers are displayed in the appropriate format of this country. For example:
The Intelligent Miner Visualizers are available in the following languages:
If you select a locale of one of these countries, the graphical user interface (GUI) appears in the appropriate language. If you select a locale of a country that is not provided in its native language, the interface appears in English.
To use the decimal system of a particular country, for example, Germany, select German (Germany) from the Local drop-down list and click OK or Apply.
You can select different window styles, for example, Metal, CDE/Motif, or Windows. However, Windows is only available on Windows operating systems.
You can also select large fonts, black font on white background, or white font on black background.
To select your preferred window style, for example, Windows, select Windows from the Window style drop-down list and click OK or Apply.
By default, tool tips are provided for the icons on the tool bar. By placing the cursor over an icon, the name of the functionality of the icon is displayed, for example, Save, or Print.
If you do not want to use the tool tips, deselect the Enable tool tips check box and click OK or Apply.
On the Print Options page of the Properties notebook, you can specify how your printouts should look like.
By default, all print options are selected.
In the Page foot group box, you can specify one or all of the following print options by selecting or deselecting the appropriate check box:
In the Color coding group box, you can specify whether you want a colored printout. You can also specify whether you want to print the color legend.
You can select or deselect the following print options:
If you select the Print color coding check box, you can specify whether you want to print the color legend, and whether the color legend is printed on a separate page.
If you deselect the Print color coding check box, the options Print color legend and Print color legend on separate page are not available.
If you deselect the Print Color Coding check box, only the background color is set to black and white in the preview and on the printouts. The histograms and the pie-charts are still represented in the default color or the color you specified.
In the Associations Visualizer, the parameters for the model properties and the visualizer properties are the same.
The Associations Visualizer has the following properties:
On this page of the properties notebook, you can specify the background color of the rules, the width of the arrows representing the rules, and the textual representation of the rules.
You can assign colors to indicate the highest and the lowest value for a particular field. The color you selected is used for the background of the table rows in the Rules View and for the arrows in the Graph View. It is also shown in the legend at the bottom of the views.
For example, if you selected the field Support from the Field for rule color list, and you select light blue for the minimum value and dark blue for the maximum value, the background of the rules is colored accordingly by their support value in the Rules View. In the Graph View, the arrows are colored accordingly.
An expected value is calculated for the field Support. This value is represented in white. All values that are above this expected value are colored between dark blue and white. All values that are below this expected value are colored between white and light blue.
To specify the background color of rules by their field values, follow these steps:
The rule width is determined by the minimum value and the maximum value of the field that you select for the rule width. Additionally, you can modify the minimum and the maximum width for the arrows that are used in the Graph View.
To specify the width of a rule, follow these steps:
You can specify the text of a rule and add keywords that are replaced by the value of the appropriate record.
The keywords must start and end with the character @.
You might want to enter the following text:
With a confidence of @confidence@, a customer who buys @rule body@ also buys @rule head@
This specification resolves in the following text:
With a confidence of 78.3 %, a customer who buys beer also buys chips.
To specify this text string for the textual representation of the rules, follow these steps:
On this page of the properties notebook, you can specify the fields of the records that you want to include as columns in the Rules View. You can also determine the sequence of the columns in the Rules View.
The Available Fields list contains all fields of the model. From this list, you can select the fields that you want to display as columns in the Rules View.
The sequence of the fields in the Selected Fields list determines the sequence of the columns in the Rule View. The field at the top of the list is displayed at the left side of the table in the Rules View. The field at the bottom of the list is displayed at the right side of the table in the Rules View.
To change the sequence of the columns in Rules View, you must move the fields in the Selected Fields list up or down.
If you have selected the Enable tooltips check box on the General page of the Properties notebook, you can browse the function of each button below the list by moving the cursor over the buttons.
On this page of the Properties notebook, you can specify the columns that you want to sort in ascending or descending order in the Rules View. You can also specify the sequence in which the columns are sorted.
The Rules Sort page and the Rules Column page are related. The fields that are contained in the Column Fields list on the Rules Sort page are the fields that you moved from the Available fields list to the Selected fields list on the Rules Column page. These fields are included as columns in the Rules View.
To specify the columns that you want to sort in ascending or descending order, you must move one or more fields from the Columns Fields list to the Fields Used to Sort list on the Rules Sort page.
When you move a field from the Columns Fields list to the Fields Used to Sort list, the default sort order is set to ascending. The sort order is indicated by the arrow pointing to the bottom or to the top at the right side of the Fields used to Sort list.
The columns in the Rules View are sorted sequentially column by column. The sequence of the fields in the Fields Used to Sort list represents the sequence in which the columns are sorted. The field at the top in the Fields used to Sort list is sorted first.
For example, you might want to specify that the records are sorted first by their ascending support value, and second by their descending rules. The column Confidence in the Rules View is not considered in the sorting. The sequence of the fields in the Fields Used to Sort list must look as shown in Figure 36.
The records of the model are sorted first by their ascending support value. There might be, for example, 5 records that have the same support value of 40%. These records are then sorted by their rules in descending order. See Figure 3 for the Rules View sorted by ascending support values and descending rules.
On this page of the properties notebook, you can specify colors for the item sets. These colors are used in the background of the table in the Item Sets View. In the Graph View, the item sets are represented as nodes in the specified color.
You can also specify to assign item set labels to the item sets in the Graph View. These item set labels contain additional information about the appropriate item set, for example, the support value, or the number of rules.
You can specify colors for the item sets to indicate the highest and the lowest value for a particular field. For example, if you specify red for the highest value and yellow for the lowest value of the Support field, the background of the table in the Item Sets View and the nodes representing item sets in the Graph View are colored accordingly.
To specify colors for item sets based on the values of a particular field, follow these steps:
If you do not want to use colors, deselect the Enable item set coloring check box.
Item set labels display the values of their fields in the Graph View. They are displayed next to each node that represents an item set. You can attach one or more labels to an item set. The sequence of the fields in the Fields for Item Set Label list determines the sequence of the values displayed in the Graph View.
For example, you might want to display the values of the following fields next to an item set:
If you chose these fields, the following values might be displayed next to a node in the Graph View:
In the Graph View in Figure 7 , the values for the field Item Set are displayed.
To specify item set labels in the Graph View, follow these steps:
If you have selected the Enable tooltips check box on the General page of the Properties notebook, you can browse the function of each button below the list by moving the cursor over the buttons.
On this page of the properties notebook, you can specify the fields that you want to include as columns in the Item Sets View.
The Available Fields list includes all fields of the model. From this list, you can select fields to be included as columns in the Item Sets View.
To specify the columns for the Item Sets View, move one or more fields from the Available Fields list to the Selected Fields list.
The sequence of the fields in the Selected Fields list determines the sequence of the columns in the table of the Item Sets View. The first field in the Selected Fields list is displayed at the left side of the table. The last field is displayed at the right side of the table.
You can change the sequence of the fields in the Selected Fields list.
If you have selected the Enable tooltips option on the General page of the Properties notebook, you can browse the function of each button below the list by moving the cursor over the buttons.
On this page of the Properties notebook, you can specify the columns that you want to sort in ascending or descending order in the Item Sets View. You can also specify the sequence in which the columns are sorted.
The Item Set Sort page and the Item Set Column page are related. The fields that are contained in the Column Fields list on the Item Set Sort page are the fields that you moved from the Available Fields list to the Selected Fields list on the Item Set Column page. These fields are included as columns in the Item Set View.
To specify the columns that you want to sort in ascending or descending order, you must move one or more fields from the Columns Fields list to the Fields Used to Sort list on the Item Set Sort page. When you move a field from the Columns Fields list to the Fields Used to Sort list, the default sort order is set to ascending.
The sort order is indicated by the arrow pointing to the bottom or to the top at the right side of the Fields Used to Sort list. The columns in the Item Set View are sorted sequentially column by column. The sequence of the fields in the Fields Used to Sort list represents the sequence in which the columns are sorted. The field at the top in the Fields Used to Sort list is sorted first.
For example, you might want to specify that the records are sorted first by their ascending support value, and second by their descending item sets. The column Number of Rules in the Item Sets View is not considered in the sorting. The sequence of the fields in the Fields Used to Sort list must look like this:
The records of the model are sorted first by their ascending support value. There might be, for example, 5 records that have the same support value of 40%. These records are then sorted by their rules in descending order. Figure 3 shows a table that is sorted like this.
To change the sort order, click on the Sort icon of a field in the Fields Used to Sort list. The Sort icon changes in the opposite direction.
If you have selected the Enable tooltips option on the General page of the Properties notebook, you can browse the function of each button below the list by moving the cursor over the buttons.
On this page of the Properties notebook, you can specify the number of rules that you want to display in the Associations Visualizer.
If you do not want to display all rules in the Graph View, you can specify to display only a subset of the rules. This helps you to get a quick overview of the model. If you specify a subset of rules, for example, 15, the first 15 rules of the model are displayed.
The subset of the rules is influenced by the following parameters that you specified on the Rules Sort page:
You can do the following tasks on the Show Rules page of the Properties notebook:
You can also use the up and down arrows to specify the number of rules.
The following properties are specific to the Classification Visualizer, the Clustering Visualizer, and the Regression Visualizer
Typically, the properties of the model properties and the visualizer properties are the same. However, in the Classification Visualizer and in the Clustering Visualizer, the model properties additionally provide the following options compared to the visualizer properties:
On this page of the Properties notebook, you can specify what the charts in your results should look like.
In general, the parameters to define the representation of a chart are the same for visualizer properties and for model properties.
When you are browsing the Graphics View of the Clustering Visualizer, there might be too many slices in the pie-charts or too many buckets in the histogram. This means that the graphs are too complex to be read easily.
You can reduce the number of buckets that are displayed in a histogram, or the number of slices that are displayed in a pie-chart on the Charts page of the Properties notebook.
If you reduce the number of visible buckets of a discrete numeric field, the resolution is decreased by condensing the same number of buckets into one bucket. For example, 3 buckets might be condensed into one bucket. There might remain 1 or two buckets, because the amount of intervals cannot be divided into equal buckets. These are remaining buckets. Remaining buckets are no outliers.
If you reduce the number of visible buckets of a categorical field, only the largest categories are displayed in a pie-chart or a histogram. The other categories are condensed in one category called Others.
To specify the number of slices or buckets, type a number, for example, 5, in the entry field, or modify the default value by clicking on the Up arrow or the Down arrow of the Number of slices/buckets entry field.
On the Charts Properties window, you can specify how the charts in your results should look like.
To change the chart properties, click Change... and specify the parameters on the Charts Properties window. For more information, see Charts Properties.
You can select whether you want to show the following values in the view:
You can also specify whether you want to display only the calculated distribution for the cluster, or in comparison the entire population.
Outliers are values that are considered beyond a particular range by the mining function. For each field of a model, you can define this range. For example, you might have defined a range of 39.100 to 40.900. Values that are below this range and above this range are considered as outliers. Outliers are indicated by a different color of the histogram as shown in Figure 37.
To show the following parameters in the results, select the appropriate check boxes in the Show group box:
In the Chart types group box of the Visualizer properties notebook, you can specify a chart type generically for categorical and for discrete numeric fields.
In the Chart types group box of the Model Properties notebook, you can additionally override this generic selection by assigning a chart type to a particular field.
For example, generically, you might want to display categorical fields as pie-charts. However, particularly, you might want to display the categorical field Marital Status as table.
To override the generic selection for categorical fields, follow these steps on the Charts page of the Model Properties notebook:
You can override the generic specification of fields only in the Model Properties notebook.
Figure 39 shows that the categorical field Marital Status is represented as table, and the other categorical fields are represented as pie-charts.
In the pie-charts, the inner circle shows the distribution of the field values for all records in the cluster. The outer circle indicates the distribution of the field values in the overall population.
In the histograms, the foreground bars show the distribution of the field for all records in the cluster. The background bars show the distribution of the field in the overall population.
On the Charts Properties window, you can specify how the charts in your results should look like.
Depending on your specifications in the Options group box, the representation of the chart is modified in the Chart preview group box.
In the Bucket Colors group box, you can specify different colors for the buckets in histograms, or for the slices in the pie-charts.
In the Options group box of the Charts Properties window, you can specify to display a modern representation of the charts or the representation used in the Intelligent Miner for Data Version 6.
To select a modern representation of the charts or the representation that was used in the Intelligent Miner for Data Version 6, click the Appearance list button and select the representation that you want to use.
You can specify to display a standard or a scientific labeling of the intervals.
In the scientific labeling, a parenthesis next to a value means that this value is excluded (open). A bracket next to a value means that this value is included (closed). Figure 40 shows the scientific interval label type in the Chart preview group box of the Charts Properties window.
To select the standard or the scientific type of interval labels, click the Interval label type list button and select the type that you want to use.
You can specify whether to display a coordinate system in the chart.
To display the coordinate system on the chart, select the appropriate radio button in the Options group box.
You can specify whether to display horizontal lines that help you to read the histogram.
To display horizontal lines on the chart, select the appropriate radio button in the Options group box.
You can specify different colors for the different buckets.
To specify a color for one of the following buckets, double-click the appendant field of the bucket in the Color column and select the color that you want to use for this type of bucket:
These records are specially treated by the mining function when creating a model.
On this page of the Model Properties notebook, you can specify whether you want to use colors to highlight particular properties of the clusters. You can also specify colors or patterns for categories.
You can use colors to highlight particular properties of the clusters. Using colors is the default setting.
If you deselect this option, the clusters are displayed on white background.
If you use colors, you can color the clusters by the following parameters:
If you are using a Demographic Clustering model and select the Algorithm-specific information check box on the General page of the Visualizer properties notebook, you can also color the clusters by their homogeneity values.
If you want to color the clusters by aggregation or average values, you must also specify the field that contains the values that you want to aggregate or calculate the average of.
White color represents the expected value that is calculated from the existing records. The expected value represents the overall average. The values are mapped to colors in the color scale according to the following rules:
To color clusters by their field values, follow these steps:
Note that the option Homogeneity is only included in this list if you have selected the Algorithm-specific information check box on the General page of the Visualizer Properties notebook.
You can use colors or patterns to differentiate between the categories of the model. If you select patterns, the categories are represented in different patterns, for example, lines, grids, or dots.
By default, the Enable category coloring check box is selected. If you want to use patterns to differentiate between the different categories, deselect the Enable category coloring check box.
To change the color or the pattern of a category, double-click the appendant field of the category in the Color or the Pattern column and select a different color or pattern from the list.
The following properties are specific to the Classification Visualizer and the Regression Visualizer.
On the Gains/Lift page of the Properties notebook, you can specify how the Gains Chart or the Lift Chart looks like. Figure 42 shows the Gains/Lift page of the Properties notebook.
You can do the following tasks on the Gain/Lift page of the Properties notebook:
Depending on the selected chart type, the appropriate values are displayed in the Chart Data table.
For classification models, the default chart type is the Gains Chart. For regression models, the default chart type is the Lift Chart.
On the x-axis of every chart, you can display absolute values or the percentage of the number of records.
On the y-axis of the Gains Chart of a classification model, you can display the number of records with the specified target value or the corresponding percentage.
On the y-axis of the Gains Chart of a regression model, you can display the sum of target values of records or the corresponding percentage.
On the y-axis of the Lift Chart of a classification model, you can display the number of positive cases or the percentage of the number of positive cases.
On the y-axis of the Lift Chart of a regression model, you can display the average amount of the target field value or the lift factor.
Markers help you to differentiate between the different curves.
With the Clustering Visualizer, you can specify to show algorithm-specific information or to show the clusters according to the PMML standard.
The Clustering Visualizer also provides additional properties to sort clusters by different criteria.
On the General page of the Properties notebook, the Clustering Visualizer provides the following options additional to the options that are common to all visualizers:
Use this option if backward compatibility to IM Visualization Version 8.1 is not important.
The options that are common to all visualizers are described in General.
This page is only available in the Properties Notebook of the Clustering Visualizer.
On this page of the Properties notebook, you can sort clusters and fields by different criteria.
You can sort clusters by the following criteria:
For example, you might want to use the field Number of Claims for sorting. The clusters are sorted in ascending or descending order by the number of claims in each cluster.
For example, you might want to sort the clusters by their average age values. Cluster 1 contains 20 customers. The age of the 20 customers is added up and divided by 20. The average value of the field Age is calculated like this for all clusters. The clusters are sorted in ascending or descending order by their average values of the field Age.
If you select this option, the clusters are sorted by the homogeneity of the clusters.
Some of the clusters might contain values that lie relatively far apart though they are classified in the same cluster. Other clusters might contain values that lie close together. The closer together these values are, the higher is the homogeneity of this cluster.
To sort the clusters, follow these steps:
If you want to sort clusters by their average or aggregation values, you must also select the field that you want to use for sorting.
You can sort fields by the following criteria:
To sort the fields, follow these steps:
Before you can work with Oracle databases, check that the Oracle JDBC driver is specified in the system CLASSPATH.
If you want to work with a database, you can use the default settings of IM Modeling, or you can create database profiles.
Database profiles contain the metadata that is required to read models from a database table or to save models to a database table. The metadata contains the following parameters:
Model description, Model type, and Model properties are optional fields.
For each database table that you want to access, you must create a database profile. The database profile is created once. It is automatically saved locally on your computer.
When you are opening or saving a model, you can select a database profile from the list of database profiles on the Database page of the Open Model window or the Save Model window, or you can create a new database profile.
To create a database profile, follow these steps:
You can also click File => Save As... to display the Save Model window.
If you want to use a different JDBC driver, overwrite the entry with the name of the JDBC driver of the database that you want to use, or select another JDBC driver from the drop-down list. For example, if you want to use the JDBC type 2 driver, you must type com.ibm.db2.jdb.app.DB2Driver in the JDBC driver entry field.
For more information, refer to the appropriate documentation or ask your system administrator.
jdbc:db2://localhost:50 000/<dbname>where:
If you want to use the JDBC type 2 driver, you must specify jdbc:db2:MODELS in the Database URL entry field, where MODELS denotes the name of the database on the host.
For more information, refer to the DB2 documentation or ask your system administrator.
After you have retrieved the database information, the table schema and the table names that are available on the selected database are included in the appropriate drop-down lists in the Database Properties group box.
The following drop-down lists in the Column Names group box also contain the column names and the appropriate types that are available on the selected database:
If you select a CLOB column as model data column, you can save models only in pure PMML format without compression. If you select a BLOB column, you can use all of the available formats.
The column names that are included in brackets are optional fields.
In the tables that are used by IM Scoring or IM Modeling, the model name is used as primary key. If you use such tables, select the same column for the primary key and the model name.
The new database profile is included in the list of database profiles in the Database Profiles group box on the Database page of the Open Model Window.
You can open data mining models and their properties in your local file system or in different databases.
For more information about opening models in your local file system, see Opening models.
To open a model in a database, follow these steps:
You can also click File => Open In New Window....
If you want to increase the size of the Open a New Model window, drag one of the corners of this window to the desired position on the screen.
For more information, see Creating database profiles.
If you want to use a database profile, you can create a new profile by clicking New, or you can select one of the existing profiles from the Profile name drop-down list.
You can connect to databases on your computer or to databases on remote servers.
If the database is located on your computer, the host name is localhost.
If the database is located on your computer, the default port number is 50 000.
Figure 44 shows the Database page of the Open a New Model window with the models that are stored in the database IMEM. You can see that this database is located on your system, because localhost is specified for the host name and 50 000 is specified as port number.
If the Transmission Control Protocol Internet Protocol (TCPIP) is not configured for DB2 on your computer, you must use the following commands and restart DB2:
db2set DB2COMM=TCPIP db2 update dbm cfg using svcename 50000
To save a model in a database, follow these steps:
For more information, see Creating database profiles.
If you want to use a database profile, you can create a new profile by clicking New, or you can select one of the existing profiles from the Profile name drop-down list.
You can connect to databases on your computer or to databases on remote servers.
If the database is located on your computer, the host name is localhost.
If the database is located on your computer, the default port number is 50 000.
Specifying this parameter is only required if you are using a database profile.
You can also overwrite an existing model by selecting a model from the list of existing models as shown in Figure 45.
You can perform different tasks in all views of the Intelligent Miner Visualizers by clicking an icon in the tool bar or selecting a task from the menu bar. In all visualizers, you can right-click on objects to display a pop-up menu that covers the most commonly-used features of the appropriate visualizer.
In some of the views of the Intelligent Miner Visualizers, you can do tasks that are specific to this particular view. For example, fanning in or fanning out is specific to the Associations Visualizer. These specific tasks are described in the appropriate chapters.
There are common tasks that you can do in most of the views of the Intelligent Miner Visualizers. These common tasks are described in the following sections. The tasks are sorted in alphabetical order.
Cloning a window means to copy a window. The view of the cloned window is synchronized with the view of the original window. This means, if you show or hide items in the cloned window, these items are also shown or hidden in the original window, or vice versa. However, you can independently select items in a window. For example, if you select items in the cloned window, these items are not selected in the original window.
You can clone one or more windows from the original window or from a cloned window.
To clone a window, you can do one of the following actions:
You can open several Visualizer windows. There is no warning dialog, when you close these windows. However, if you have modified a model without saving it, and you want to close the last window of this model, a warning dialog lets you save or discard these modifications.
To close the current window, you can do one of the following actions:
If you want to shut down the Intelligent Miner Visualizers, a confirmation dialog is displayed if you must close more than one window, or if you need to save models that you have previously modified.
To shut down the Intelligent Miner Visualizers, you can do one of the following actions:
Some of the views of the Intelligent Miner Visualizers contain several sections.
To collapse or expand sections, you can do one of the following actions:
You can copy text strings, tables, or parts of tables to the clipboard to paste them into a different application.
To copy a selected item into the clipboard, you can do one of the following actions:
You can also copy graphs of the visualizer by following these steps:
To display help information, you can do one of the following actions:
The available help topics are displayed in the left navigation pane. The help information that is associated with the window from which you requested help information is displayed in the right pane. To display a different topic in the right pane, click on the topic that you want to view in the left navigation pane.
To display the product information, click Help => Product Information....
The Product Information dialog is displayed.
The following commonly used edit functions are available in the Intelligent Miner Visualizers:
You can also use the keyboard shortcut Ctrl+A.
You can also use the keyboard shortcut Ctrl+Z.
You can also use the key combination Ctrl+Shift+Z.
You can export views that contain textual information or tables to flat files in comma separated format (CSV). You can import these flat files in applications like Lotus(R) 1-2-3(R) or Microsoft(R) Excel.
If you export views that include percentages, these percentages are exported as fractions. For example, if a table contains the value 23.92%, this value is exported as 0.2392.
You can also export views to HTML files.
You can export the Graph View of the Associations Visualizer only to GIF format.
To export a view, follow these steps:
The following GUI components are displayed by default:
To hide one or all of these components, for example, to hide the tool bar, click View => Tool Bar.
You can open new models in the same window or in a different window. You can open these models in the local file system or in a database. For information about opening models in a database, see Opening models.
To open a model in the local file system, follow these steps:
You can also click File => Open In New Window ....
If you want to increase the size of the Open a New Model window, drag one of the corners of this window to the desired position on the screen.
You can also use the keyboard shortcut Ctrl+O to display the Open a New Model window.
You can save the current model and its properties to a new file in the local file system or in a database. For information about saving models in a database, see Saving models.
To save a model to the current location, you can do one of the following actions:
To save a model to different locations in the local file system, follow these steps:
You can modify the width of the table columns by placing the cursor on the border between the column headers, holding down the left mouse button, and dragging the border to the left or to the right side.
To print the current view, you can do one of the following actions:
The Print dialog is displayed where you can specify the printer of your choice.
You can preview the current view that you might want to print by selecting File => Print Preview.
The options for the page layout vary on the different operating systems.
To specify the layout of your printouts, click File => Page Setup and specify the page layout that you want to use, for example, Portrait or Landscape.
You can sort the rows in a table according to the values of a particular column. The sort order is ascending or descending.
To change the sort order of table rows, click the header of a column repeatedly.
You can look at two views simultaneously by splitting the window vertically. For example, if you are currently looking at the Graph View of the Associations Visualizer, you might simultaneously want to look at the Statistics View or at the Rules View.
To split the window to look simultaneously at another view, for example, the Statistics View, select View => Split Window => Statistics View.
You can also right-click on the tab of the view that you want to display in the second pane and click Show In the Right Pane.
To restore the original view, right-click on the tab of the view that you want to display in the window.
To restore the previous view, select View => Split window => Remove split.
Besides installing the Intelligent Miner Visualizers on your computer and using them as standalone product, you can install the Intelligent Miner Visualizers on a Web server and use them as a Java applet embedded in an HTML document.
You can store the HTML documents that embed the Intelligent Miner Visualization Applet on a Web server. You can view the HTML documents on the intranet with a Java enabled Web browser, for example, with Netscape or with Internet Explorer. An installation on clients is not required.
If you use the Intelligent Miner Visualization Applet, you can deploy the same features and the same interactions as if you had installed the Intelligent Miner Visualizers on your computer.
If you install the Intelligent Miner Visualizers on a Web server and embed the Intelligent Miner Visualization Applet in an HTML document, the Intelligent Miner Visualizers are available for multiple users with a central point of installation.
To use the Intelligent Miner Visualization Applet on the intranet, you must embed the visualizer that shows the model that you want to publish in an HTML document and send the URL of the HTML document to the team members who are supposed to view the model. To view the model, the team members must click the link in the HTML document. The visualizer is displayed on their screens showing the model that you have provided.
The graphical user interface of the Intelligent Miner Visualization Applet is the same as if you had installed the Intelligent Miner Visualizers on your own computer. After the Intelligent Miner Visualization Applet is started, you can open, modify, save, or print models that are located in your local file system on your computers or in a database.
Providing the Intelligent Miner Visualizers as Java applet on a Web server includes the following key advantages:
You can install the visualizer applet on any Web server on any operating system.
On the clients, you need additionally a Java enabled Web browser with a Java Virtual Machine Version 1.3 or higher. There is no disk space required.
For more information about the software requirements, see Installing the Intelligent Miner products.
The following browsers are supported:
If you are using Netscape Version 6.0 or higher, you do not need the Java plug-in.
If you are using Netscape Version 6.0 or higher, you do not need the Java plug-in.
The Sun Java Plug-in extends the capabilities of the browser. With this plug-in, you can run applets under Sun's Java 2 Runtime Environment (JRE) rather than the Java Runtime Environment that is provided by the Web browser.
The Sun Java Plug-in is part of Sun's JRE. If you have installed the JRE Version 1.3 or higher on your client, the Sun Java plug-in is already installed in the Web browser. If the Sun Java plug-in is not installed, or if you are using an older version, you are automatically redirected to Sun's Web site where you can download and install the Sun Java plug-in.
To publish mining models on a Web server by using the Intelligent Miner Visualization Applet, you must follow these steps:
If you do not want to copy the models to the Web server, you can specify one of the following locations to dynamically transfers the data of the models to the client:
You can use any directory structure to store the libraries, the HTML documents, and the model on the Web server. For example, you might want to use the following structure:
public_html/ lib/ models/ model1.html
where:
You must copy the visualizer libraries from the standalone installation on your computer to the Web server.
If you have not changed the installation directory during installation, the visualizer libraries are stored in the following directories:
You must copy all files that are stored in the lib directory of the installation path to lib directory on the Web server.
You can select between the following options to include the Intelligent Miner Visualization Applet in HTML documents:
If you publish a particular view only, for example, the Graphics View of the Clustering Visualizer, you can use all features of the Predicted Classes View, however, you cannot browse the other views of the Clustering Visualizer, or the views of the other visualizers.
You might want to publish one particular view only, when team members are supposed to focus on this view without being bothered about the complete user interface.
To embed the Intelligent Miner Visualization Applet in an HTML document, you might want to include the following syntax in the HTML code of the document at the location where you want the Intelligent Miner Visualization Applet to appear:
<applet code="com.ibm.iminer.visualizer.applet.IDMVisualizerApplet" codebase="lib" archive="imvisu.jar" width="540" height="540"> <param name=" PARAM NAME #1" value="PARAM VALUE #1 "> <param name=" PARAM NAME #2" value="PARAM VALUE #2 "> ... </applet>
You can specify values for the following parameters:
If you want to access a database, you must add the name of the file that contains the JDBC driver. The values for the parameter archive might look like this: "imvisu.jar,db2java.zip".
<param name="PARAM NAME" value="PARAM VALUE">
For example, you might want to use the parameter model to define the URL where the model that you want to display is located. You can use absolute or relative URLs. The file that contains the model that you want to display might be called model.xml. It might be located on the Web server in the directory models/. The syntax looks like this:
<param name="model" value="models/model.xml">
If you omit the parameter model, a File Open dialog is displayed when you are launching the visualizer. See the sample file index.html that resides in the installation directory ../IMVisualization/lib/samples/applet/ of the Intelligent Miner Visualizers. See Copying the visualizer libraries to the Web server for the installation directories.
You can use one or more of the parameters that are shown in the following table to open the complete Intelligent Miner Visualizers:
| Parameter name | Default value | Description |
| model | None | Path or URL of the model to be loaded. If the path is relative, the model is searched at a location relative to the HTML document. |
| embedded | False | If the value is 'true', the visualizer is embedded in the HTML document like a graphic. If the value is 'false', the HTML document contains a push button to launch the visualizers in a seperate window. |
| startButtonLabel | "Start..." | Defines the text of the push button in the HTML document, for example, Visualizer. |
| noClone | False | If the value is 'true', the menu choice File => New Window is not available. |
| noOpen | False | If the value is 'true', the menu choice File => Open => Open In New Window is not available. |
| noSave | False | If the value is 'true', the menu choice File => Save => Save As... is not available. |
| noExport | False | If the value is 'true', the menu choice File => Export... is not available. |
| noPrint | False | If the value is 'true', the menu choice File => Print... => Print Preview is not available. |
| noEditProperties | False | If the value is 'true', the menu choice File => Edit Visualizer Properties is not available. |
| noLocalProperties | False | If the value is 'true', the visualizer does not load or save user properties from the local file system. |
| Locale | Optional | If this parameter is not specified, the visualizer uses the locale of the client, or the locale that you specified in the Visualizer Properties notebook. |
You can use one or more of the parameters that are shown in the following table to open a particular view of the Intelligent Miner Visualizers:
| Parameter name | Default value | Description |
| model | None | Path or URL of the model to be loaded. If the path is relative, the model is searched at a location relative to the HTML document. |
| view | Required | The name of the view to be displayed: Associations Visualizer:
|
| noLegend | False | If the value is 'true', the legend is not displayed. |
| noMenuBar | False | If the value is 'true', the menu bar is not displayed. |
| Locale | Optional | If this parameter is not specified, the visualizer uses the locale of the client, or the locale that you specified in the Visualizer Properties notebook. |
You must specify the parameters that are shown in the following table to open a model that is stored in a database:
| Parameter name | Description |
| JDBC_URL | JDBC URL of the database that you want to connect to. This is the URL for DB2: jdbc:db2://hostname/DatabaseName |
| JDBC_Driver | The class name of the JDBC Driver to be used to connect with the database. This is the name of the JDBC driver for DB2: COM.ibm.db2.jdbc.net.DB2Driver |
| DBUserName | The name of the user who wants to connect to the database. |
| DBPassword | The password of the user who wants to connect to the database. |
| DBTable | The name of the table. |
| DBPrimaryKeyCol | The name of the column that contains the primary key of the models. |
| DB2ModelCol | The name of the column containing the models. |
| DBModelPropCol | The name of the optional column that contains the visualizer properties of the models. |
| DBModelKey | The key of the model to be loaded. |
When you have completed the HTML document, you can test it by uploading it on the server, and opening it with Netscape Version 6.0 or higher, or Mozilla. If you use the same directory structure on the Web server and on your local file system, and if you have stored the visualizer libraries locally on your computer, you can test the HTML document by opening it in your Web browser. You need not go to the Web server.
Netscape 4.x and Internet Explorer do not include the Java Runtime Environment Version 1.3 or higher. Therefore you must use Sun's Java Plug-in. This requires a different syntax. For more information, see this cahpter in the Java Plug-in 1.4 Developer Guide.
In the Java 2 SDK Version 1.3 or higher, Sun provides an HTML converter. Before uploading the HTML document to the Web server, you must use the HTML converter to convert HTML documents that are written for Netscape Version 6.0 or higher, or for Mozilla, to HTML documents that can be opened with Netscape 4.x or Internet Explorer.
You can download Sun's SDK.
The HTML converter is included in the SDK. For information about how to use the HTML converter, see this documentation.
For more information about the Java Plug-in, see the general documentation.
The download time of the Intelligent Miner Visualization Applet depends on the performance of the network that you are using. When you open an HTML document that embeds the Intelligent Miner Visualization Applet, the following files are downloaded from the server to the client:
The other libraries are downloaded when they are required. For example:
You can improve the download time of the Intelligent Miner Visualization Applet by using models stored in Visualizer format. Because this format is compressed, it can be up to 10 times smaller than a model in PMML format.
Accessibility features help users who have a physical disability, such as restricted mobility or limited vision, to use software products successfully.
The following list describes the major accessibility features of the Intelligent Miner Visualizers:
The following sections explain how to use these accessibility features.
In all Intelligent Miner Visualizers, you can choose between a colored or a black and white representation of the graphs and the associations rules. By default, the graphs are presented in colors that can be easily differentiated by color-blind users. For example, most of the color-blind people have difficulties in differentiating between green and red colors. Therefore, these colors were not used as default values.
In the Classification Visualizer and in the Clustering Visualizer, you can select colors or a black and white representation of the graphs.
You can also use patterns instead of colors to differentiate between the categories in pie-charts.
You can modify the default settings by clicking File => Visualizer Properties => Color Coding.
You can also double-click on the legend to display the Color Coding page of the Properties notebook.
In the Associations Visualizer, you can select colors or a black and white representation of the rules and the item sets.
You can modify the default settings of the rules by selecting File => Visualizer Properties => Rules.
To modify the default settings of the item sets, select File => Visualizer Properties => Item Sets.
When you are using the Intelligent Miner Visualizers, you can use keyboard shortcuts for the most frequently used tasks. These keyboard shortcuts are described in the following sections.
| Task | Keyboard shortcut |
| Moving the focus to the menu bar | F10 |
| Task | Keyboard shortcut |
| Moving the focus from the page tab to the view content | Ctrl+Down arrow |
| Moving the focus from the view content to the page tab | Ctrl+Up arrow |
| Moving the focus from page tab to page tab of split views and reverse | Ctrl+Tab and Ctrl+Shift+Tab |
| Moving the focus within a split view when focus is not on the page tab and reverse | Ctrl+Tab and Ctrl+Shift+Tab |
| Changing the location of the split bar | Arrow keys, Home, End |
| Task | Keyboard shortcut |
| Moving the focus between cells | Arrow keys or Tab |
| Moving the focus to the leftmost cell in the row | Home |
| Moving the focus to the rightmost cell in the row | End |
| Moving the focus to the first cell in the current column | Ctrl+Home |
| Moving the focus to the last cell in the current column | Ctrl+End |
| Moving the focus one page down | Page Down |
| Moving the focus one page up | Page Up |
| Moving the focus or the selection one row down | Enter |
| Selecting all cells in a table | Ctrl+A |
| Selecting a single cell or row | Spacebar |
| Changing the selection state of a cell or row | Ctrl+Spacebar |
| Extending the selection one row down | Shift+Down arrow |
| Extending the selection one row up | Shift+Up arrow |
| Extending the selection from the anchor point to the cell or row that has the focus | Shift+Spacebar |
| Extending the selection from the anchor point one page down | Shift+Page down |
| Extending the selection from the anchor point one page up | Shift+Page up |
| Task | Keyboard shortcut |
| Opening a drop-down list or a combo box | Alt+Down arrow |
| Editing a table cell | F2 |
| Task | Keyboard shortcut |
| Selecting or deselecting a node (item set) or an arrow (rule) | Spacebar |
| Moving the focus to the rules that are connected to a node | Arrow keys |
| Moving the focus from an arrow back to the previously selected node | Home |
| Moving the focus from an arrow forward to the next node | End |
| Moving the focus to subgraphs | Tab |
| Selecting all objects in a subgraph | Ctrl+G |
| Selecting entire graph | Ctrl+A |
| Inverting selection | Ctrl+E |
| Scroll graph horizontally | Alt+Left arrow, Alt+Right arrow |
| Scroll graph vertically | Alt+Up arrow, Alt+Down arrow |
The Intelligent Miner Visualizers provide the following window styles:
To modify the default settings for the window style, click File => Visualizer Properties. On the General page of the properties notebook, click the Window style list button, select, for example, High contrast, black on white, large fonts, and click OK or Apply.
If you want to go back to the previous selection of the window style, click the Undo icon on the tool bar. You can also select Edit => Undo, or use the keyboard shortcut Ctrl+Z.
This chapter summarizes the menu bar choices of the Intelligent Miner Visualizer framework.
| Menu bar choices | Actions | Keyboard shortcut |
| File => New Window | Cloning the current window. Cloned windows do not affect other views. | Ctrl+N |
| File => Open... | Loading a new model into the visualizer in the same window. | - |
| File => Open in New Window | Loading a new model into the visualizer in a different window. | Ctrl+O |
| File => Save | Saving the modified model to the current location from where the model is loaded. | Ctrl+S |
| File => Save As... | Saving the current model and properties by specifying a new file name. | - |
| File => Export... | Saving the contents of the current view to a specified HTML or CSV file. | - |
| File => Page Setup... | Specifying the layout and the margins of the file to be printed. | - |
| File => Print Preview | Viewing the page layout of the file to be printed. | - |
| File => Print | Specifying a printer and printing the current view. | Ctrl+P |
| File => Model Properties | Specifying properties for the current model. | - |
| File => Visualizer Properties | Specifying properties for all models. | - |
| File => Close | Closing the current window. | - |
| File => Exit | Closing the Intelligent Miner Visualizers. | - |
| Menu bar choices | Actions | Keyboard shortcut |
| Edit => Undo | Undoing previous action. | Ctrl+Z |
| Edit => Redo | Redoing previous action. | Ctrl+Y |
| Edit => Copy | Copying the table in ASCII format to the clipboard. | Ctrl+C |
| Edit => Select All | Selecting all items in a view. | Ctrl+A |
| Edit => Invert Selection | Inverting the previous selection. | Ctrl+E |
| Menu bar choices | Actions | Keyboard shortcut |
| Selected => Hide | Hiding previously selected items. | - |
| Selected => Show | Showing previously selected hidden items. | - |
| Menu bar choices | Actions | Keyboard shortcut |
| View => Split Window | Displaying another view simultaneously in a second pane. | - |
| View => Legend | Toggling the display of a legend on the visualizer interface. | - |
| View => Tool Bar | Toggling the display of a tool bar on the visualizer interface. | - |
| View => Status Bar | Toggling the display of a status bar on the visualizer interface. | - |
| Menu bar choices | Actions | Keyboard shortcut |
| Help => Help Topics | Displaying the table of contents of the help topics. | - |
| Help => Product Information | Displaying the name and the current version of the visualizer. | - |
IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to:
IBM World Trade Asia Corporation Licensing 2-31 Roppongi 3-chome, Minato-ku Tokyo 106, Japan
The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.
Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact:
IBM Deutschland GmbH Department 0790 Pascalstrasse 100 70569 Stuttgart Germany
Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee.
The licensed program described in this information and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement or any equivalent agreement between us.
Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurement may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment.
Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.
All statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only.
This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrates programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.
Each copy or any portion of these sample programs or any derivative work, must include a copyright notice as follows:
(C) (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs. (C) Copyright IBM Corp. _enter the year or years_. All rights reserved.
The following terms are trademarks of the IBM Corporation in the United States, other countries, or both:
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other company, product, and service names may be trademarks or service marks of others.
This glossary defines terms as they are used in this book. If you do not find the term you are looking for, refer to the Dictionary of Computing, New York: McGraw-Hill, 1994.
This bibliography lists all publications in the Intelligent Miner library other than this book, related IBM publications that are relevant to the contents of this book, and non-IBM publications that might be useful for reference purposes.
Where appropriate, IBM publication numbers are given after the document title. This helps you to find the document on the Web at the IBM Publications Center.
To download DB2 fix packs, go to this Web site.
\doc\ScoringBean\index.html