Association rules Java API (non-transactional data)

Hi
I am looking at the demo java program (dmardemo.java) for association rules.
This iconverts the data from transactional format to non by using a nested column.
In my case the data are already non-transactional do I have to create a nested column or the model can be build based on the original columns?
Thank u
Kate

Hi Kate,
Here is what we provide for ODM 10.2 (thanks to Kathy from our doc team in compiling this for me).
The following are db docs provided by Oracle, with sections noted that contain more info on transformations.
You can go to this link to view them: http://www.oracle.com/pls/db102/homepage
Concepts - Chapter 2 (general data prep)
Application Developer's Guide - Chapters 2 (general data prep), 5 (text transformation), and 7 (Java data prep).
Java API Reference (javadoc)
PL/SQL Packages and Types Reference -- DBMS_DATA_MINING_TRANSFORM. In 10.2, the source code is still available.
Here are a few more sources:
Sample programs (The source code and embedded comments are quite helpful)
View this at: http://www.oracle.com/technology/products/bi/odm/index.html
ODMr Tutorial -- Chapter 2
View this at: http://www.oracle.com/technology/products/bi/odm/odminer.html
There is also a book on the java api that is out.
You can go to Amazon and check it out:
http://www.amazon.com/Java-Data-Mining-architecture-implementation/dp/0123704529/sr=8-1/qid=1172519948/ref=pd_bbs_sr_1/105-8560904-8042036?ie=UTF8&s=books
In ODM 11, there have been alot of improvements related to transformations, but I can say anything about that until ODM 11 is released.
Thanks, Mark

