Skip to content

Add Logistic Regression interactive lesson in Vietnamese - #11

Merged
LMK89 merged 1 commit into
mainfrom
claude/quirky-planck-82c1cv
Aug 28, 2026
Merged

Add Logistic Regression interactive lesson in Vietnamese#11
LMK89 merged 1 commit into
mainfrom
claude/quirky-planck-82c1cv

Conversation

@LMK89

@LMK89 LMK89 commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary

Added a comprehensive interactive educational lesson on Logistic Regression in Vietnamese, including theory, practical examples, interactive demos, and self-assessment quizzes.

Key Changes

  • New lesson file: 2026-08-27-logistic-regression-33a99007.html — A complete standalone HTML lesson covering:

    • Quick warmup quiz (3 questions) to assess prior knowledge
    • Definition and core concepts of logistic regression vs linear regression
    • Real-world case study: diabetes risk screening
    • 4 progressive states showing common pitfalls and improvements (linear regression misuse, basic logistic regression, threshold tuning, L2 regularization)
    • Comparative summary table
    • Interactive step-by-step demo allowing users to input patient data and see sigmoid calculation, probability output, and threshold-based prediction
    • Data quality guidelines (good vs bad data)
    • 3-question self-grading quiz with immediate feedback
  • Interactive features:

    • Dark/light theme toggle with localStorage persistence
    • Real-time sigmoid calculation demo with animated step-by-step breakdown
    • Threshold adjustment to explore precision/recall tradeoffs
    • Random data generator for experimentation
    • Animated feedback and scoring system
  • Updated README: Added entry for the new lesson in the course index table

Implementation Details

  • Responsive design using CSS Grid and Flexbox (mobile-first)
  • CSS custom properties for theming (light/dark modes)
  • Vanilla JavaScript for all interactivity (no external dependencies)
  • Semantic HTML5 structure with accessibility considerations
  • Illustrative ASCII diagrams to visualize concepts
  • Educational scaffolding: warmup → theory → examples → interactive demo → assessment

https://claude.ai/code/session_01JwhB5xC1d6P8Hvxbdne3ju

Sigmoid, threshold tuning (precision/recall tradeoff), L2 regularization,
demo tính tay từng bước với bài toán sàng lọc nguy cơ tiểu đường.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JwhB5xC1d6P8Hvxbdne3ju
@LMK89
LMK89 merged commit 4b63c8f into main Aug 28, 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