Classification - decision tree - build result - empty tree

Hi,
Using "Activity/Build" wizard (data miner beta3), selected "classification"/"decision tree", and "default" on all other screens. The "Build" looked successful. But when I selected the "Result" link under the "Build" section from the result page, it poped up a "Result Viewer" window, with a blank page (frame) under the "Tree" tab. I assume a "decision tree"should be created and viewable under the "Tree" tab. Any idea what is wrong?
Thanks,
Jack

Hi Jack,
I think this is a known bug, but can you verify that for me?
If you launch ODMr using odminer.exe, you will also get a console window.
Now go to the tree result and try to view it.
See if the following exception displays in the console:
Thanks, Mark
java.lang.NoSuchMethodException: <unbound>=DecisionTreeActivity0.setSampledCaseT
able(Table0);
Continuing ...
java.lang.NoSuchMethodException: <unbound>=DecisionTreeActivity0.setSampledInput
DataDescriptor(ComplexDataStructure0);
Continuing ...
java.lang.NoSuchMethodException: <unbound>=SplitStep0.setSampledOutputDataDescri
ptor(ComplexDataStructure1);
Continuing ...
java.lang.NullPointerException
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createSimplePredic
ate(OraTreeModelDetail.java:898)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createCompoundPred
icate(OraTreeModelDetail.java:994)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createTreeNode(Ora
TreeModelDetail.java:791)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createTreeNode(Ora
TreeModelDetail.java:769)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createTreeNode(Ora
TreeModelDetail.java:769)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createTreeNode(Ora
TreeModelDetail.java:769)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createTreeNode(Ora
TreeModelDetail.java:769)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createTreeNode(Ora
TreeModelDetail.java:769)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.createTreeNode(Ora
TreeModelDetail.java:769)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.getTreeModel(OraTr
eeModelDetail.java:649)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.getTreeModelDetail
(OraTreeModelDetail.java:584)
at oracle.dmt.jdm.modeldetail.tree.OraTreeModelDetail.<init>(OraTreeMode
lDetail.java:265)
at oracle.dmt.jdm.supervised.classification.OraClassificationModel.getMo
delDetail(OraClassificationModel.java:251)
at oracle.dmt.dm4j.browser.viewer.classification.DecisionTreeModelViewer
$LoadTab.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)
null
java.lang.NullPointerException
at oracle.dmt.dm4j.browser.viewer.classification.TreeNodePredicatePanel.
runTimePanelLoad(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.TreeNodePredicatePanel.
<init>(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.TreeNodeDetailPane.show
Tab(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.TreeNodeDetailPane.load
Viewer(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.TreeNodeDetailPane.jbIn
it(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.TreeNodeDetailPane.<ini
t>(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.DecisionTreeSplitterPan
el.jbInit(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.DecisionTreeSplitterPan
el.<init>(Unknown Source)
at oracle.dmt.dm4j.browser.viewer.classification.DecisionTreeModelViewer
$LoadTab.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)

Similar Messages

  • Building a binary tree from a string

    I'm having trouble building a binary tree with shape described in a string.
    00 - means both left and right subtrees are empty;
    01 - means that the left is empty, and the right is not;
    10 - right is empty, left is not
    11 - neither are empty
    public BinaryTree(String s, Iterator it) {
    This constructor is supposed to build the binary tree of the specified shape and fills it with values. THe values come from Iterator it, and are placed into the tree in preorder fashion.
    I have to complete this constructor but I don't really know what to do. I was thinking I could use indexOf somehow. Any help would be greatly appreciated.
    Thanks,
    Mike

    I'd build it like this (this is from the top of my head, so no typo-free-warranties etc.) -- public class Tree {
       private Object data;
       private Tree left= null;
       private Tree right= null;
       private Tree(StringReader sr, Iterator di) {
          char l= (char)sr.read(); // left and right subtree indicators
          char r= (char)sr.read();
          data= di.next(); // set data for this node
          if (l == '1') left= new Tree(sr, di); // build left subtree
          if (r == '1') right= new Tree(sr, di); // build right subtree
       public Tree(String s, Iterator di) {
          this(new StringReader(s), di);
    } Note that the private constructor (the one that does all the work) doesn't handle incorrect strings
    at all, i.e. it'll crash horribly when the string passes contains, say an odd number of characters
    is is simply passing incorrect construction information. Also note that the Iterator must be able
    to iterate over enough elements to be set.
    kind regards,
    Jos

  • Where/How do I programmatically build the component tree?

    Hi! I'm having a lot of problems trying to make my JSF application work...
    Here's the situation:
    - I have to display a form (questionnaire) consisting of a tree (form - subforms - sections - groups - questions - checkboxes/dropdowns...). Each of these parts are custom components, with custom renderers.
    - This display is only a small part of a wider application (so the custom ViewHandler solution seems impossible to me), and it is done in an imported jsp (using <jstl:import ...>). In this jsp, there is only one component, representing the "root" of the questionnaire, because the structure of the questionnaire is unknown at the beginning.
    - I need to build programmatically (in Java) the component tree of my questionnaire (according to the structure loaded from a database) and integrate it in the component tree of the whole application.
    - The problem is I can't get this to work properly in the JSF lifecycle (either the restoreState/saveState methods aren't called, or the "main" tree doesn't contain my "sub-tree" although everything is rendered properly...). I searched on a lot of forums, I tried a lot of solutions (new UIComponent() vs. application.createComponent(...) / create the tree in the component constructor vs. in the component renderer... ) but none of them seemed to meet my requirements, since it seems to be a tricky situation.
    So, does anyone knows how to achieve this? How and where to build my component tree?
    (ask me if a you need more information about my code!)
    Thanks in advance!!
    Adriano

    Bit_happens wrote:
    - I'm using the "createComponent" method to build my tree (instead of just calling the component constructor), is that right? For example:
    UISubform subformComponent = (UISubform) application.createComponent(UISubform.TYPE);
    //UISubform subformComponent = new UISubform();What is the difference with the plain constructor call?You are not implementation dependent then.
    - Apparently, I have to explicitly add the panelGroup to the component tree, or else it won't be part of the tree. Is that normal? Shouldn't JSF add it to the tree automatically when it finds it in the JSP? I have to do the following:
    UIComponent parent = facesContext.getViewRoot().findComponent("form_subview").findComponent("main_form");
    parent.getChildren().add(panel);
    panel.setParent(parent);- Is there a difference between creating the "sub-tree" in an ascending way, or in a descending way? I.e. first creating the leaves and then going up the branches until I plug the root component into the main tree, or first creating the root component and then going down the branches until all the leaves are created?No, there isn't.
    - I think my custom components themselves should be right, and they're declared in faces-config. It looks like the panelGroup doesn't renders its children, but it should by default, right? When I look at the rendered page source code, the panelGroup is empty:
    <span id="form_subview:main_form:formPanel"></span>- Do you think of anything else I should check? Any tricky setting I could have forgot?Try adding existing components to the panelGroup, e.g. HtmlOutputText. If that works, then I rather think there is a flaw in your component.

  • Building Binary Searh Tree with multiple types (hint hint Generics?)

    I have built binary search trees before and even wanted to build a B+ tree for primary indexes but my Professor suggested limiting to BST.
    My question is can I build a BST with a generic type parameterized code using Comparable and Generics to help me insert numeric and non-numeric (String) type nodes using the requirement that anything less than the root go left, greater than or equal to the root go right. There will be no duplicates.
    This is definitely new territory for me so any help is appreciated.

    Always Learning wrote:
    I have a Comparable<Object> x I would like to compareTo(Some other Comparable<Object>) but I know I am going about this all wrong.
    Essentially I want to be able to compare String lexicographically or integers/floats in order to properly insert them into a binary search tree and I wanted to use the Java language constructs of the Comparable interface and possibly generics to do it.
    This would result in a simple String1.compareTo(String2) or int1.compareTo(int2) etc.So it sounds like you actually have a Comparable<T>; or possibly a Comparable<String>, where all your types are first converted to Strings (however, in the case of ints, that probably means adding leading '0's).
    The generics tutorial suggests that you use Comparable<? super T> in cases of arbitrarily comparable items; however, I think you first need to decide how your comparisons are going to be done. For example, how does a String compare to an Integer in your scenario?
    Winston

  • How do I build a family tree on macbook pro

    Any suggestions/recommendations on how to build a family tree on my MacBook Pro? Should I use Numbers or Pages? I am used to using Window based programs. Not interested in paying $100 for a template.
    I am starting with my grandparents, then their 8 children (my aunts and uncles), then my generation (cousins), then our children, and 1 more generation. Would like to add birth/death/married dates, and possiblly geographical info.
    I appreciate your help and time - thank you.

    Best of all would be an application designed for the purpose, such as (for example) MacFamilyTree, but you can make a mock family tree using cells in Excel or Numbers.

  • Console's left pane (tree view) is empty!!! Anyone has same experience???

    HI,
    My weblogic console view's left pane (used to show the tree view)
    is empty. It only shows an icon (indicating something is missing).
    Does anyone has similar experience before and know the solution
    to fix this?
    Thank you,
    Terrence

    The console's left pane is an applet. Make sure the java
    plugin is properly installed on your desktop.
    Kumar
    Terrence Leung wrote:
    HI,
    My weblogic console view's left pane (used to show the tree view)
    is empty. It only shows an icon (indicating something is missing).
    Does anyone has similar experience before and know the solution
    to fix this?
    Thank you,
    Terrence

  • ERROR BUILDING SPATIAL R-TREE INDEX

    I tried building an R-tree index on a spatial table containing latitude/longitude points. There are only 9000 records in the table.
    I get the following error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13200: internal error [Unsupported Type] in spatial indexing.
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1
    Can anyone help?

    MY ORACLE version number is 9.0.1.0.0
    My table name is GEOM_FIX, the column that I tried to index is FIX_NAME VARCHAR2, where FIX_NAME is a unique identifier.
    My spatial index create script is:
    CREATE INDEX NDX_GEOM_FIX ON GEOM_FIX (FIX_NAME)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX

  • After updating a program (Family Tree Builder), I started Firefox and now have a special tool bar for My Genealogy every time I start up....did not ask for it, don't want it....deleted the program, but how do I fix Firefox?

    I then deleted Firefox as a program and lost all my bookmarks, special apps....how do I delete the special tool bar (and start page) without having to delete Firefox and my setups.

    Hi ed652gray. You may uninstall the toolbar on the Control Panel, using the "Uninstall a program" option. Look for something like "Family Tree Builder Toolbar" or "My Genealogy Toolbar".
    If you only want to hide the toolbar, you can check this article:
    https://support.mozilla.org/en-US/kb/how-do-i-customize-toolbars?s=toolbar&r=3&e=es&as=s#w_how-do-i-show-and-hide-the-different-toolbars
    And to restore your default home page, you can check this article:
    https://support.mozilla.org/en-US/kb/How%20to%20set%20the%20home%20page?s=home+page&r=0&e=sph&as=s#w_restore-the-default-home-page

  • Error When building ess/tra/tre and ess/tra/tre/trs DC's

    I had customized the ess/tra/tre and ess/tra/tre/trs DC's and had them working, but I do not know what I did or what happened that am now getting the following errors when building, can anyone help tell what the problem could be?
    Error                                     
    -     The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.xss.tra.model.openccmodel.OVSOpenCostcenterModel. Fix the classpath then try rebuilding this project.               
    -     HDI_HNS15.02_Desstratresap.com                              
    Error                                     
    -     This compilation unit indirectly references the missing type com.sap.xss.tra.model.openccmodel.OVSOpenCostcenterModel (typically some required class file is referencing a type outside the classpath)        
    -      InternalVcTreReview.java          
    -      HDI_HNS15.02_Desstratresap.com/gen_wdp/packages/com/sap/xss/tra/tre/vc/review/wdp      
    -     line 0

    For anyone who might need to know, I managed to fix this by adding tra to the required projects on the build path. On the Navigator View, right click -> Properties -> Java Build Path -> Projects tab -> check dependant project.

  • Classification SVM - Build - Results - No Coefficients

    Hello gurus!
    I ran a Classification SVM activity.
    I have one variable which I used for text mining (categorical to text, sparse).
    I was expecting to see the coefficients of the Build Results. On the other hand, I did not see any Coefficients tab.
    What did I miss?
    Oracle 10g
    ODM 10.2.0.4.1
    Thanks a lot!
    Regards,
    Manoy

    Hi,
    I found the solution.
    Just choose 'Linear' for the Kernel function in the Build settings.
    I usually select 'System Determined'. If the system chooses Gaussian, it doesn't show the coefficients.
    So, I tried manually setting it to 'Linear', and tada! That's it. :)
    Regards,
    Manoy

  • Copy tree structure to another tree structure

    I have a tree, but I want to copy this structure to another structure.
    say I got a tree model:
    1
    2 3
    4 5 6
    2,3 are the children of 1;
    4 is the child of 2; 5,6 are the children of 3.
    after I have got this structure, I want to build a tree structure in this way:
    object1
    object1.add(2),object1.add(3)
    object2.add(4)
    object3.add(5),object3.add(6);
    I want to build a dynamic tree, so i cann't do this, I need a way to build a tree from any tree model into such a tree structure.
    thanks!

    Hi jiangyubao!
    To copy a tree to another tree, each node (obejct) in the tree needs to have a method that can return the children of that node, all the objects one level below this node in the tree. Then you can copy the tree using a loop that looks a little bit like this:
    public void copyTree(newTree, oldTree){
    TreeNode children[] = oldTree.children();
    for(int i=0; i<children.length; i++){
    newTree.add(copyNode(children);
    public TreeNode copyNode(TreeNode oldNode){
    //the call to the constructor of the TreeNode should
    // copy the data from the TreeNode passed as argument
    TreeNode newNode = new TreeNode(OldNode);
    TreeNode children[] = oldNode.children();
    for(int i=0; i<children.length; i++){
    //call this method again recursively to get down through
    // all levels of the tree.
    newNode.add(copyNode(children[i]);
    And that should be it. Any questions, just fire :-)

  • Query Builder results seem to max out at 500 lines.  How to change?

    Hi all,
    Some of out Application Express users are using the Query Builder tool for ad-hoc reporting. The idea is to run the SQL to extract the data, then download to MS Excel. The Query Builder results seem to max out at 500 lines. I want to increase that value. I searched all Application Express forums for 'query builder output max 500' and then 'query builder output' and did not find the answer.
    How do I change the 500 line limit in Query Builder results?
    Thanks!
    Application Express 3.1.2.00.02
    Oracle 10g
    Standard PDF printing (not BI Publisher)

    Bryan,
    Here is a link to an HTML-DB studio application, that is a QBE "replacement" for the query tool in APEX development..
    http://htmldb.oracle.com/pls/otn/f?p=18326:7:1387557504245687::::P7_ID:1222
    It is for an older version of APEX, but you should be able to make it work for your needs..
    Thank you,
    Tony Miller
    Webster, TX

  • How to build a BIG TREE with Tree-Form layout

    Hi,
    I do have a self-referenced table with our org structure - 15 000 positions.
    I do want to create a tree with this structure.
    Requirements :
    a, to have a tree-form layout
    b, to have search capabilities
    I have tried to use several combinations (maybe all)
    - from using only one View object and create recursive tree - doesn't even run
    - to use two View objects, first as top level nodes, the other as the rest - it runs
    but I can search only top level, and what is worse, by clicking on the node for showing additional information (tree-form layout) I'm waiting for ages for seeing the info
    (it seems that all records are loaded one by one into AS)
    Could you provide some ideas how to deal with this ?
    Thanks.

    I am sorry, this is beyond the scope of this forum.
    As with any functionality not directly provided by JHeadstart, you can build it yourself using the ADF design time tools in JDeveloper. Please use the JDeveloper forum for help on this first step.
    Then, to keep your pages generatable you can move these customizations to custom templates. We are happy to help you with this last step, should you have problems there.
    Steven Davelaar,
    JHeadstart Team.

  • Right way to build / use quad tree?

    Hi, the quadtree data stucture seems so simple, and fits alot of problems, but coding it properly is a problem.
    The purpose of the tree is to find which objects are with in a visible area.
    So each node has dimensions x,y,width, height. And child a,b,c,d. Plus a object list.
    The main method to build the tree is the nodeSplit(), which needs to find the mid points on each edge and the center point, and create the child nodes, continuing to split until a min size is reached.
    Sounds simple, its just not working for me!
    The other part of the question is how should each node hold the objects in its bounds. Should an object be only in the smallest node that contains it. Or should the root node contain all objects, with each level having less and less objects?
    Objects will move around, so should each node contain a int[] of object indexes, instead of the actual objects?
    Id really appreciate any help!
    Thanks, Harley.

    Sounds simple, its just not working for me!Can you post your code?
    The other part of the question is how should each node hold the objects in its boundsI wouldn't use either of your suggestions. Instead, I'd have separate rules for a leaf node and a branch node. A leaf node holds any object it overlaps. A branch node holds objects which contain it but don't contain its parent.
    Objects will move around, so should each node contain a int[] of object indexes, instead of the actual objects?Of course not. You're storing a reference to the object, which takes up the same amount of memory as an int. And I'd use a Set rather than an array.

  • Building the swing tree  -- GR8 JAVARIANS PLEASE HELP

    I need to create a swing tree where i have set of co-ordinates in a array.
    My array contains the following value
    1.1.1.2
    1.1.3
    1.2.3
    2.6.2
    Based on this array i need to create the tree structure
    in the above co ordinates
         1.1.1.2 ->First level - First node (parent)
         1.1.3 --> should be the child node for 1.1.1.2 since this the only coordinate which is in the next level (child for      1.1.1.2)
         1.2.3- This should be the next level (2nd level)
         2.6.2- This should be the 3rd level
    My array is dynamic how to build the tree using co-ordinates?.. is there any algorithm ? API ?
    HELP NEEDED !!!!

    I'm glad you recognise that an API is what you need. You'll find one by clicking on the link on the left labelled APIs.

Maybe you are looking for

  • Logging to Oracle 11g

    Hello, I am a new user for Oracle 11g. After the successful installation when I tried to Logging to SQL Plus Command Prompt with username and Password .Its throws the following set of errors Error Message Enter user-name: myOracle Enter password: ERR

  • Pavilion g6 compatible wireless cards

    Hi, I bought a pvilion g6 and to my dismay found that it cannot connect to my router running in 5ghz mode. Rather than buy an adapter i am looking to replace the wireless card for one that will do what i want, so my question would be what is a suitab

  • Converting a tri-fold to flash

    I am trying to convert a trifold brochure with the first page opening to the left and the inside page opening out to the right to reveal a center page. I have worked with page flip to create booklets in flash, but not sure how to create a file with b

  • Install iCloud backup from iPhone 4 6.1.3 to new iPhone 5 6.0.1 won't work.

    I'm trying to install my icloud backup from my iPhone 4 os 6.1.3 to my new iPhone 5 os 6.0.1. When I put in my iCloud info into my iPhone 5, it tells me that no backups are compatible with the iOS of the new phone. What can I do to get the iCloud bac

  • MacBook Pro starts but shuts down

    My laptop was in sleep mode for about 4 days. I try starting up now and it will not complete the startup process. I see a white screen then the progress bar at bottom and then it just shuts off. How do I get the MacBook to fully start up again. It is