我用python构建了一个决策树,我正在努力解释它。这棵树看起来像下图。
这是一个搅动模型的结果。我想知道如何解释以下内容:
1. Number of children at home <=3.5 (Integer)
2. MaritalStatus_M <= 0.5 (M- Married in here and was a binary. I was expecting either MaritalStatus_M=0 or =1)
3. Sales Reason_Price<=0.5 (Binary. I was expecting either Sales Reason_Price=0 or =1)
4. Tenure_Months<= 0.5 (Integer)
树中的拆分决策更喜欢
所以,实际上来说:
儿童