Apply a Model

After you build a model, you can apply the model to new data, that is, use the model to score the new data. This is how you use the model to predict results for new data.

The results of applying a model to data depends on the kind of model that you apply:

The input data for apply must undergo the same preprocessing undergone by the build data table. The data must have attributes compatible with those of the build data, that is, it must have the same attributes with the same names and respective datatypes or there must be a suitable mapping of new attributes to old attributes. The apply data table can have supplemental attributes, attributes not found in the build data table. The result of the apply operation is placed in the schema specified by the user.

If you build a model using a build activity and apply the model using an apply activity, Oracle Data Miner automatically does all required preprocessing.

The Oracle Data Mining user specifies the result content. For example, you may want the customer identifier attribute, along with the score and probability, to be in the result table for each record in the provided mining data. The Apply wizard allows you to define output during the Apply ID and Apply Option steps.

Oracle Data Mining supports the apply operation for a table (a set of cases) or a single case (represented by a Java object). Oracle Data Mining supports multicategory apply, obtaining multiple class values with their associated probabilities for each case. Oracle Data Miner permits you to apply a model to a table only.

When you apply a model to a table, the output table is created in the connected user's schema.