Before Creating a Model

As described in "About Mining Models", models are database schema objects that perform data mining. The DBMS_DATA_MINING PL/SQL package is the API for creating, configuring, evaluating, and querying mining models (model details). See "DBMS_DATA_MINING" for an overview.

Before you create a model, you must decide what you want the model to do. You must identify the training data and determine if transformations are required. You may specify model settings to influence the behavior of the model behavior. The preparation steps are summarized in Table 5-1.


Table 5-1 Preparation for Creating a Mining Model

Preparation Step Description

Choose the mining function

See "Choosing the Mining Function"

Choose the algorithm

See "Choosing the Algorithm"

Identify the build (training) data

See "Preparing the Data"

For classification models, identify the test data

See "Data Sets for Classification and Regression"

Determine your data transformation strategy

See " Transforming the Data"

Create and populate a settings tables (if needed)

See "Specifying Model Settings"