Skip to content

Commit

Permalink
Merge branch 'bug_transformer_fitting' of github.com:ATOMScience-org/…
Browse files Browse the repository at this point in the history
…AMPL into bug_transformer_fitting
  • Loading branch information
stewarthe6 committed Dec 19, 2024
2 parents d5b3b55 + d17bfc4 commit 069fa28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomsci/ddm/pipeline/transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def transform_array(self, X, y, w, ids):
else:
X = np.nan_to_num(X * X_weight / self.X_stds)
# zero out large values, especially for out of range test data
X[np.abs(X) > 1e30] = 0
X[np.abs(X) > 1e30] = 1e30
if self.transform_y:
if not hasattr(self, 'move_mean') or self.move_mean:
y = np.nan_to_num((y - self.y_means) / self.y_stds)
Expand Down

0 comments on commit 069fa28

Please sign in to comment.