Skip to content

Commit 50eb8a0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7db4bf8 commit 50eb8a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

machine_learning/ridge_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def predict(self, features: np.ndarray) -> np.ndarray:
9595
raise ValueError("Model is not trained yet. Call the `fit` method first.")
9696

9797
# Scale features using training data
98-
features_scaled, _mean, _std= self.feature_scaling(features)
98+
features_scaled, _mean, _std = self.feature_scaling(features)
9999
return features_scaled.dot(self.theta)
100100

101101
def compute_cost(self, features: np.ndarray, target: np.ndarray) -> float:

0 commit comments

Comments
 (0)