Snippet Name: FEATURE_ID
Description: FEATURE_ID returns an Oracle NUMBER that is the identifier of the feature with the highest value in the row.
Used with feature extraction models that have been created using the DBMS_DATA_MINING package or with the Oracle Data Mining Java API.
This example and the prerequisite data mining operations, including creation of the nmf_sh_sample model and nmf_sh_sample_apply_prepared view, can be found in the demo file $ORACLE_HOME/rdbms/demo/dmnmdemo.sql.
Also see: » PREDICTION_SET
» PREDICTION_PROBABILITY
» PREDICTION_DETAILS
» PREDICTION_COST
» PREDICTION_BOUNDS
» PREDICTION
» FEATURE_SET
» CLUSTER_SET
» CLUSTER_PROBABILITY
» CLUSTER_ID
Comment: (none)
Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 07th, 2009
|
FEATURE_ID(<schame.model> <mining_attribute_clause>)
SELECT FEATURE_ID(nmf_sh_sample USING *) AS feat, COUNT(*) AS cnt
FROM nmf_sh_sample_apply_prepared
GROUP BY FEATURE_ID(nmf_sh_sample USING *)
ORDER BY cnt DESC;
FEAT CNT
---------- ----------
7 1443
2 49
3 6
1 1
6 1
|