What is a Decision Tree Algorithm?
hi there,
what is a decision tree algorithm??
Hi,
Decision trees are used to learn from historic data and to make predictions about the future. Prediction involves establishing rules using historic data and applying these rules to new data. These rules are displayed graphically as a hierarchy.
Ex : Your customer data typically contains attributes such as gender, age, income, region, and occupation as well as information about whether a customer is a satisfied customer or not (possibly drawn from a survey). You can use such historic data to train a decision tree. You find out as a result that customers exhibiting certain attributes are generally satisfied customers while customers exhibiting other attributes tend to be dissatisfied customers. You can use rules determined in this way to assess the satisfaction of other customers in cases where this information is not available.
Integration :
The data that you use to train the model can be taken from any other system, provided that the system can extract data into SAP BW. Similarly, you can apply the identified rules to any data that has been extracted into SAP BW. In SAP BW, you can use queries to access data with known statements and then use this data to find out statements about other data.
Regards
Ram.
Similar Messages
-
Need help regarding implementing SSAS solution using microsoft decision trees algorithm
Hi All,
I am new to SSAS and Data Mining techniques. I dnt have a good knowledge about data mining in SSAS. I have a requirement regarding predictive analysis and want to check whether i can implement SSAS for it.
I have two tables namely Tree and Node. The Tree table has the columns namely NodeID, ParentID and Level. The ParentID in the tree table represents a node in the node table and at the same time the nodeid in the tree table also represents the nodeid in the
node table.
If you run the below query, it will list out all the possibilities of getting the nodename 'CTRYIMPACT - High - PRODIMPACT - Low - Question 6'
select p.*
from Node n, Tree t, Node p
where n.NodeName='CTRYIMPACT - High - PRODIMPACT - Low - Question 6'
and n.NodeId = t.NodeId
and t.ParentId = p.NodeId
I want to predict the various nodenames that are possible by inputting a NodeID using analysis services. If this is done, then i can implement it in my project.
I went over this link to know about implementing decision tress but, they have used only a single table in the example. Since I have two tables i am struck in the middle. And also they have not specified clearly of what they need to achieve. They have just
stated that on changing the play the value changes.
http://www.mssqltips.com/sqlservertip/2965/classic-machine-learning-example-in-sql-server-analysis-services/
Can anyone help me with this?
Below is the link for data containing the values for the Node and Tree table.
https://www.dropbox.com/s/hpzooa039zbtkk8/analysis_services_data.xlsx?dl=0
Thanks you and Kind Regards, Karthik VenkatramanHi Karthink,
Acording to your description, you need to predict the various nodenames that are possible by inputting a NodeID using analysis services, right?
In your scenario, in order to make prediction in Data Mining Model, we would create a prediction query. Before we can create a prediction query, we need to build a Data Mining Model. Please refer to the links below to see the detail infomaton.
http://msdn.microsoft.com/en-in/library/bb677206.aspx
http://msdn.microsoft.com/en-in/library/hh213169.aspx
http://captechconsulting.com/blog/mark-hudson/making-predictions-microsoft-data-mining-tools-%E2%80%93-part-ii
Regards,
Charlie Liao
If you have any feedback on our support, please click
here.
Charlie Liao
TechNet Community Support -
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 -
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!
.javierHI 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 -
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,
regardsHi,
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 -
Hi All,
can any1 plz help me how to create CSTVI decision tree.
Is it compulsory to create CSTVI, CRDVI,COVGR,EECGR decision trees& why do we create them?
Thanks,
satya1. You can read more about the algorithm at
http://technet.microsoft.com/en-us/library/ms175312.aspx ,
http://technet.microsoft.com/en-us/library/cc645868.aspx
2. You don't need to write code to use algorithms from SQL Server. If you are just getting started, I recommend you to use Excel Data Mining Add-ins to create the models
http://www.microsoft.com/en-us/download/details.aspx?id=35578
If you don't have Excel, you can create models from SQL Server Development Studio, but it is more difficult to use.
What are you trying to do?
Tatyana Yakushev [PredixionSoftware.com]
Download Predixion Insight 3.0 - World class predictive platform for big data -
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 -
Hello,
I have to create a decision tree which has to be called within a BAPI.
This tree finally has to return 1 single value.
Can you tell me what's the best solution for this ?
Should I do this with abap, or should I call a webapplication which provides this tree for me ?
It would be great if you could provide some example-code for me.
Kind regards,
Gert-JanI am not sure I understood what you meant by decision tree. If you are simply talking about arriving at an answer based on one or more inputs, then it is a simple IF ELSEIF ELSE statements or CASE statements.
Can you please elaborate/give example of what you mean by decision tree? -
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 advanceHI,
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.. -
Does ODM support Decision Trees.
If support, which algorithms.
Thank you.We currently do not support classical decision trees. We do support something called Adaptive Bayes Networks that are "similar" in that they can produce "rules" that provide some level of model transparancy. There is a technical white paper on ABN here http://otn.oracle.com/products/bi/pdf/adaptive_bayes_net.pdf
-
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,
JackHi 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) -
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,
AvinashHi 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 -
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 & RegardsHi,
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 -
Problem in datamining :Wanting package holding classes for Decision Trees
Hello,Friends.Please,I have downloaded the package odmapi.jar several times (several releases ) but there was a problem that I did not find the class DecisionTreesSettings(or classes concerning to Decision Trees ) in the path :oracle.dmt.odm.settings.algorithm...
Please help with giving me release of this package that holds this class....thanksI only have to put null in the instance variable declaration for it
to pop up again in my application.This almost always points to you performing some initialization from a superclass constructor. I know you say this isn't happening. However, it's by far the most likely situation. You could also have threading issues, as you don't synchronize your singleton creation.
FYI, Java initializes class instances using the following (simplified) sequence
1) Allocate the memory and initialize it to default values (nulls for references, 0 for numbers, false for booleans). This happens before any constructors are called.
2) For each class in the hierarchy, starting with Object, invoke the instance initializers and appropriate constructor. If a superclass constructor changes a variable defined by a subclass (typically by calling one of the subclass's methods), that value will be overwritten by any instance initializer (or constructor-time assignment) of the subclass.
For testing, I suggest you put logging messages in the code that assigns the variable, and at the start of the subclass constructor. You should probably log the current thread ID, and it wouldn't hurt to dump a stack trace as well.
Edit: wow, lots of posts between the time I started writing this and the time I finished ... oh well, perhaps the OP will understand instance initialization better if he/she reads this. -
We use one ID for the Apps store for 2 iPhones. In the second profile on the Macit is impossible to update apps there is a mistake. What is the decision?
This happens when you both use the same Apple ID for iMessage. To fix this you have two choices:
On one of the phones go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign back in with a different ID. Note: you can still share the same ID for purchasing in Settings>iTunes & App Stores; or
On both phones go to Settings>Messages>Send & Receive and uncheck the email address(es) shown under "You can be reached by iMessage at". Also uncheck the other phone's phone number, if present.
Maybe you are looking for
-
Is there a way to schedule Photostream activity?
We are moving, and despite being only 15 miles away from a major city, we don't have any options for landline based internet. We aren't farmers, but the house is not part of a neighborhood and apparently not worth anyone trying to run service out the
-
As stated above. I need to upload pictures to my business website but now my upload box is just saying incompatable plug in. I wish I had never installed Lion as I was happy with my mac on its origional OS, I only installed it as my Java had disappe
-
Problem following Web Dynpro tutorial in NetWeaver CE 7.1
Hi all, I have followed a training at the SAP Training Centre in Belgium, and back from this training I installed the NetWeaver CE 7.1 on my computer. I have followed the "Developing your first Web Dynpro application" tutorial step-by-step, I have co
-
Hi Expert, As we know that service entry display (ML81N) consists of column in its line item. Such as short text, gross price, WBS element, cost center, etc. We can configure the layout setting thru the u2018configuration iconu2019 on the upper right
-
Problem in calling BW Web Reporting
Hi. I installed EP 60 SP4 sneak preview and I want to call bw web reporting in EP. So, I defined BW system in System Landscape and create iview using BW Web reporting template. (BW web reporting URL is "http://laphabw.lapha.net:8100/sap/bw/BEx?sap-la