Oracle Data Mining Workshop

Oracle is providing a free 1 day on-site technical workshop designed to help customers and prospects move forward with the data mining technologies. The workshop consists of the following:
1. Understanding of data mining and how it compares to other analytical techniques, the data mining process and data mining in the 9i database.
2. Taking a business problem and showing how to turn it into a data mining problem.
3. Based on the data mining problem, what are the best methodologies, techniques and algorithms to use. The pros and cons of using each.
4. What types of data are need for the problem and how the data should be transformed and stored in the database.
5. How to optimize and tune the 9i database for development and production data mining.
This workshop is given by Richard Solari who is Oracle's Technical Director of Data Mining Services. For a complete agenda and to schedule your workshop, please contact Richard at [email protected]

Its primary purpose is to help in the development of data mining applications. You can as you explain utilize it as well as an analytical tool. We expect that any mining application will require analysts and developers to work together in building mining applications.

Similar Messages

  • Oracle Data Mining - How to use PREDICTION function with a regression model

    I've been searching this site for Data Mining Q&A specifically related to prediction function and I wasn't able to find something useful on this topic. So I hope that posting it as a new thread will get useful answers for a beginner in oracle data mining.
    So here is my issue with prediction function:
    Given a table with 17 weeks of sales for a given product, I would like to do a forecast to predict the sales for the week 18th.
    For that let's start preparing the necessary objects and data:
    CREATE TABLE T_SALES
    PURCHASE_WEEK DATE,
    WEEK NUMBER,
    SALES NUMBER
    SET DEFINE OFF;
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('11/27/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 1, 55488);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/04/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 2, 78336);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/11/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 3, 77248);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/18/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 4, 106624);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('12/25/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 5, 104448);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/01/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 6, 90304);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/08/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 7, 44608);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/15/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 8, 95744);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/22/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 9, 129472);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('01/29/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 10, 110976);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/05/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 11, 139264);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/12/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 12, 87040);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/19/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 13, 47872);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('02/26/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 14, 120768);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('03/05/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 15, 98463.65);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('03/12/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 16, 67455.84);
    Insert into T_SALES
    (PURCHASE_WEEK, WEEK, SALES)
    Values
    (TO_DATE('3/19/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 17, 100095.66);
    COMMIT;
    There are a lot of linear regression models and approaches for sales forecast out on the market, however I will focus on what oracle 11g offers i.e. package SYS.DBMS_DATA_MINING to create a model using regression as mining function and then, once the model is created, to apply prediction function on the model.
    Therefore I'll have to go through few steps:
    i) normalization of data
    CREATE OR REPLACE VIEW t_sales_norm AS
    SELECT week,
    sales,
    (sales - 91423.95)/27238.3693126778 sales_norm
    FROM t_sales;
    whereas the numerical values are the mean and the standard deviation:
    select avg(sales) from t_sales;
    91423.95
    select stddev(sales) from t_sales;
    27238.3693126778
    ii) auto-correlation. For the sake of simplicity, I will safely assume that there is no auto-correlation (no repetitive pattern in sales among the weeks). Therefore to define the lag data I will consider the whole set:
    CREATE OR REPLACE VIEW t_sales_lag AS
    SELECT a.*
    FROM (SELECT week,
    sales,
    LAG(sales_norm, 1) OVER (ORDER BY week) L1,
    LAG(sales_norm, 2) OVER (ORDER BY week) L2,
    LAG(sales_norm, 3) OVER (ORDER BY week) L3,
    LAG(sales_norm, 4) OVER (ORDER BY week) L4,
    LAG(sales_norm, 5) OVER (ORDER BY week) L5,
    LAG(sales_norm, 6) OVER (ORDER BY week) L6,
    LAG(sales_norm, 7) OVER (ORDER BY week) L7,
    LAG(sales_norm, 8) OVER (ORDER BY week) L8,
    LAG(sales_norm, 9) OVER (ORDER BY week) L9,
    LAG(sales_norm, 10) OVER (ORDER BY week) L10,
    LAG(sales_norm, 11) OVER (ORDER BY week) L11,
    LAG(sales_norm, 12) OVER (ORDER BY week) L12,
    LAG(sales_norm, 13) OVER (ORDER BY week) L13,
    LAG(sales_norm, 14) OVER (ORDER BY week) L14,
    LAG(sales_norm, 15) OVER (ORDER BY week) L15,
    LAG(sales_norm, 16) OVER (ORDER BY week) L16,
    LAG(sales_norm, 17) OVER (ORDER BY week) L17
    FROM t_sales_norm) a;
    iii) choosing the training data. Again, I will choose the whole set of 17 weeks, as for this discussion in not relevant how big should be the set of training data.
    CREATE OR REPLACE VIEW t_sales_train AS
    SELECT week, sales,
    L1, L2, L3, L4, L5, L6, L7, L8, L9, L10,
    L11, L12, L13, L14, L15, L16, L17
    FROM t_sales_lag a
    WHERE week >= 1 AND week <= 17;
    iv) build the model
    -- exec SYS.DBMS_DATA_MINING.DROP_MODEL('t_SVM');
    BEGIN
    sys.DBMS_DATA_MINING.CREATE_MODEL( model_name => 't_SVM',
    mining_function => dbms_data_mining.regression,
    data_table_name => 't_sales_train',
    case_id_column_name => 'week',
    target_column_name => 'sales');
    END;
    v) finally, where I am confused is applying the prediction function against this model and making sense of the results.
    On a search on Google I found 2 ways of applying this function to my case.
    One way is the following:
    SELECT week, sales,
    PREDICTION(t_SVM USING
    LAG(sales,1) OVER (ORDER BY week) as l1,
    LAG(sales,2) OVER (ORDER BY week) as l2,
    LAG(sales,3) OVER (ORDER BY week) as l3,
    LAG(sales,4) OVER (ORDER BY week) as l4,
    LAG(sales,5) OVER (ORDER BY week) as l5,
    LAG(sales,6) OVER (ORDER BY week) as l6,
    LAG(sales,7) OVER (ORDER BY week) as l7,
    LAG(sales,8) OVER (ORDER BY week) as l8,
    LAG(sales,9) OVER (ORDER BY week) as l9,
    LAG(sales,10) OVER (ORDER BY week) as l10,
    LAG(sales,11) OVER (ORDER BY week) as l11,
    LAG(sales,12) OVER (ORDER BY week) as l12,
    LAG(sales,13) OVER (ORDER BY week) as l13,
    LAG(sales,14) OVER (ORDER BY week) as l14,
    LAG(sales,15) OVER (ORDER BY week) as l15,
    LAG(sales,16) OVER (ORDER BY week) as l16,
    LAG(sales,17) OVER (ORDER BY week) as l17
    ) pred
    FROM t_sales a;
    WEEK, SALES, PREDICTION
    1, 55488, 68861.084076412
    2, 78336, 104816.995823913
    3, 77248, 104816.995823913
    4, 106624, 104816.995823913
    As you can see for the first row there is a value of 68861.084 and for the rest of 16 values is always one and the same 104816.995.
    Question: where is my week 18 prediction ? or maybe I should say which one is it ?
    Another way of using prediction even more confusing is against the lag table:
    SELECT week, sales,
    PREDICTION(t_svm USING a.*) pred
    FROM t_sales_lag a;
    WEEK, SALES, PREDICTION
    1, 55488, 68861.084076412
    2, 78336, 75512.3642096908
    3, 77248, 85711.5003385927
    4, 106624, 98160.5009687461
    Each row out of 17, its own 'prediction' result.
    Same question: which one is my week 18th prediction ?
    Thank you very much for all help that you can provide on this matter.
    It is as always highly appreciated.
    Serge F.

    Kindly let me know how to give input to predict the values for example script to create model is as follows
    drop table data_4svm
    drop table svm_settings
    begin
    dbms_data_mining.drop_model('MODEL_SVMR1');
    CREATE TABLE data_4svm (
    id NUMBER,
    a NUMBER,
    b NUMBER
    INSERT INTO data_4svm VALUES (1,0,0);
    INSERT INTO data_4svm VALUES (2,1,1);
    INSERT INTO data_4svm VALUES (3,2,4);
    INSERT INTO data_4svm VALUES (4,3,9);
    commit;
    --setting table
    CREATE TABLE svm_settings
    setting_name VARCHAR2(30),
    setting_value VARCHAR2(30)
    --settings
    BEGIN
    INSERT INTO svm_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.algo_name, dbms_data_mining.algo_support_vector_machines);
    INSERT INTO svm_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.svms_kernel_function, dbms_data_mining.svms_linear);
    INSERT INTO svm_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.svms_active_learning, dbms_data_mining.svms_al_enable);
    COMMIT;
    END;
    --create model
    BEGIN
    DBMS_DATA_MINING.CREATE_MODEL(
    model_name => 'Model_SVMR1',
    mining_function => dbms_data_mining.regression,
    data_table_name => 'data_4svm',
    case_id_column_name => 'ID',
    target_column_name => 'B',
    settings_table_name => 'svm_settings');
    END;
    --to show the out put
    select class, attribute_name, attribute_value, coefficient
    from table(dbms_data_mining.get_model_details_svm('MODEL_SVMR1')) a, table(a.attribute_set) b
    order by abs(coefficient) desc
    -- to get predicted values (Q1)
    SELECT PREDICTION(MODEL_SVMR1 USING *
    ) pred
    FROM data_4svm a;
    Here i am not sure how to predict B values . Please suggest the proper usage . Moreover In GUI (.NET windows form ) how user can give input and system can respond using the Q1

  • Oracle Data Mining

    Hello,
    Does anyone know if Oracle 9i Data Mining is compatible with the Oracle 8i Database? Do I have to upgrade the DB to 9i to use the DM software?

    Oracle Data Mining is available only in 9i. So you must upgrade to from 8i to 9i to get the data mining functionality.
    Note: Data Mining is an option to the 9i Enterprise Edition.
    -Sunil

  • Sample programs in Oracle Data Mining 10.1

    I have installed Oracle Data Mining 10.1.
    But I can't find the sample programs located in \dm\demo.
    How can I find these sample programs??
    Help me. Thx.

    I think they are installed during the installation of the Companion Cd of Oracle 10g.
    Simon

  • What time the Oracle Data Mining 10g  ?

    What time the Oracle Data Mining 10g ?

    If you are referring to the 10.1 release of the ODM user interface, that should be available in beta form very shortly(a couple weeks) with the final release very soon after that.

  • Is oracle data mining support to other databases to work datamining

    Dear CB,
    I am using oracle data mining and i have some doubts please clarify my doubts
    1) Is ODM talk to other database or not ,like can we use ODM to prepare data mining work using other database
    2) Is ODM supports social analytics
    Thanks inadvance
    thanks & regards
    Suresh

    Suresh,
    1) Is ODM talk to other database or not ,like can we use ODM to prepare data mining work using other database
    Yes, you can use Oracle Data Mining to talk to other databases, but ODM will need to "have" the data inside the Oracle Database during model build and model apply. You can use DB links to pull/push data to/from other Oracle and non-Oracle DBs, but all the data mining work and data transformations occur in-DB by our Oracle design. You can perform data prep, data transformation, build models and then compute dm predictions inside Oracle DB and then publish ODM results to any other dashboard/Q&R tool that can make a SQL call to Oracle to query results or ask ODM predictive model to make a real-time prediction based on current input data.
    2) Is ODM supports social analytics
    Depends on what you mean, but probably Yes. For example, we can mine unstructured data e.g. Twitter feeds and get 80% accurate Sentiment analysis. See http://www.google.com/url?sa=t&rct=j&q=mining%20twitter%20data%20clasification%20stanford&source=web&cd=1&ved=0CCMQFjAA&url=http%3A%2F%2Fwww.stanford.edu%2F~alecmgo%2Fpapers%2FTwitterDistantSupervision09.pdf&ei=Pk3VTsPOFYaIsQLknuiGDg&usg=AFQjCNGSErmPAa-n6kc_gVCCdxMRMKTeOw paper for a published tech paper that describes an approach that we have successfully replicated in-DB using ODM's text mining capabilities & Oracle Text. Add additional structured data, e.g. # purchases, $amount of purchases over time, etc. and you can have better Sentiment analysis or other types of predictive models.
    Also, ODM can perform e.g. churn analysis and include as input to the model the "friends & family" usage, activities, and demographics as enriched input data to mine. We mine Star Schemas so we can pull together a 360 degree view of customer include "social" type data e.g. # links from a friend, etc. Broad topic.... hope this helps.
    cb

  • Oracle data mining module is implemented in database?

    Hello.
    I want to know where the ODM module is implemented.
    Is it implemented inside the database?
    Or, is it implemented as an extension module of the database?
    In this case, ODM module can be plugged into the database and it can use its functionalities...

    Oracle Data Mining is an integrated component of the database engine itself. It is better not to think of it as a data mining module, but rather think of Oracle Data Mining as the Oracle database's built-in machine learning capabilities.
    If you take a look at the PREDICTION function, you will see that this is a built-in SQL function. This is not an extension, not a UDF, not a pl/sql function, etc. It can execute at the storage tier of Exadata as part of smart scan. It is similar in the way it works to a function like the built-in substr, but applies a mathematical model instead. It leverages underling database functionality that is used by many parts of the database, such as memory management, shared cursors, etc. The data flows to this function just as it does to the others built-in SQL functions.
    Some of the model training routines will craft SQL, just as is done by other database components. For example, statistics collection from dbms_stats also crafts SQL to assist in its work. However, the implementation of the mining algorithm is still C code that is part of the database codebase leveraging other underlying, specialized database functionality.
    You could not separate Oracle Data Mining and attach it to something else - it is built as part of the Oracle database.
    Ari

  • From where to download the The Oracle Data Mining sample programs for DB11g

    In the Administrator's Guide to Oracle Data Mining 11g. One of the steps is to install the the Oracle Data Mining sample programs, which, according to the author, is included in the Oracle Database Companion. The author did not specify from where to download neither the sample programs nor the database companion CD/DVD!
    I would be grateful if you could provide me with the URL that has the required download.
    Regards,

    You should be able to download ODM DB11g sample programs from the following OTN link:
    http://www.oracle.com/technology/software/products/database/oracle11g/111060_win32soft.html
    Choose 'Oracle Database 11g Examples (formerly Companion)'

  • How to get the Oracle Data Mining

    Hi
    I downloaded Oracle Database 10g r2 on Oracle's download website, and I want the ODM, but it is said in the white paper that ODM is a priced option. I'd like to know how to get it.

    Data Mining is a priced option shipped with Oracle Enterprise Edition. You can get Data Mining option by installing Oracle 10gR2 and select 'general purpose' with the pre-configured database. Data Mining option is installed as default in that choice.
    If for production purposes, customers do need to purchase Data Mining option lisence through Oracle sales.
    Xiafang

  • Oracle Data Mining VS Weka

    Everyone,
    Does anyone have already used Weka with Oracle Database? I must do a
    comparison between ODM and Weka.
    What are the advantages and the drawbacks of ODM and Weka ?
    Thank you for your answer.
    PY

    I agree with Mark Kelly, ODMr has inherent advantages of in-database mining in Oracle Database.
    I haven't used Weka much, I tried once. It basically gets the data from the database using JDBC driver and does the mining in the desktop environment.
    Another advantage of Oracle Data Miner (ODMr) is it is designed to give good prediction results very quickly even for data mining beginners who doesn't know much about the required transformations, algorithm settings etc. Especially with the Guided Analytic using "Activity" template based approach that derives intelligent defaults for the transformations, algorithm settings etc. ODMr does provide required flexibility for the advanced users who wants to control the transformations, algorithm settings etc.
    -Sunil

  • Startup guide for oracle data mining for anomaly detection

    hi
    well i have setup oralce 10g for data mining. ihae also downlaoded and nstalled demo prog.
    now im wondering how to start to develop my own model.... basically my idea is to use anomaly detection tecnuique for network traffic.
    i want ot scann network packets and mine them for anomaly. do i have to create profiles for that and if yes how?????
    A BIG DILEMMA... ANY ONE CAN PLS GUIDE, ILL APPRECIATE
    CHEERS
    ninja

    Ninja,
    You may also want to take a look at this thread in the forum:
    Re: Some Questions regarding Apriori algorithm and anomaly detection
    It has some discussion that might help.
    -Marcos

  • Oracle 9i data mining algorithm

    Does oracle 9i data mining provider decision tree and clusting algorithm?

    yes, I know that DataMining is installed, but from what I know, it should be checked before the creation of the database.
    for example I am performing the post installation steps:
    Unlock the Data Mining Accounts
    1. From a SQL*Plus session logged on as SYS, enter the following:
    alter user odm account unlock;
    alter user odm_mtr account unlock;
    Start the Oracle Data Mining Task Monitor
    1.From a SQL*Plus session, execute the following:
    connect odm/[email protected]
    exec odm_start_monitor
    this gives me an error: odb_start_monitor not defined...
    what should I do?

  • Oracle for a Data Warehouse & Data Mining Project

    Hello,
    I am working for a marketing company and we have a pretty big OLTP database and my supervisor wants to make use of these data for decision making. The plan is to create a
    data mart(if not a warehouse) and use data mining tools on top of it.
    He does not want to buy one of those expensive tools so I was wondering if we could handle such a project just by downloading OWB and Darwin from Oracle site? None of us are data warehouse specialists so it will be very though for us. But I would like to learn. Actually, I was looking for some example warehouse + mining environment implementations to get the main ideas. I will appreciate any suggestions and comments.
    Thank you

    Go to
    http://www.oracle.com/ip/analyze/warehouse/datamining/
    for white papers, demos, etc. as a beginning.
    Also, Oracle University offers a course on Oracle data Mining.

  • Oracle 9i Data Mining

    Could you please tell me what changes have to be made in the Sample_NaiveBayesBuild.property and Sample_NaiveBayesBuild.java files if i have to use my own data for doing data mining. Any help at the earliest will be highly appreciated.(The sample file uses census_2d_build_binned and the sample java and property files are Sample_NaiveBayesBuild.java and Sample_NaiveBayesBuild.property located in oracle\ora92\dm\demo\sample directory)
    -Barry

    yes, I know that DataMining is installed, but from what I know, it should be checked before the creation of the database.
    for example I am performing the post installation steps:
    Unlock the Data Mining Accounts
    1. From a SQL*Plus session logged on as SYS, enter the following:
    alter user odm account unlock;
    alter user odm_mtr account unlock;
    Start the Oracle Data Mining Task Monitor
    1.From a SQL*Plus session, execute the following:
    connect odm/[email protected]
    exec odm_start_monitor
    this gives me an error: odb_start_monitor not defined...
    what should I do?

  • Error while installing Oracle Data miner 10G Release 2

    Hello,
    I am a student involved in research in Data mining. I am new to Oracle Database and data miner.
    I installed Oracle Enterprise Manager 10g Grid Control Release 2 (10.2.0.1). Now I am trying to install ORacle data miner (10.2.0.1). However, at the time of installation ODM gives the following error:
    "specified data mining server is not compatible. 10.1.0.4.0."
    I have installed Oracle 10.2.0.1 but when I login using SqlPlus I get the following information -
    SQL*Plus: Release 10.1.0.4.0 - Production on Sun Jul 23 09:52:41 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    I would be really obliged if someone can help me with this.
    Thanks in advance
    Pooja

    Hi ,
    Download and install the product version(10.2.0.1.) of Oracle Data Mining....
    Simon

Maybe you are looking for

  • Error while creating function with record type as return type

    Hi i tried the following code to get the nth highest sal using record type and function. CREATE OR REPLACE PACKAGE pack_rec_cur AS TYPE rec_type IS RECORD ( name EMP.ename%TYPE, sal EMP.sal%TYPE);   END;The above package is created CREATE OR REPLACE

  • Won't open in Windows 7 w/Details

    I have tried everything to install and open iTunes on my computer. Windows 7 Ultimate 64 bit. It installs correctly and opens the agreement but after I agree and click okay - it goes away and nothing more happens. Task manager says itunes is running

  • How to use request Object on form submit

    Hai all, i have a JSF page having simple form, username, password field and submit button, so on submit the form i want to get the data from the request object in next page without using a bean. How can i get it? I am looking for this problem for qui

  • Server app - Groups not listing members

    Lion Server 10.7.2 Individual Users do not display their group membership and Groups do not display there individual members. It is a bit frustrating for admin purposes as I need to see what users are members of what groups. Server is currently only

  • Sender address rejected by server

    Setting up my iMac mail, and using the same settings for my mail account as I have been using successfully on my MacBook, but can't get any mail to send. I receive the message that the sender address has been rejected by the server. I have tried dele