Skip to content

Add Decision Tree (Cây Quyết Định) interactive lesson - #9

Merged
LMK89 merged 1 commit into
mainfrom
claude/wonderful-ride-ra1r2l
Aug 26, 2026
Merged

Add Decision Tree (Cây Quyết Định) interactive lesson#9
LMK89 merged 1 commit into
mainfrom
claude/wonderful-ride-ra1r2l

Conversation

@LMK89

@LMK89 LMK89 commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

Added a comprehensive interactive educational lesson on Decision Trees (Cây Quyết Định) in Vietnamese, featuring visual explanations, 4 state comparisons, live demo, and self-grading quiz.

Key Changes

  • New lesson file: 2026-08-25-decision-tree-3d45ae7c.html — complete standalone HTML lesson covering:

    • Definition and core concepts of decision trees
    • Real-world bank loan approval use case with sample data
    • 4 tree states comparison: Root Only (underfit) → Shallow Tree → Balanced Tree (optimal) → Deep/Overfit Tree
    • Comprehensive comparison table showing accuracy trade-offs across states
    • Interactive demo allowing users to input customer data and trace tree traversal step-by-step
    • Good vs. bad data characteristics section
    • 3-question self-grading quiz with instant feedback
  • Updated README.md: Added entry for the new Decision Tree lesson to the course index

Implementation Details

  • Responsive design with CSS custom properties supporting light/dark theme toggle
  • Interactive features:
    • Live tree traversal demo with animated step-by-step output
    • Random data generator for testing
    • Quiz with immediate feedback and score calculation
  • Visual hierarchy: Uses numbered sections, colored pills, ASCII tree diagrams, and animated transitions
  • Educational focus: Emphasizes the bias-variance tradeoff and overfitting concepts through concrete examples
  • Accessibility: Vietnamese language, clear explanations, practical code snippets using scikit-learn

https://claude.ai/code/session_0198CbF99ZMqTggi1s5zg6WD

…ree)

Giải thích 4 trạng thái (root-only, shallow, balanced, deep/overfit),
kèm demo duyệt vay tương tác và quiz tự chấm.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0198CbF99ZMqTggi1s5zg6WD
@LMK89
LMK89 merged commit b54699f into main Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants