Problem in Exploring the Decision Tree Model on Lesson 4 Basic Data Mining SSAS

Hello everyone,
I've tried to follow all the steps mentioned in Basic Data Mining Tutorials, but I've an odd problem in the Lesson 4 - Exploring the Decision Tree Model (http://technet.microsoft.com/en-us/library/cc879269.aspx).
It's stated that "As you view the TM_Decision_Tree model
in the Decision Tree viewer, you can see the most important attributes at the left side of the chart. “Most important” means that these attributes have the greatest influence on the outcome. Attributes further down the tree (to the right of the chart) have
less of an effect. In this example, age is the single most important factor in predicting bike buying. The model
groups customers by age, and then shows the next more important attribute for each age group. For example, in the group of customers aged 34 to 40, the number of cars owned is the strongest predictor after age."
But, I got a different result from what mentioned in the tutorial. I got the number of cars owned as the most important attribute, then followed by the attribute age.
Do you guys know why?
Thanks in advance

HI,
BEGIN
   INSERT INTO DT_CA_SETTINGS_TEST (SETTING_NAME, SETTING_VALUE) VALUES
   (dbms_data_mining.TREE_TERM_MINPCT_NODE,to_char(1));
END;
That is not "Mode" its "NODE".
Now Execute.
Cheers..

Similar Messages

  • Failed to open model viewer error, for Decision Tree Model

    Oracle 11.0.2
    SQL Developer 3.0.04
    I am trying to follow ODM tutorial here :
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/bidw/datamining/ODM11gR2.htm
    After completing initial analysis, I want to investigate the Decision Tree model more closely. As I choose View Models > CLAS_DT_1_1, I get an error message:
    Failed to open model viewer
    Details are:
    java.lang.RuntimeException: not instanceof RoundedTreeNode
         at oracle.dmt.dataminer.mviewer.dtree.model.TreeNode.assignPropertyChangeListener(Unknown Source)
         at oracle.dmt.dataminer.mviewer.dtree.DecisionTreeEditor.setPropertyChangeListener(Unknown Source)
         at oracle.dmt.dataminer.mviewer.dtree.DecisionTreeEditor.open(Unknown Source)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:283)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:184)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:95)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:232)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:195)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:102)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:379)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1403)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1337)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1263)
         at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame(EditorUtil.java:164)
         at oracle.dmt.dataminer.workflow.WorkflowContextMenu$2.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
         at java.awt.Component.processMouseEvent(Component.java:6504)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
         at java.awt.Component.processEvent(Component.java:6269)
         at java.awt.Container.processEvent(Container.java:2229)
         at java.awt.Component.dispatchEventImpl(Component.java:4860)
         at java.awt.Container.dispatchEventImpl(Container.java:2287)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
         at java.awt.Container.dispatchEventImpl(Container.java:2273)
         at java.awt.Window.dispatchEventImpl(Window.java:2713)
         at java.awt.Component.dispatchEvent(Component.java:4686)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
         at java.awt.EventQueue.access$000(EventQueue.java:101)
         at java.awt.EventQueue$3.run(EventQueue.java:666)
         at java.awt.EventQueue$3.run(EventQueue.java:664)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
         at java.awt.EventQueue$4.run(EventQueue.java:680)
         at java.awt.EventQueue$4.run(EventQueue.java:678)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    I get this error for Decision Tree Model only. For other models, there is no problem. How can I fix it?
    Thank you.

    After setting system language to English, be sure to restart SQL Dev to retry the test.
    Make sure you have the latest patches installed.
    Go to menu: Help-> About. In the About dialog, select the Extensions tab and check if you have Data Miner version 11.2.0.2.04.40. If not, go to menu Help->Check for Updates, and install the SQL Developer and Data Miner patches.
    SQL Dev 3.0 is not certified with Java 7.
    Thanks,
    Marat
    Edited by: mspivak on Jan 10, 2012 12:33 PM
    Edited by: mspivak on Jan 10, 2012 12:33 PM
    Edited by: mspivak on Jan 10, 2012 12:34 PM

  • Plotting a Trained Decision Tree Model

    Is it possible to plot an Azure based decision tree similar to what is done in R?  That is, a mapping of the splits at each node level with summaries in each of the leaf nodes.  It is helpful info to understand how the tree is splitting but even
    more helpful in providing the client with a decision path that they can follow.

    Hello,
    Unfortunately not - this is feedback we've received and are working to implement on many of our learning algorithms: improved visualization/transparency into their details.
    We'll report back as we make progress on this!
    Regards,
    AK

  • Problem when importing the complex bean model into webdynpro

    hi all,
    when importing the complex bean model into the webDynpro, it was returning the blank.
    Thanks in advance

    Hi,
      show your code for see and understand what could be wrong.
    Here one mine example:
    The model class
    * Created on 27-ott-2006
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    package tmp.userslist.comp.model.userslist;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import javax.sql.DataSource;
    import java.util.Collection;
    import java.util.ArrayList;
    import java.io.Serializable;
    * @author rtagliento
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class AllUsers {
    // implements Serializable {
         private Connection con;
         private ResultSet rs;
         private Statement stmt;
         private String SqlQuery;
         private Collection usersList = null;
         private UserElement users = null;
    //     private Collection empDetailsList=null;
    //     private EmpDetailsHelperClass  empdetails=null;
         public AllUsers(){
              con = null;     
              java.sql.ResultSet rs = null;
              rs = null;
              SqlQuery  = "SELECT * FROM TMP_USERSLIST ; ";
         public Connection getConnection (){
                   return con;
         public void setConnection (Connection c){
              con = c;
         public Collection getUsersList()
              return usersList;
         public UserElement getUsers()
              return users;
         public void setUsers(UserElement class1)
              users = class1;
         public void execute() throws Exception {
              String DEBUG = new String("");
              try {
                   stmt = con.createStatement();
                   rs = stmt.executeQuery(SqlQuery);
                   usersList = new ArrayList();
                   usersList.clear();
                   while (rs.next()){
                        users = new UserElement();
                        users.setID(rs.getString("ID"));
                        DEBUG += "ID: " + rs.getString("ID") + " | ";
                        users.setName(rs.getString("NAME"));
                        DEBUG += "NAME: " + rs.getString("NAME") + " | ";
                        users.setSurname(rs.getString("SURNAME"));
                        DEBUG += "SURNAME: " + rs.getString("SURNAME") + " | ";
                        users.setBirthDay(rs.getDate("BIRTHDAY"));
                        DEBUG += "BIRTHDAY: " + rs.getDate("BIRTHDAY").toString() + " ---------- ";
                        usersList.add(users);
                   rs.close();
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
                   throw new Exception(e.toString() + DEBUG);
    //          throw new Exception(new Integer(usersList.size()).toString() + DEBUG);
    when use it:
         AllUsers AllU = new AllUsers();
    //     AllU.setConnection(myJdbc.getConnection());
         wdContext.nodeAllUsers().bind(AllU);
         wdContext.currentAllUsersElement().setConnection(myJdbc.getConnection());
         try {
              wdContext.currentAllUsersElement().modelObject().execute();
         } catch (Exception e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    Hope can help.
    Bye

  • How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.

    I have to display the short text in my report output.
    How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
    Is there any function module availble to get this short text or is this stored in any data base table ?
    Please help me. Your help will be highly appreaciated.
    THANKS.

    Hi,
    Use FM 'READ_TEXT' to get this values.
    Say for exampele my material is  1900001 and batch is 0000000517.
    Then my parameters to the FM will be as follows:-
    Text Name       000000000001900001    0000000517
    Language        EN
    Text ID          VERM
    Text Object     CHARGE
    This information you can get as follows.
    Open the short text window in the text editor.
    Here you can enter the long text.
    In the editor Go to Header and you will find the details.
    Please note that the text name will comprise of
    Material
    Batch
    Plant
    Stor. Location
    if all the details are given.
    I hope this helps you.
    Regards,
    Ankur Parab

  • Does the heat problem affect just the Wi-Fi model or as well 4G   Wi-Fi?

    I'm thinking of buying one but i need help.

    Don't ever buy a electronic device then.
    There is not a single piece of consumer electronics anywhere that a few people dont have problems with or understand how to use.
    The Press hates/loves Apple.
    Anything that involves Apple products gets seized upon and blown out of proportion.
    The obsessive stalkery following of rumors, pouncing on perceived flaws or spreading FUD about a product because a few people post stuff in the support forums.
    It's very predictable and rather disgusting.

  • Exporting Decision Tree Rules

    I have built the decision tree model in ODM GUI. I would like to export all the decision rules in XLS or PPT from the built model. What is the appropriate way to do this.
    Thanks,
    Avinash

    Hi Avinash,
    Add a Model Details node to the workflow and connect the Build Class node (or the Model node) to the Model Details node.
    Then edit the Model Details node and select the DT details you are interested in.
    In your case, I think that is the Full Tree details.
    You can then right click and select View Data off of the Model Details node and then ctl-a, ctl-c and paste into spreadsheet.
    Thanks, Mark

  • Training Decision Tree: Get RSDME362

    Hi,
    I want to train my decision tree modell and get an error: RSDME362, Vorhers. Modellf. hat nur einen Wert.Daten können nicht trainiert werden.
    If I look at the statistics of the attribute which will be predicted it has two distinct values: 1.000 and 0.000.
    Does anybody knows what could be wrong??
    Thanks,
    regards

    Hi,
    I found the problem: the algorithm couldn't process values with 0. So we changed it to 1 (=yes) and 2 (=no) instead of 0 (no).
    Regards

  • Regenerate decision tree for transfering to unicode system.

    Hello,
    We upgraded the system to a unicode system and we're getting runtime errors using PB infotypes (pb20/pb30) for the
    generated forums in the decision tree.
    The error thrown is unicode compatability, If I make a "false" change in a certain decision tree for a field, the form is regenerated and It works.
    The problem is , that I have over 200 fields for decision trees, and I need them all regenerated.
    Someone gave me report "RPUMKG00" as a solution (activation type 1), but It does not regenerate the forms in a unicode mode.
    does anybody have any ideas?
    thanks.

    Hello,
    We upgraded the system to a unicode system and we're getting runtime errors using PB infotypes (pb20/pb30) for the
    generated forums in the decision tree.
    The error thrown is unicode compatability, If I make a "false" change in a certain decision tree for a field, the form is regenerated and It works.
    The problem is , that I have over 200 fields for decision trees, and I need them all regenerated.
    Someone gave me report "RPUMKG00" as a solution (activation type 1), but It does not regenerate the forms in a unicode mode.
    does anybody have any ideas?
    thanks.

  • In cloud for service, is there a way to generate RMA's and decision trees?

    Also, where can I find more information on the field service capabilites?

    Yes it is supported via HCI configuration. C4Service provides a standard iFlow that creates a follow-up SD Order (Billing Request) from a C4Service Work Ticket. You can easily reconfigure the iFlow using HCI tools to create a SD Return Order instead of a SD Billing Request. This would then allow you to easily configure the C4Service work ticket to be a RMA capture form so that an end user can capture the products/parts as items for the SD Return Order (RMA). The end user can then release the Work Ticket to ERP which would create the RMA and ERP would take over the RMA process.
    As for the decision tree, this is supported using dynamic checklists and surveys for tickets. You can configure a dynamic survey/checklist that can have a series of questions that based on questions answered in the previous step can have different follow-up questions. These surveys/checklists can instruct the end user through a series of questions to help them diagnose a problem to ultimately instruct the end user to release the work ticket to SD for a Return Order (RMA).

  • Decision Trees with ODM 10.1

    Hi all,
    Does anybody know how to use DTs with ODM R1?. Maybe with the ABN model?.
    Any hint or recommendation to start with this?
    Thanks in advance!

    In ODM 10.1 you can get a type of decision tree using ODM in single feature mode. Unlike a traditional decision tree algorithm (e.g., CART), this type of ABM model creates a tree that, for a given level of the tree, it splits all the nodes along the same attribute. This ABN approach has the advantage of being more robust than traditional decision tree models. However, it works better (more accuracy and deeper trees) if the data set has a large number of rows.
    -Marcos

  • Decision Tree in ODM

    The sum of number of observations from each leaf node is less than the total number of observations in my decision tree model. Am I missing something here?
    Thanks,
    Avinash

    Some rows may not reach the leaves. If there is a NULL value for the splitter attribute in a row, then the row can stop in a branch node. When predicting such a row, we will try the surrogate (if available), but if we cannot use the surrogate, then the scoring process will stop and provide the branch node as the final, predicted node. When building, the row may not follow the surrogate path as it is not available at that phase of build.

  • Decision tree

    Can someone plz let me know how to call decision tree for return value.

    HI,
    In order to call the decision tree u Should first set the parameters, then Check the number range intervels, then have to default the values. Generally u use the decision trees while defaulting ie only there u need to assign the return value.
    The return value depends on ur requirement.
    If defaulting number ranges, u have diff countries and u have specified Company code, EG,ESG,PA,PSA, then assign the u have to give the return value like from which number u want to display that would be assigned in intervels of number ranges. so specify the no u want and then check and click activate.
    So u have specified the return value for the country u require and u may not know in future u may require other country which u didnt specify so for otherwise display a return value which is not assigned to countries u specified.
    In the similar way the decision trees can be used where ever the feature is used and can be know by Tcode PE03.
    Hope u understood,
    let me know if u have any concern,
    Reward if helpful,
    Asha

  • NUMKR  Decision Tree

    Hi Gurus
    Any one explain me how to define NUMKR Decision/Feature Tree? how to follow or what is the steps? I was taken number ranges from Internal and have to determine defaults for number ranges....
    Thanks & Regards

    Hi,
    Using NUMKR feature we can default Personnel Number according to the below fields:-
    Country Grouping
    Company Code
    Personnel Area
    Employee Group
    Employee Subgroup
    The return value should be the Number range number (the number which identifies a number range interval).
    For Eg the decision tree will be like follows:-
    NUMKR Infotype 0000 (Actions)
            MOLGA Country Grouping
                40 India
                    WERKS Personnel Area
                        1000 Raj Per Area
                            PERSG Employee Group
                                A H.O-Staff
                                    PERSK Employee Subgroup
                                        A1 Senior Exequtives
                                            01  is the return value (Number range number)
    Thanks and regards
    kiran

  • ODM Decision Tree result

    I am using Oracle Data Miner with an Oracle 10g Database. I would like to know if there is a tool or a plug-in for ODM to watch the Decisional Tree, resulted of executing the Decision Tree Algorithm, as a tree. Could you help me?
    Thanks in advance!
    .javier

    HI Javier,
    I know I responded to your internal email on this question but I will respond here as well for the OTN folks.
    ODMr 11 will be providing a full decision tree graphical viewer.
    ODMr 10.2 does not have any plugin capability.
    It is quite reasonable to implement a decision tree viewer of your own, the first step would be to locate a diagram tool that meets your needs and then use the ODM api to get the detail data.
    ODM also has partnerships with Inforsense and SPSS(Clementine) that do have dt viewers but I am not sure if they have fully integrated them for ODM yet.
    Thanks, Mark

Maybe you are looking for

  • Unable to save lookup field data in SharePoint 2013 online list

    Dear Support, I had successfully created provider hosted app and deployed on SharePoint 2013 online site, in my project I created orderservice.asmx.cs web service and write a code for save record on SharePoint 2013 online list as I mentioned below an

  • Problem setting up an AirPort Time Capsule

    I am trying to link a new AirPort Time Capsule (2TB) to my iMac and MacBook Pro. While the machines 'recognise' the AirPort, neither can connect to it as the AirPort is not connecting to the WiFi. Do I need to link the AirPort to the modem directly (

  • Attach movie (not using a button)

    I'm trying to attach movie on frame 1 on timeline. I'm using the following script and nothing happens: myMovieClip.attachMovie("graphic", "g", 1); g._x = 260; g._y = 250; When I use this script attached to a button it's working: on (press) { attachMo

  • Suppress the sign in sapscript

    hi friends.. what is command for suppress the sign in sapscript

  • Error in connecting SQL Server ODBC connection to Oracle 8i

    I am tried connecting Oracle 8i on Windows2000 to SQL Server on Windowns2000 using ODBC. Sitting on Oracle server, in datasource(ODBC) when i give SQL servername and userid and password and click next, it gives error: connection failed SQL Server Err