Skip to content

Commit 86c5b64

Browse files
Clarify sigmoid overflow warning behavior
1 parent 87b7150 commit 86c5b64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎maths/sigmoid.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def sigmoid(vector: np.ndarray) -> np.ndarray:
3333
>>> sigmoid(np.array([0.0]))
3434
array([0.5])
3535
36-
Large positive and negative values do not overflow:
36+
Large positive and negative values are handled without overflow warnings:
3737
>>> sigmoid(np.array([-1000.0, 1000.0]))
3838
array([0., 1.])
3939

0 commit comments

Comments
 (0)