Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 352458d

Browse files
committedOct 30, 2024·
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e7c58c9 commit 352458d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎neural_network/radial_basis_function_neural_network.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _compute_rbf_outputs(self, input_data: np.ndarray) -> np.ndarray:
8282
[0.60653066, 1. ]])
8383
"""
8484
assert self.centers is not None, "Centers initialized before computing outputs."
85-
85+
8686
rbf_outputs = np.zeros((input_data.shape[0], self.num_centers))
8787
for i, center in enumerate(self.centers):
8888
for j in range(input_data.shape[0]):
@@ -161,4 +161,3 @@ def predict(self, input_data: np.ndarray) -> np.ndarray:
161161
# Predict using the trained model
162162
predictions = rbf_nn.predict(X)
163163
print("Predictions:\n", predictions)
164-

0 commit comments

Comments
 (0)
Please sign in to comment.