Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the gh-actions group with 3 updates #875

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected].2
uses: pypa/[email protected].3
env:
CIBW_ARCHS_MACOS: x86_64 arm64
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
with:
merge-multiple: true
path: dist
- uses: pypa/gh-action-pypi-publish@v1.10.3
- uses: pypa/gh-action-pypi-publish@v1.11.0
with:
repository-url: https://test.pypi.org/legacy/

Expand All @@ -75,4 +75,4 @@ jobs:
with:
path: dist
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@v1.10.3
- uses: pypa/gh-action-pypi-publish@v1.11.0
8 changes: 4 additions & 4 deletions src/glum/_glm_cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,8 @@ def _get_deviance(coef):

(
x_train,
col_means,
col_stds,
self.col_means_,
self.col_stds_,
lower_bounds,
upper_bounds,
A_ineq,
Expand Down Expand Up @@ -655,7 +655,7 @@ def _get_deviance(coef):

if self.fit_intercept:
intercept_path_, coef_path_ = _unstandardize(
col_means, col_stds, coef[:, 0], coef[:, 1:]
self.col_means_, self.col_stds_, coef[:, 0], coef[:, 1:]
)
assert isinstance(intercept_path_, np.ndarray) # make mypy happy
deviance_path_ = [
Expand All @@ -667,7 +667,7 @@ def _get_deviance(coef):
else:
# set intercept to zero as the other linear models do
intercept_path_, coef_path_ = _unstandardize(
col_means, col_stds, np.zeros(coef.shape[0]), coef
self.col_means_, self.col_stds_, np.zeros(coef.shape[0]), coef
)
deviance_path_ = [_get_deviance(_coef) for _coef in coef_path_]

Expand Down
Loading