Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

Data Classification in ODM

Data warehouse tips by Burleson Consulting

This is an excerpt from Dr. Ham's premier book "Oracle Data Mining: Mining Gold from your Warehouse".

To start the classification problem, we?ll begin by using the Naive Bayes data mining activity.  The Naive Bayes algorithm has the advantages of being quick to run.   

The Mining ActivityBuild wizardis launched from the Activity pull-down menu.  Select Build to activate the wizard and click Next on the Welcome page.  Choose the Classification function type, Na?e Bayes algorithm, and click Next.   

In step 2 of the New Activity Wizard, select MINING_DATA_BUILD_V _US as the case table or view, choose Single Key CUST_ID as the unique identifier, and select all columns to include in the analysis.  Note that clicking Sampling Settings opens a new window that allows you to change how the data is sampled.  For this exercise you?ll keep the default Random sampling. 

In classification problems, a target is identified and in this case we are using the attribute AFFINITY_CARDto distinguish high-value customers where 1 = High-value and 0 = Low-value.   On step 3 of the New Activity Wizard, choose AFFINITY_CARD as the Target column.  Note that COUNTRY_NAME and PRINTER_SUPPLIES are not selected as attribute variables.  Neither of these fields will contribute the classification model because there is only one country in this view and all consumers order printer supplies.  You can see this by clicking the Data Summary link and seeing that the average, max, and min columns for PRINTER_SUPPLIES is 1, with 0 variance. 

In step 4 of the New Activity Wizard, select 1 as the preferred target value which identifies the cases we are trying to target, where our best customers have AFFINITY_CARD = 1.

Naming Data Mining Activities

For step 5, ODMr provides a name for the data mining activity, but you?ll probably want to change this to a name that explains the activity, such as ALL_US_NB1 for all US customers, Na?e Bayes activity 1. 

On the final page, the New Activity Wizard is complete and the Data Mining Activity is set to run upon finish when you click the Finish button. 

Click Advanced Settings to display and possibly modify the default settings.  

The Advanced Settings Dialog window shows three tabs: Sample, Discretize, Split, Build and Test Metrics.  The wizard has determined that samplingis not needed for this small dataset, and you?ll want to leave the Enable Step box not checked. 

The details of the Na?e Bayes classification model will be discussed in more detail in a later Chapter.  For now, accept the defaults and finish the model.


 
For more tips and tricks for Oracle data warehouse analysis, see Dr. Ham's premier book "Oracle Data Mining: Mining Gold from your Warehouse"

You can buy it direct from the publisher for 30%-off:

http://www.rampant-books.com/book_2006_1_oracle_data_mining.htm


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational