RODM_create_model: Create an ODM model

Description Usage Arguments Details Value Author(s) References

Description

Helper function to create an Oracle Data Mining model

Usage

1
2
3
4
5
6
7
8
RODM_create_model(database, 
                  model_name,          
                  mining_function_type,              
                  data_table_name,                   
                  case_id_column_name = "",          
                  target_column_name = "",           
                  retrieve_outputs_to_R = TRUE,      
                  sql.log.file = NULL)               

Arguments

database

Database ODBC channel identifier returned from a call to RODM_open_dbms_connection

model_name

ODM Model name.

mining_function_type

Mining function to use, e.g., "dbms_data_mining.classification"

data_table_name

Database table/view containing the training dataset.

case_id_column_name

Row unique case identifier in data_table_name.

target_column_name

Name of the target column (for supervised models).

retrieve_outputs_to_R

Flag controlling if the output results are moved to the R environment.

sql.log.file

File to append the log of all the SQL calls made by this function.

Details

This is the generic function for creating ODM models.

It is not intended to be called directly by the user, but rather via the RODM_create_XX_model functions.

Value

If retrieve_outputs_to_R is TRUE, returns a list with the following elements:

model.model_settings

Table of settings used to build the model.

model.model_attributes

Table of attributes used to build the model.

Author(s)

Pablo Tamayo pablo.tamayo@oracle.com

Ari Mozes ari.mozes@oracle.com

References

Oracle Data Mining Concepts 11g Release 1 (11.1) http://download.oracle.com/docs/cd/B28359_01/datamine.111/b28129/toc.htm

Oracle Database PL/SQL Packages and Types Reference 11g Release 1 (11.1) http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_datmin.htm#ARPLS192


RODM documentation built on May 2, 2019, 7:03 a.m.