Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Sequenced Decision Trees
Adriana_Cira09
Member Posts: 1 Learner I
Hello,
I am trying to create a decision tree model for a dataset consisting of law cases. I have extracted the relevant information and now I want to create a decision tree that follows the following pattern: Case Categ -> People Categ -> Procedure Categ -> Result. I want the model to go through each category in this specific order. However, I have no idea how to do that in RapidMiner. Could someone help me?
I should mention that in each category, there are variables: Case (age of the offender, gender, gravity, circumstances), People (names for the judge, lawyers, prosecutor), Procedure (location, court, accusing entity). And the final result will be whether or not the person was acquitted and if it was not acquitted, how many years did it get.
I am trying to create a decision tree model for a dataset consisting of law cases. I have extracted the relevant information and now I want to create a decision tree that follows the following pattern: Case Categ -> People Categ -> Procedure Categ -> Result. I want the model to go through each category in this specific order. However, I have no idea how to do that in RapidMiner. Could someone help me?
I should mention that in each category, there are variables: Case (age of the offender, gender, gravity, circumstances), People (names for the judge, lawyers, prosecutor), Procedure (location, court, accusing entity). And the final result will be whether or not the person was acquitted and if it was not acquitted, how many years did it get.
Tagged:
0
Answers
It sounds like what you really want is just a table of specific conditional probabilities. You can replicate that easily in RapidMiner by simply using the Aggregate operator. In your case, enter the attributes you want to consider as the grouping attributes and then the case outcomes as the aggregation attributes (you can do counts and if you code acquittal as a 0/1 variable you can use average to compute the acquittal rate, and then average of the number of years sentenced).
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts