Skip to content

Commit d76d6bb

Browse files
Update radial_basis_function_neural_network.py
1 parent 301d98f commit d76d6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neural_network/radial_basis_function_neural_network.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from doctest import testmod
21
import numpy as np
2+
from doctest import testmod
33

44

55
class RadialBasisFunctionNeuralNetwork:
@@ -136,7 +136,7 @@ def predict(self, input_data: np.ndarray) -> np.ndarray:
136136

137137
# Example Usage
138138
if __name__ == "__main__":
139-
doctest.testmod()
139+
testmod() # Running the doctest
140140

141141
# Sample dataset for XOR problem
142142
X = np.array([[0, 0], [1, 0], [0, 1], [1, 1]]) # 2D input

0 commit comments

Comments
 (0)