Skip to content

Commit

Permalink
Wrong var names fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbinBouwmeester committed Aug 30, 2024
1 parent ce7354a commit f3afbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deeplc/deeplc.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,8 @@ def calibrate_preds_func_pygam(
linear_model_left.fit(X_left, y_left)

# Fit a linear model on the top 10% (right-side extrapolation)
X_right = X[-n_top:]
y_right = y[-n_top:]
X_right = predicted_tr[-n_top:]
y_right = measured_tr[-n_top:]
linear_model_right = LinearRegression()
linear_model_right.fit(X_right, y_right)

Expand Down

0 comments on commit f3afbe0

Please sign in to comment.