Skip to content

Commit 64fc4a7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1140d30 commit 64fc4a7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

neural_network/radial_basis_function_neural_network.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
''' Radial Basis Function Neural Network (RBFNN)
1+
"""Radial Basis Function Neural Network (RBFNN)
22
3-
A Radial Basis Function Neural Network (RBFNN) is a type of artificial
4-
neural network that uses radial basis functions as activation functions.
5-
RBFNNs are particularly effective for function approximation, regression,
3+
A Radial Basis Function Neural Network (RBFNN) is a type of artificial
4+
neural network that uses radial basis functions as activation functions.
5+
RBFNNs are particularly effective for function approximation, regression,
66
and classification tasks.
77
88
#### Reference
99
1010
- Wikipedia https://en.wikipedia.org/wiki/Radial_basis_function_network
11-
'''
11+
"""
1212

1313
import numpy as np
1414

@@ -144,6 +144,7 @@ def predict(self, input_data: np.ndarray) -> np.ndarray:
144144
rbf_outputs = self._compute_rbf_outputs(input_data)
145145
return rbf_outputs.dot(self.weights)
146146

147+
147148
# Example Usage
148149
if __name__ == "__main__":
149150
# doctest.testmod() # Running the doctest

0 commit comments

Comments
 (0)