mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-04-29 17:20:21 -05:00
Improve activation graph visualization in Module 02
- Clarify node labeling - Improve spacing for readability - No API changes
This commit is contained in:
@@ -192,12 +192,16 @@ Output: [0.05, 0.27, 0.5, 0.73, 0.95]
|
||||
### ASCII Visualization
|
||||
```
|
||||
Sigmoid Curve:
|
||||
1.0 ┤ ╭─────
|
||||
|
||||
1.0 ┤ ╭───────
|
||||
│ ╱
|
||||
│ ╱
|
||||
0.5 ┤─────●──────────
|
||||
│ ╱
|
||||
0.5 ┤ ╱
|
||||
│ ╱
|
||||
0.0 ┤─╱─────────
|
||||
-3 0 3
|
||||
0.0 ┤╱────────────────
|
||||
-3 0 3
|
||||
|
||||
```
|
||||
|
||||
**Why Sigmoid matters**: In binary classification, we need outputs between 0 and 1 to represent probabilities. Sigmoid gives us exactly that!
|
||||
|
||||
Reference in New Issue
Block a user