提问者:小点点

用Python解释决策树


我用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)

共1个答案

匿名用户

树中的拆分决策更喜欢

所以,实际上来说:

  1. 儿童