🌐 DE
🌙 Dark
Machine Learning Concept
Logistic
Regression
Slide the weight and threshold — the sigmoid bends, the decision boundary moves.
w WEIGHT
1.2
THRESHOLD
6.5
x
P(y=1)
boundary
weight w
1.2
threshold
6.5
bias b
−7.8
accuracy
7/10
classifier
off
tip: a bigger weight makes a sharper, more confident step
model.py