แบบทดสอบที่เชื่อมโยงกับคำแนะนำ · ง่าย ระดับ
แบบทดสอบความไม่บริสุทธิ์ของ Gini
คำนวณความไม่บริสุทธิ์ของโหนดและการเพิ่มการแยกแบบถ่วงน้ำหนัก จากนั้นแยกบทบาทการสร้างแผนผังเฉพาะที่ของ Gini ออกจากการประเมินการคาดการณ์
คำถาม 1 ของ 8
โหนดไบนารี่มีสัดส่วนคลาส 0.8 และ 0.2 สิ่งเจือปนของ Gini คืออะไร?
ดูตัวอย่างทุกคำถาม8 คำถาม
คำตอบและคำอธิบายจะปรากฏขึ้นเมื่อคุณทำแบบทดสอบ
- โหนดไบนารี่มีสัดส่วนคลาส 0.8 และ 0.2 สิ่งเจือปนของ Gini คืออะไร?
- 0.32
- 0.20
- 0.64
- 0.80
- ค่าใดอธิบายความไม่บริสุทธิ์ในโหนดที่มีคลาสเดียว
- 0.5
- 0
- 1
- It depends on the number of predictors
- สิ่งสกปรกของเด็กควรนำมารวมกันอย่างไรเมื่อประเมินการแบ่งแยกผู้สมัคร
- 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
- การลดลงของ Gini แสดงถึงอะไรในการสร้างต้นไม้?
- 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
- For two equally common classes in a binary node, what is Gini impurity?
- 0
- 0.5
- 0.25
- 1
- ความแตกต่างระหว่าง Gini และ Entropy ข้อใดถูกต้อง
- 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
- 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
- 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