Skip to content

Commit cba3b02

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 487564d commit cba3b02

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

machine_learning/perceptron.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Perceptron Algorithm Implementation
33
"""
4+
45
import numpy as np
56

67

@@ -127,4 +128,4 @@ def activation_function(self, x: np.ndarray) -> np.ndarray:
127128

128129
print("Weights:", perceptron.weights)
129130
print("Bias:", perceptron.bias)
130-
print("Predictions:", perceptron.predict(X))
131+
print("Predictions:", perceptron.predict(X))

0 commit comments

Comments
 (0)