Results for “odm_naive_bayes_model”
20 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
ODM.ODM_NAIVE_BAYES_MODEL is a wrapped PL/SQL package belonging to the Oracle Data Mining (ODM) schema, which is shipped with Oracle E-Business Suite 12.1.1 and 12.2.2 as part of the embedded Oracle Advanced Analytics / Data Mining option. The package encapsulates the Naive Bayes classification algorithm within the database kernel, exposing a procedural interface through which EBS applications can build, apply, test, lift-evaluate, cross-validate, and export Naive Bayes models without leaving the PL/SQL layer. In the EBS context, its principal business purpose is to support predictive classification workloads — for example customer segmentation, propensity scoring, defect categorization, or approval-risk classification — that feed downstream EBS modules such as CRM, Order Management, or Financials analytics.
The package source is delivered obfuscated (wrapped), so only the callable signature names and declared parameter identifiers are recoverable from the ETRM metadata. The body text “abcd” and the hexadecimal sequence are the wrapped bytecode payload, not readable logic.
Key Procedures and Functions
Although the ETRM extract lists zero formally documented procedures, the wrapped token stream exposes the following public entry points:
- BUILD — Constructs a Naive Bayes model from a training data set. Identifiers such as P_DATA_TABLE_NAME, P_DAT_SEQID_COLUMN_NAME, P_DAT_ATTR_COLUMN_NAME, P_DAT_VALUE_COLUMN_NAME, and P_TARGET_ATTRIBUTE_NAME indicate a transactional (attribute/value) input layout; P_ONE_ITEM_THRESHOLD and P_TWO_ITEM_THRESHOLD control attribute-value pruning; P_RULES_TABLE_NAME, P_PRIOR_TABLE_NAME, and P_MINING_TASK_ID capture the resulting model artifacts.
- APPLY — Scores new data against a named model (P_MODEL_NAME), writing predictions, probabilities, and ranks into a result table. Supporting parameters include P_SUPPL_TABLE_NAME, P_COST_MATRIX_TABLE_NAME, P_PREDICTION_TYPE/NUM, P_PREDICTION_TYPE, P_TARGET_VALUE_TABLE_NAME, and the P_RES_* column-name parameters. P_PERSISTENCE_TYPE and P_ORIGINAL_TABLE_LOCATION govern how results are materialized.
- TEST — Evaluates a model against a held-out data set, producing a named test result (P_TEST_RESULT_NAME).
- LIFT — Computes lift statistics, using P_POSITIVE_TARGET_VALUE and P_NUM_QUANTILES, storing output under P_LIFT_RESULT_NAME.
- CROSSVALIDATE — Performs n-fold cross-validation over P_INPUT_DATA_LOCATION and P_BIN_CAT_TABLE_NAME.
- GEN_PMML — Serializes the model to Predictive Model Markup Language, emitting the document into P_PMML_TABLE_NAME/P_PMML_COLUMN_NAME.
- OUT — Output helper invoked internally by the routines above.
Tables Accessed
The ETRM metadata records a single referenced object, DBMS_XMLGEN, resolved through an APPS synonym. In practice this package uses DBMS_XMLGEN to transform model metadata and PMML payloads into XML fragments, particularly during GEN_PMML generation. All other I/O targets are supplied at runtime by the caller through the P_*_TABLE_NAME parameters, meaning the package operates generically against user-designated staging, rules, prior, cost-matrix, and result tables rather than fixed ODM catalog views. No static EBS application tables are hard-referenced.
Usage Notes
ODM.ODM_NAIVE_BAYES_MODEL is not invoked from standard EBS forms or seeded concurrent programs. It is a programmatic API intended for custom PL/SQL, database packages, or concurrent-program wrappers written by implementation teams extending EBS with predictive analytics. Typical invocation follows the sequence BUILD → TEST → LIFT → CROSSVALIDATE → APPLY → GEN_PMML, with each stage persisting artifacts to caller-named tables. Because the package is wrapped and owned by the restricted ODM schema, callers require EXECUTE grants and must account for ODM licensing, which in EBS 12.1.1/12.2.2 is separately enabled through the Oracle Data Mining option. Upgrades between 12.1.1 and 12.2.2 preserve the documented signature set, but wrapped internals are version-dependent, so regeneration of dependent custom code is advised after patching.
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
SYNONYM: PUBLIC.DBMS_XMLGEN 12.1.1
-
TABLE: ODM.ODM_MINING_MODEL 12.1.1
-
SYNONYM: PUBLIC.DBMS_XMLGEN 12.2.2
-
TABLE: ODM.ODM_MINING_MODEL 12.2.2
-
TYPE: SYS.XMLTYPE 12.1.1
-
TYPE: SYS.XMLTYPE 12.2.2