Skip to content

Commit

Permalink
Remove centering
Browse files Browse the repository at this point in the history
  • Loading branch information
Meraldo Antonio committed Nov 22, 2024
1 parent 8d2bb57 commit 5e8c069
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions skpro/regression/bayesian/bayesian_conjugate.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ def _fit(self, X, y):
# Infer the number of features
n_features = X.shape[1]

# Ensure the data is centered
is_centered = np.allclose(X.mean(axis=0), 0)
if not is_centered:
X -= X.mean(axis=0)

self._y_cols = y.columns

# Construct the prior mean, covariance, and precision
Expand Down

0 comments on commit 5e8c069

Please sign in to comment.