Click on the scatter plot to add points • Watch the sigmoid curve and decision boundary update in real-time
How to use:
• Select a class (Blue for 0, Orange for 1) using the buttons above
• Click on the scatter plot to place points at different x positions
• The sigmoid curve shows the probability P(y=1|x) ranging from 0 to 1
• The decision boundary (vertical line) appears at x where P(y=1|x) = 0.5
• The model is trained using gradient descent with 1000 iterations