How do I apply the "decision tree model" to the "friends & family" data set
I can't find the input to connect "friends & family" to. Here's where I'm at:
P.S. I'd really appreciate it if you can help me solve #8-12. All files attached.
Process:
<连接from_op = "设置角色“from_port = "榜样output" to_op="Split Data" to_port="example set"/>
Tagged:
0
Best Answer
-
lionelderkrikor Moderator, RapidMiner Certified Analyst, MemberPosts:1,195Unicorn
Hi@sky,
To apply the modelDecision Treeon your "family data", you need anApply Modeloperator.
To feed themod(model) input of this operator, you can multiply themodoutput of theDecision Treeoperator using aMultiplyoperator :
The process :
<连接from_op = "设置角色“from_port = "榜样output" to_op="Split Data" to_port="example set"/>
<连接from_op = from_p“乘”ort="output 1" to_op="Apply Model" to_port="model"/>
<连接from_op = from_p“乘”ort="output 2" to_op="Apply Model (2)" to_port="model"/>For the last questions, you have to play with the parameters of theDecision Treeoperator and see how it affects the results :
Regards,
Lionel
2
Answers
@lionelderkrikor
That is great, thanks. Sorry if this sounds stupid. Remember we split the data in the beginning? I can find 1 partition only in the results (812 examples). How do I find the 2nd partition (497 examples)?
@sky,
That's because I forget to connect theexa(example set) output port of theDecision Treeoperator to theres(result) port :
Regards,
Lionel