5.1 Before Creating a Model

Explains the preparation steps before creating a model.

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).

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 can specify model settings to influence the behavior of the model behavior. The preparation steps are summarized in the following table.

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"