Quick start for using the example applications

To get you started quickly in using Intelligent Miner®, example applications are provided. By using these examples, you are completing the tasks that are required to get you started quickly.

To install Intelligent Miner, insert the CD into the machine and change to the appropriate subdirectory. The CD contains subdirectories for each platform that is supported.

After you have installed Intelligent Miner, you need to configure your DB2® instance and the databases that you want to use with Intelligent Miner.

The Intelligent Miner package provides a set of example SQL applications that you can use as practice exercises in building and testing mining models. You find instructions on using these examples and the content of the corresponding data and scripts. Both, the data and the scripts of examples are contained in the examples directory in the Intelligent Miner package. For more information, see IBM® InfoSphere™ Warehouse: Installation Guide.
Notes:
  • All of the data types, methods, and functions used in the example applications are contained in the schema IDMMX.
  • On Windows open a DB2 command window (db2cmd) to run the commands.
The following list shows how to run the examples that are provided with Intelligent Miner:
  1. Enable the DB2 instance.
  2. Specify the following command to create a database:
    DB2 CREATE DATABASE dbname
  3. Intelligent Miner provides a set of user-defined types (UDTs), user-defined functions (UDFs), user-defined methods (UDMs), and stored procedures. Before you can use them from SQL statements, you must create them as database objects in the databases that you want to use with Intelligent Miner. To create the database objects, call the idmenabledb command, which is located in the bin directory of your Intelligent Miner installation.

    Enable the database for the use of Intelligent Miner:

    idmenabledb dbname fenced dbcfg
    For more information refer to:
  4. Connect to the database:
    db2 connect to dbname
Note: Before starting the exercises, you must be connected to a database that is enabled for the use of Intelligent Miner. To run the scripts, you must have SELECT and INSERT privileges on all the tables created when you enable the database.


Feedback | Information roadmap