Similar Messages

  • Non transactional data source and ejb transaction

    Inside an ejb method with trans-attribute = Required,
    Do a bunch of things using a transactional data source and a bunch of things using
    a non trasnactional data source.
    Looks like the time spent doing the non-transactional data source related work
    does not count for the transaction timeout defined for the ejb.
    So, what happens here, the ejb transaction is suspended ( when I start using the
    non transactional ds ) ?

    Hi,
    "siddiqut" <[email protected]> wrote in message news:3fa7c79d$[email protected]..
    Inside an ejb method with trans-attribute = Required,
    Do a bunch of things using a transactional data source and a bunch of things using
    a non trasnactional data source.
    Looks like the time spent doing the non-transactional data source related work
    does not count for the transaction timeout defined for the ejb.
    So, what happens here, the ejb transaction is suspended ( when I start using the
    non transactional ds ) ?The transaction is not suspended when you call something
    which is not non-transactional.
    Regards,
    Slava Imeshev

  • Where can I find the complete Oracle Business Rules Java API Reference ?

    Does anybody know where to get the complete Oracle Business Rules Java API Reference ?
    The version on http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b28966/toc.htm is incomplete. It is missing the entire "oracle.rules.sdk.ruleset" package.
    Ki

    Kim,
    The oracle.rules.sdk.ruleset package is only for internal operation. The public interface to creating rules is oracle.rules.sdk.editor.ruleset , and this is included in the javadoc.

  • Generate Association rules using Oracle 10 g Data Mining Tool

    Hi,
    How to Generate Association rules using Oracle 10 g Data Mining Tool ?

    As far as I remember in 10g it is pretty much the same
    http://download.oracle.com/docs/cd/B28359_01/datamine.111/b28129/market_basket.htm
    Regards,
    Husnu

  • Need Help for Non Transactional Data

    Hi,
    I need your help for getting the non-transactional data. I am looking for some solution where I can have employee list with both transaction and non transaction along with the measure in the report.
    Thanks in advance.
    Phani.

    Looks like you either want a procedure with OUT parameters, or to return a record (which you'd need to declare somewhere that your function and calling procedure can both see)

  • Association rules ( non - transactional data)

    Hi
    Is there a way to calculate association rules in a table that its not in a transactional format? In my case the data is like that:
    fid attribute1 attribute2 attribute3
    1
    2
    3
    If not is there an easy way to convert it to a transactional format?
    Thank you very much
    K

    It is possible to do it with ODM using the APIs (PL/SQL and Java). One needs to be careful as, usually, data in the format like yours are not sparse. In this case you should start with a large value for support and confidence to avoid generating too many rules and running out of system resources.
    ODMR 10.2, however, only supports association rules (AR) on transaction data. AR models built using the APIs can be viewed through ODMR.
    --Marcos                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is there a Java API for Tree data structure?

    Hi,
    I am wondering is there any Java API to work on Tree based data structure.
    I could read in some forums / sites that teach me how to create tree based objects using collection.
    But I wanted to know is there any core java API that can be used directly for tree based operations. (like binary tree or other type of trees)
    Please comment on this doubt.

    Headed using google and other stuff not found one.
    Suggestion: Why not start building the one, its a good idea to do that, isn't it.

  • Association rules java code

    Hi
    I am trying to run the demo java code for the association rules
    but it doesn't import everything. The following imports give
    an error.
    import javax.datamining.ExecutionHandle;
    import javax.datamining.ExecutionState;
    import javax.datamining.ExecutionStatus;
    import javax.datamining.JDMException;
    import javax.datamining.MiningAlgorithm;
    import javax.datamining.MiningFunction;
    import javax.datamining.NamedObject;
    import javax.datamining.SortOrder;
    import javax.datamining.association.AssociationModel;
    import javax.datamining.association.AssociationSettings;
    Any ideas?
    Thank u very much
    K

    ------SOLVED-----

  • Java API that extracts data form Internet Explorer (when user highlights)

    Hi all,
    Need advice on "How to extract data from Internet explorer when user highlights a word (or paragraph)"?
    Sample code will be greatly appreciated.
    Thanks in advance
    regards
    DIlip

    Hi tolmank ,
    Really appreciated your prompt reply.
    Thanks again
    Regards
    Dilip

  • Association Rules Error - Numeric argument "{0}" is invalid

    I am running the sample association rules code on some different data (have changed the properties file to point at my data). The system is generating the association rules (I can see them in the database), but when it gets to the display step, I get the follow exception:
    oracle.dmt.odm.MiningObjectException: Numeric argument "{0}" is invalid. Value must be {1}.
    at oracle.dmt.odm.rule.RuleComponent.<init>(RuleComponent.java:37)
    at oracle.dmt.odm.internal.rule.ARMiningRuleCursor.getNextRule(ARMiningRuleCursor.java:127)
    at Sample_AssociationRules.printRuleSet(Sample_AssociationRules.java:352)
    at Sample_AssociationRules.displayAssociationRules(Sample_AssociationRules.java:381)
    at Sample_AssociationRules.main(Sample_AssociationRules.java:171)
    I am running 9.2.0.1.0 on Windows XP and haven't applied any patches yet.
    Any help appreciated,
    James

    Please repost on the PL/SQL OTN forum. This forum is XMLDB functionality specific.

  • Step by Step to access custom Java API in Application Service.

    Hi Experts,
           I have a situation to access the custom Java API in CAF. The Java API fetches the data from MDM. I need to get the data from that API and and use it in the CAF Application Service layer? Is there a way to access the JAVA API in the Application Service Layer? If so please do help me out. Step by Step solution would be appreciated.
    thanks in advance.
    Regards
    Ketan

    Hi Ketan,
    You can do it in two ways.
    1. You can create your own custom class in the ejbmodule which you can see in the Navigator view.
    2. You can have a ear having the custom class. This ear will be in a separate DC and CAF will have dependency to it.
    Regards,
    Srinivasan Subbiah

  • Compound char and transaction data

    Hi experts
    We have a new characteristic ZCONTRACT.
    A few master data datasources delivers this new object with attributes.
    ZCONTRACT consists of time dependent attributes and additionaly this field ZOBJ_NO (object number).
    ZOBJ_NO is compounded to ZCONTRACT, reason:
    ZCONTRACT
    ZOBJ_NO
    DATETO
    DATEFROM
    ZOBJ_TY
    ZDISCONT
    80245202
    7000000458
    31.12.9999
    01.01.1000
    1
    80245202
    7000000460
    31.12.9999
    01.01.1000
    6
    80245202
    31.12.9999
    01.01.2014
    2
    Characteristic ZDISCONT is time-dependent and has no relation to compounded field ZOBJ_NO.
    ZOBJ_TY (object type) is delivered with ZCONTRACT and ZOBJ_NO from one datasource; at this place the valid dates are set constant.
    ZOBJ_NO and ZOBJ_TY are non-transactional data relevant, meaning that there is no split or logic in the transactional data including these fields.
    The business requirement is to report over ZOBJ_TY.
    The idea was to use ZOBJ_TY as active navigational attribute in the infocube.
    While assigning ZCONTRACT to the infocube, the compounded field ZOBJ_NO automatically is assigned to the cube.
    Now, as there is no logic for this field ZOBJ_NO (and also ZOBJ_TY) in the transactional data, I recognized that it is not possible to solve it through this way.
    Do you agree? Are there any other ways to realize this requirement?
    Thanks

    Hi Thomas,
    ok, it get's a bit more complicated.
    As I understood 0CML_CASHFLOW only returns ZCONTRACT, but not compounded to ZOBJ_NO. ZDISCONT is part of 0CML_CASHFLOW.
    IF you follow the approach above, you have to duplicate your data from 0CML_CASHFLOW to new DSO.
    Example:
    ZONTRACT ZOBJ_NO 0DATETO ZOBJ_TY
    1                  1                 1.1.2013    1
    1                  1                  1.1.2014   2
    2                  1                  1.1.2013   1
    2                  2                  1.1.2014   3
    As you said is ZDISCONT time-dpendent.
    So data in 0CML_CASHFLOW looks like that
    ZCONTRACT   0DATETO ZDISCONT
    1                        1.7.2013    1
    1                        1.3.2014     2
    2                        1.3.2012     1
    2                        1.4.2013     2
    2                        1.5.2014     3
    Now you have to find for each contract the correct validity period from master data and create correpsonding records:
    Goal is following records in New DSO, if I understood correctly:
    ZCONTRACT   ZOBJ_NO    0DATETO   ZOBJ_TY   ZDISCONT
    1                               1          1.1.2013         1              1
    1                               1           1.1.2014         2              2
    2                               1           1.1.2013         1              2
    2                                2          1.1.2014         3              3
    For this you need a lookup in the endroutine in transformation from 0CML_CASHFLOW to new DSO which finds for each ZCONTRACT the corresponding ZCONTRACT master data entry and creates the ZDISCONT value in New DSO.
    Regards,
    Jürgen                 

  • Non-transactional datastores

    In the WebLogic 5.1 documentation it mentions that for non-transactional
              datastores in a cluster that you can use a custom "dictionary" object to
              keep track of which webLogic server instance is currently hosting a given
              entity bean. This approach is used to insure the integerity for entity EJBs
              in the cluster.
              My question is, has anyone done this or does someone at WebLogic have an
              example or additional information on what all is required to implement this
              "dictionary" object?
              Thanks in advance,
              Michael
              

    I would suggest that you use read-only entity beans for caching
              non-transactional data. Much of the data on websites is
              non-transactional and can be cached for a while.
              For transactional data, I would use a regular entity bean and incur the
              overhead of going to the db.
              -- Rob
              Michael Rousey wrote:
              >
              > I am runningWL 5.1 in a clustered environment. I have an entity bean which
              > represents a complex hierarchy of objects. I would like to be able to take
              > advantage of a caching mechanism so that every call to the bean does not
              > force a reload from the database. In order to accomplish this I need to
              > either guarantee all calls to a single instance of the bean go to a single
              > machine(so the cache is in sync with the DB), or have a clustered cache(I
              > don't want to try and tackle this). The documentation under "entity EJBs
              > in a cluster" talked about a "dictionary" object that appears to act as a
              > router. The idea is for the dictionary object to keep track of which
              > instance of the bean is deployed on a specific machine in the cluster. All
              > actors would use the dictionary to obtain the specific instance of the bean
              > they need. If the instance is new, then WL would create a new instance in a
              > normal fashion; the dictionary object would keep track of the new instance
              > and forward and new request to the machine where the instance was created.
              > This is similar to factory based routing in WLE.
              >
              > Any help on how to implement this or any additional ideas would be helpful.
              >
              > Thanks,
              >
              > Michael
              >
              > "Rob Woollen" <[email protected]> wrote in message
              > news:[email protected]...
              > > Hmm, I'm not sure what the docs were talking about here.
              > >
              > > Can you provide some more details about what you are trying to do?
              > >
              > > -- Rob
              > >
              > > Michael Rousey wrote:
              > >
              > > > In the WebLogic 5.1 documentation it mentions that for non-transactional
              > > > datastores in a cluster that you can use a custom "dictionary" object to
              > > > keep track of which webLogic server instance is currently hosting a
              > given
              > > > entity bean. This approach is used to insure the integerity for entity
              > EJBs
              > > > in the cluster.
              > > >
              > > > My question is, has anyone done this or does someone at WebLogic have an
              > > > example or additional information on what all is required to implement
              > this
              > > > "dictionary" object?
              > > >
              > > > Thanks in advance,
              > > >
              > > > Michael
              > >
              

  • How to do exact word search using Java API

    Hi,
    Can someone tell me how can I write a search query using Ultra Search Java API to return data containing a full word that is sent as a search
    parameter. e.g. If I want to search for a word 'Dictionary' I need to get all the results conatining full word Dictionary for example if I
    have following 4 records
    1. Dictionary
    2. English Dictionary
    3. French Dictionary
    4. AllDictionary
    How can I write a query that returns me first 3 records only as they contain the word 'Dictionary' and not the fourth record as it's not a word.
    Here is what I need to get back and ordered in that way as the 'Dictionary' needs to be first record because the search is on Dictionary.
    1. Dictionary
    2. English Dictionary
    3. French Dictionary
    Any help is appreciated.
    Thanks

    Looks like we can not do an exact word search using Java API.

  • Data for Association rules

    Hi,
    I want to apply an AR model to data that are not "Transactional Data" but "Single-record case data".
    Is it possible to do it with Oracle Data Miner (SQL3) ?
    The docs says :
    "Association Rules is normally used with transactional data, but it can also be applied to single-record case data (similar to other algorithms)."
    But I don't found how !
    TKS

    Hi,
    The Association node in ODMr only takes transactional data input, BUT, you can create a AR model using 2d data using the API and then use the Model node in ODMr to pull the AR model in for viewing.
    See simple script below that can be run in SQL Developer Worksheet as a script:
    BEGIN
    DBMS_DATA_MINING.CREATE_MODEL(
    model_name => 'AR_2D_MODEL',
    mining_function => dbms_data_mining.association,
    data_table_name => 'mining_data_build_v',
    case_id_column_name => 'cust_id');
    END;
    See the server api for more details on how to change the default settings for the create_model operation.
    http://www.oracle.com/technetwork/database/options/odm/odm-documentation-170506.html
    Thanks, Mark

Maybe you are looking for

  • IIS as Content Server

    Dear guys, we are planning to bypass the Enterprise Portal and separating the content player in separate host and Content Repository  in separate host. adding to that we are planning the Content Server by using IIS. The operation speed of the Enterpr

  • Migrate database 8.1.7.3 to 10.2.0.2

    Hi, I must migrate my database 8.1.7.3 to 10.2.0.2 but my question is First migrate 8.1.7.3 to 8.1.7.4 and 8.1.7.4 to 10.2.0.2 or migrate 8.1.7.3 to 9.2.0.2 and 9.2.0.2 to 10.2.0.2. Regards

  • Graph not initialized: is it possible?

    Is it possible to have a graph without initialization? I mean I would like that it could keep the plots from the previous run of the vi, so that at the following run the new plots could be superimposed on top of the old ones without the old being cle

  • Adobe Indesign CC 9.1 and Adobe Indesign CS6

    Hello, I am really new to indesign and bought Adobe Indesign CS6 for the office. I took a course on indesin and made a SWEET template for my work newsletter and was beyond thrilled to open it up at work. Well low and behold I go to open it and it say

  • EWM - Batch Management at material/plant

    How can I manage batches at material/plant level within EWM?  I am being told that EWM does not allow batch management at material/plant level. It allows batches only at material level. Can someone please shed light? Thanks, Satish