Figures
Tables
About this book
Who should use this book
Conventions and terminology used in this book
How this book is structured
How to read the syntax diagrams
How to send your comments
What is new in version 8.2
Ease of use
Platform support
Functional enhancements
Standards conformance
Shared infrastructure with
IM Scoring
Consistency notices
Overview of the IM products
Introducing the Intelligent Miner products
IBM DB2 Intelligent Miner Scoring
IBM DB2 Intelligent Miner Modeling
IBM DB2 Intelligent Miner Visualization
IBM DB2 Intelligent Miner for Data
Introducing data mining with IM Modeling
The goal of data mining
Familiarizing yourself with model training
Introducing the data mining process
Specifying mining data
Defining logical data specifications
Defining mining settings
Defining mining tasks
Building and storing mining models
Testing a model and analyzing its quality
Testing Classification or Regression models
Analyzing the model quality
Working with mining models and test results
Introducing data mining functions
Associations
Business context
Concepts
Items and groups in tables
Rule body and rule head
Support in an association rule
Confidence in an association rule
Lift in an association rule
Name mappings
Taxonomies
Rule length and item constraints
Active or inactive fields
Classification
Business context
Concept
Decision tree Classification
Class label field
Maximum purity per internal node
Maximum tree depth
Minimum number of records per internal node
Tolerated levels of incorrect predictions
Cost matrix
Active or inactive fields
Clustering
Business context
Concept
Distribution-based Clustering
Similarity
Maximum number of clusters
Similarity threshold
Active or supplementary fields
Field weighting
Value weighting
Similarity scale
Similarity matrices
Outlier treatment
Desired execution time
Minimum percentage of data
Regression
Business context
Concept
Target field
Maximum tolerated systematic error (RSquared)
Desired execution time
Active or inactive fields
Introducing database objects and data mining in SQL
User-defined data types
User-defined data types describing input data
User-defined data types specific to mining functions
User-defined data types in the model-building process
User-defined data types in the model-testing process
User-defined data types in a Classification training and test run
User-defined methods
User-defined functions
Stored procedures
SQL code examples for data mining
Sample scenario
Model-building procedure
Code example
PMML: A markup language for data mining
Quick start using the sample applications
Running the sample applications
Using the Clustering mining function
Creating the sample table
Using the Clustering mining function for clustering segmentation
Defining a task and starting a Clustering training run
Extracting information from a Clustering model
Building and running a task
Specifying mining data
Defining logical data specifications and Clustering settings
Defining Clustering mining tasks
Starting training runs
Deleting entries from the sample tables
Using the Classification mining function
Creating a sample table
Creating a Classification task and building a Classification model
Extracting information from a Classification model
Testing a Classification model
Working with a Classification test result
Deleting entries from the sample tables
Using the Regression mining function
Creating a sample table
Creating a Regression task and building a Regression model
Extracting information from a Regression model
Testing a Regression model
Working with a Regression test result
Deleting entries from the sample table
Using the Associations mining function
Creating the sample tables
Creating an Associations task and building an Associations model
Extracting information from an Associations model
Deleting entries from the sample tables
Creating additional error and progress tables
Working with the sample error tables
Working with the sample progress tables
Using IM Modeling
Creating database objects
Enabling databases
Disabling databases
Checking databases
Specifying mining data
Specifying the source table for your data
Defining alias names
Filtering data
Defining logical data specifications
Deriving a logical data specification from a mining data value
Deriving a logical data specification from individual fields
Defining field types and properties
Defining name mappings
Defining a name mapping in the logical data specification
Activating a name mapping
Retrieving information about a name mapping
Removing a name mapping
Defining taxonomies
Defining a taxonomy in the logical data specification
Adding and removing category maps
Activating a taxonomy
Retrieving information about a taxonomy
Removing a taxonomy
Dealing with issues specific to mining functions
Associations
Classification
Clustering
Regression
Defining mining settings
Adding a logical data specification to a settings value
Defining settings that are specific to mining functions and algorithms
Autonomic variable selection
Features of autonomic variable selection
Specifying the usage type
Memory usage and impact
Specifying power options
Specifying settings parameters for the Associations mining function
Defining the layout of the input table
Controlling the number of association rules
Defining fields as active or inactive
Specifying settings parameters for the Classification mining function
Specifying the class label field
Specifying maximum purity
Specifying maximum tree depth
Specifying the minimum number of records per internal node
Specifying the tolerated level of incorrect predictions
Defining a cost matrix
Defining fields as active or inactive
Specifying settings parameters for the Clustering mining function
Defining fields as active and supplementary
Specifying field weighting
Specifying value weighting
Specifying similarity scale
Treating outliers
Specifying a similarity matrix
Specifying the maximum number of clusters
Defining the similarity threshold
Setting the desired execution time
Specifying the minimum percentage of data that is processed
Specifying settings parameters for the Regression mining function
Specifying the target field
Specifying the maximum tolerated systematic error (RSquared)
Setting the desired execution time
Defining fields as active and inactive
Defining mining tasks
Defining mining task values for training runs
Defining mining task values for test runs
Defining additional control parameters
Building and storing mining models
Executing a training run
Example for a Clustering training run
Testing a model and analyzing its quality
Testing Classification or Regression models
Executing a test run on the mining model
Executing a test run on the test task
Analyzing the model quality
Quality concepts
Using the confusion and cost matrix of a Classification model
Checking the overall quality
Checking gains chart information
Deviations between predicted values and actual target values
Comparing the order of data records
Systematic error in DM_RegressionModel
Capability to correctly predict unknown data
Identifying the deviation between predicted and actual target values
Working with mining models and test results
Working on mining models
Introducing field importance and field-field correlation
Identifying fields in the logical data specification
Extracting the name of a model
Identifying the mining task
Retrieving information specific to mining functions
Exporting mining models
Working with test results
Retrieving information from test results
Exporting test results
Reference
Overview of IM Modeling's database objects
Data types
Structured types
Distinct types
Mining field types
Mining data methods
Logical data specification methods
Specifying fields
Specifying categorical field properties
Specifying name mappings
Specifying taxonomies
Specifying numerical field properties
Mining settings methods
DM_RuleSettings
DM_ClasSettings
DM_ClusSettings
DM_RegSettings
Methods for all DM_*Settings types
Mining tasks methods
DM_ClasBldTask
DM_ClasTestTask
DM_RegTestTask
DM_ClusBldTask
DM_RuleBldTask
DM_RegBldTask
Methods for all DM_*Task types
Stored procedures for building mining models
Stored procedures for testing mining models
Functions for analyzing mining models and test results
Functions for analyzing model type DM_RuleModel
Functions for analyzing model type DM_ClasModel
Functions for analyzing model type DM_ClusteringModel
Functions for analyzing model type DM_RegressionModel
Functions for analyzing test results
Functions for type DM_ClasTestResult
Functions for type DM_RegTestResult
Functions for working with mining models
Functions for working with model type DM_RuleModel
Functions for working with model type DM_ClasModel
Functions for working with model type DM_ClusteringModel
Functions for working with model type DM_RegressionModel
Functions for working with test results
Functions for type DM_ClasTestResult
Functions for type DM_RegTestResult
Stored procedures used for administrative and informational tasks
Naming conventions and parameter sizes
Naming conventions
Parameter sizes
Methods reference
DM_addConItem
DM_addDataSpecFld
DM_addNmp
DM_addSimMat
DM_addTax
DM_addTaxMap
DM_defClasBldTask
DM_defClasTestTask
DM_defClusBldTask
DM_defMiningData
DM_defRegBldTask
DM_defRegTestTask
DM_defRuleBldTask
DM_expClasSettings
DM_expClasTask
DM_expClasTestTask
DM_expClusSettings
DM_expClusTask
DM_expDataSpec
DM_expMiningData
DM_expRegSettings
DM_expRegTask
DM_expRegTestTask
DM_expRuleSettings
DM_expRuleTask
DM_genDataSpec
DM_getClasCost
DM_getClasCostRate
DM_getClasDataSpec
DM_getClasMdlCol
DM_getClasMdlID
DM_getClasMdlIDCol
DM_getClasMdlTab
DM_getClasSettings
DM_getClasTarget
DM_getClasTestData
DM_getClasTrnData
DM_getClasValData
DM_getClusDataSpec
DM_getClusSettings
DM_getClusTrnData
DM_getColumnName
DM_getConItem
DM_getConType
DM_getCostMatAV
DM_getCostMatPV
DM_getCostMatTab
DM_getCostMatWGT
DM_getDClusFldPar
DM_getDClusPar
DM_getErrorTab
DM_getExecTime
DM_getFldAlias
DM_getFldName
DM_getFldNmp
DM_getFldOutlLimLo
DM_getFldOutlLimUp
DM_getFldOutlTreat
DM_getFldSimMat
DM_getFldSimScale
DM_getFldTax
DM_getFldType
DM_getFldUsageType
DM_getFldWeight
DM_getGroup
DM_getItemFld
DM_getItemFormat
DM_getMaxLen
DM_getMaxNumClus
DM_getMinConf
DM_getMinData
DM_getMinSupport
DM_getNmpMapValCol
DM_getNmpName
DM_getNmpTabName
DM_getNmpValCol
DM_getNumColumns
DM_getNumConItem
DM_getNumFields
DM_getNumNmp
DM_getNumSimMat
DM_getNumTax
DM_getNumTaxMap
DM_getPowerOptions
DM_getProgTab
DM_getRegDataSpec
DM_getRegMdlCol
DM_getRegMdlID
DM_getRegMdlIDCol
DM_getRegMdlTab
DM_getRegRSquared
DM_getRegSettings
DM_getRegTarget
DM_getRegTestData
DM_getRegTrnData
DM_getRegValData
DM_getRuleDataSpec
DM_getRuleSettings
DM_getRuleTrnData
DM_getSimMatName
DM_getSimMatSim
DM_getSimMatTab
DM_getSimMatVal1
DM_getSimMatVal2
DM_getTableName
DM_getTaxChildCol
DM_getTaxMapType
DM_getTaxName
DM_getTaxParentCol
DM_getTaxParentNmp
DM_getTaxTabName
DM_getTreeClasPar
DM_getWhereClause
DM_impClasSettings
DM_impClasTask
DM_impClasTestTask
DM_impClusSettings
DM_impClusTask
DM_impDataSpec
DM_impMiningData
DM_impRegSettings
DM_impRegTask
DM_impRegTestTask
DM_impRuleSettings
DM_impRuleTask
DM_isCompatible
DM_remConItem
DM_remDataSpecFld
DM_remNmp
DM_remSimMat
DM_remTax
DM_remTaxMap
DM_setClasCost
DM_setClasCostRate
DM_setClasTarget
DM_setColumns
DM_setConType
DM_setCostMat
DM_setDClusFldPar
DM_setDClusPar
DM_setErrorTab
DM_setExecTime
Return value for clustering
Return value for regression
DM_setFldAlias
DM_setFldNmp
DM_setFldOutlLim
DM_setFldOutlTreat
DM_setFldSimMat
DM_setFldSimScale
DM_setFldTax
DM_setFldType
DM_setFldUsageType
DM_setFldWeight
DM_setGroup
DM_setItemFld
DM_setItemFormat
DM_setMaxLen
DM_setMaxNumClus
DM_setMinConf
DM_setMinData
DM_setMinSupport
DM_setPowerOptions
DM_setProgTab
DM_setRegRSquared
DM_setRegTarget
DM_setTreeClasPar
DM_setWhereClause
DM_useClasDataSpec
DM_useClusDataSpec
DM_useRegDataSpec
DM_useRuleDataSpec
Functions reference
DM_expClasModel
DM_expClasTestRes
DM_expClusModel
DM_expRegTestRes
DM_expRegModel
DM_expRuleModel
DM_getClasCostRate
DM_getClasError
DM_getClasMdlName
DM_getClasMdlSpec
DM_getClasTarget
DM_getClasTask
DM_getClusMdlName
DM_getClusMdlSpec
DM_getClusTask
DM_getClusterName
DM_getClusters
DM_getConfMatrix
DM_getCorrelations
DM_getErrors(
rowcount
)
DM_getFields
DM_getFields(miningData)
DM_getGainsChart
Return value for regression
Return value for classification
DM_getMdlQuality
DM_getNumClusters
DM_getNumRules
DM_getNumTransacts
DM_getPredAccuracy
Return value for regression
Return value for classification
DM_getPredError
DM_getRankQuality
Return value for regression
Return value for classification
DM_getRegMdlName
DM_getRegMdlSpec
DM_getRegRSquared
DM_getRegTarget
DM_getRegTask
DM_getReliability
Return value for regression
Return value for classification
DM_getRMSE
DM_getRuleBodies
DM_getRuleMdlName
DM_getRules
DM_getRuleTask
DM_getTreeRules
DM_isValidated
Stored procedures reference
DM_buildClasModel,
DM_buildClasModelCmd
DM_buildClusModel,
DM_buildClusModelCmd
DM_buildRegModel,
DM_buildRegModelCmd
DM_buildRuleModel,
DM_buildRuleModelCmd
DM_cancelTask
DM_getEnv
DM_getMiningData
DM_setEnv
DM_testClasModelD (using mining data),
DM_testClasModelCmdD
DM_testClasModelT (using a test task),
DM_testClasModelCmdT
DM_testRegModelD (using mining data),
DM_testRegModelCmdD
DM_testRegModelT (using a test task),
DM_testRegModelCmdT
Command reference
The idmcheckdb command
The idmdisabledb command
The idmenabledb command
The idminstfunc command
The idmuninstfunc command
The idmlevel command
The idmlicm command
Administration
Setting environment variables (for error and trace)
Getting progress information
Getting error information
Error handling
Defining the error file and error table
Getting support
Problem identification worksheet
Getting product information
Getting trace information
Using the tracing facility on UNIX systems
Using the tracing facility on Windows systems
Getting DB2 diagnostic information
Canceling mining runs
Migrating from
IM Modeling V8.1
Working with
IM Modeling V8.1
and V8.2 in parallel
Migrating from DB2 Version 7
Migrating from
IM Modeling
Version 8.1
Migrating a DB2 instance (UNIX only)
Migrating databases (all platforms)
Database instance restart
Appendixes
Appendix A. Using interfaces
Appendix B. Comparing IM Modeling with IM for Data
Physical data specifications (DM_MiningData)
Settings parameters
Clustering
Classification
Migration from IM for Data
Appendix C. Coexistence with
IM Scoring
Shared schema
Shared data types
Shared functions
Shared methods
Shared commands
Appendix D. IM Modeling conformance to PMML
Appendix E. Notices
Trademarks
Glossary
Bibliography
IBM DB2 Intelligent Miner publications
Related information
IBM Web sites
Other Web sites
Index