引导式测验 · 简单 等级

基尼杂质测验

计算节点杂质和加权分割增益,然后将基尼的局部建树作用与预测评估区分开来。

相关引导路径基尼杂质
问题 1 的 8

二元节点的类比例为 0.8 和 0.2。它的基尼杂质是什么?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 二元节点的类比例为 0.8 和 0.2。它的基尼杂质是什么?
    • 0.32
    • 0.20
    • 0.64
    • 0.80
  2. 哪个值描述了仅包含一个类的节点中的杂质?
    • 0.5
    • 0
    • 1
    • It depends on the number of predictors
  3. 在评估候选分裂时应如何合并子杂质?
    • Add child scores without considering child sizes
    • Take the largest child impurity only
    • Weight each child by its share of the parent observations
    • Use only the purity of the smallest child
  4. 基尼系数下降在树木构建中代表什么?
    • The probability that a feature is causal
    • The fraction of training labels predicted incorrectly on test data
    • The number of classes in the target
    • Parent impurity minus weighted child impurity
  5. For two equally common classes in a binary node, what is Gini impurity?
    • 0
    • 0.5
    • 0.25
    • 1
  6. 基尼系数和熵之间哪个区别是准确的?
    • Entropy is a distance between predictor vectors
    • Gini evaluates held-out accuracy while entropy builds trees
    • They are different local impurity criteria with different scales
    • Gini is always numerically larger for every split
  7. A deep tree has nearly pure training leaves. What should be checked before concluding it generalizes well?
    • Whether every feature has a positive value
    • Whether every leaf has zero entropy only
    • The alphabetical order of class labels
    • Performance on appropriately held-out data
  8. What does node-local Gini impurity describe?
    • Class mixing among observations in that node
    • The global class balance in every dataset
    • The probability the fitted model is calibrated
    • Feature importance across all possible models