Decision tree path

PB941PB941 MemberPosts:6Contributor I
edited November 2018 inHelp
Hi, I'm new to the use of this tool and need someone to help me to clarify a question. The question is: have built a model using apprentice a decision tree in order to perform a series of forecasts. Is it possible to see which route or specific path that follows the model for such a forecast?

Sorry for the mistakes in the text and in the way of publishing, English is not my language and may not have found the right way to express myself.
Tagged:

Answers

  • JEdwardJEdward RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:578Unicorn
    Just so I understand correctly you are wanting something like the below?
    I've used Tree to Rules to separate the decision tree rules (this is personal choice) and then used Generate Attributes to show the Rule applied to each scored example.





    <宏/ >

    < =“tru运营商激活e" class="process" compatibility="6.5.002" expanded="true" name="Process">

    < =“tru运营商激活e" class="retrieve" compatibility="6.5.002" expanded="true" height="60" name="Retrieve Deals" width="90" x="45" y="75">


    < =“tru运营商激活e" class="tree_to_rules" compatibility="6.5.002" expanded="true" height="76" name="Tree to Rules" width="90" x="179" y="30">

    < =“tru运营商激活e" class="parallel_decision_tree" compatibility="6.5.002" expanded="true" height="76" name="Decision Tree" width="90" x="112" y="120"/>






    < =“tru运营商激活e" class="retrieve" compatibility="6.5.002" expanded="true" height="60" name="Retrieve Deals-Testset" width="90" x="112" y="345">


    < =“tru运营商激活e" class="apply_model" compatibility="6.5.002" expanded="true" height="76" name="Apply Model" width="90" x="246" y="210">


    < =“tru运营商激活e" class="generate_attributes" compatibility="6.5.002" expanded="true" height="76" name="Generate Attributes" width="90" x="380" y="75">



    <参数键= =“如果“规则”值(失踪(规则),& # 13; if(Age > 31.500 && Gender == "male" && [Payment Method] == "cash" && Age > 35.500 ,"if Age > 31.500 and Gender = male and Payment Method = cash and Age > 35.500 then no" ,MISSING_NOMINAL) ,Rule)"/>

















  • PB941PB941 MemberPosts:6Contributor I
    Hello again. First of all I want to thank your attention and say that is a pleasure to contact you. As I mentioned I am new to using this tool and I have some doubts about the potential that it can offer me. With respect to the shaft of rules I understand perfectly: I use in conjunction with a decision tree to generate the model map. Now the model throws me an ERA and averaged performance, for example 66 percent, however there are some specific ways whose effectiveness is higher, say 91 percent. In a sample of 100 000 instances, say 1000 taking a certain path to achieve Ranking, ie show a precise and easily identifiable phenomenon and whose effectiveness is greater than the whole model. Now the question is this: when I want to rate an event may I RapidMiner throw the path being followed to determine the likelihood of it or have to be the one to identify this way comparing attribute by attribute and identify this route in the model? I do not know if I will have done understand. Please if you could help me I would appreciate it greatly.

    A greeting.
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,404RM Data Scientist
    Hi,

    i would be very careful in doing this. Beginners often think, that they can change the model so it fits more to their needs. This somehow breaks the idea of predictive modelling and makes you very vulnerable for overtraining.

    In your case i would rather think about a better weighting for your examples together with a better performance measure.

    ~Martin


    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign InorRegisterto comment.