Skip to content

Commit

Permalink
Update lock. (#97)
Browse files Browse the repository at this point in the history
* Update lock.

* Move from build to python-build.

* Fix typo.

* Update pch stages.

* Impose upper bound on sklearn
  • Loading branch information
kklein authored Dec 25, 2024
1 parent bfaaf5d commit 250a0c0
Show file tree
Hide file tree
Showing 4 changed files with 17,439 additions and 21,677 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ repos:
language: system
entry: pixi run -e lint trailing-whitespace-fixer
types: [text]
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: end-of-file-fixer
name: fix end of files
language: system
entry: pixi run -e lint end-of-file-fixer
types: [text]
stages: [commit, push, manual]
stages: [pre-commit, pre-push, manual]
- id: check-merge-conflict
name: check for merge conflicts
language: system
Expand Down
2 changes: 1 addition & 1 deletion metalearners/rlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def _pseudo_outcome_and_weights(
) -> tuple[np.ndarray, np.ndarray]:
"""Compute the R-Learner pseudo outcome and corresponding weights.
If ``mask`` is provided, the retuned pseudo outcomes and weights are only
If ``mask`` is provided, the returned pseudo outcomes and weights are only
with respect the observations that the mask selects.
Since the pseudo outcome is a fraction of residuals, we add a small
Expand Down
Loading

0 comments on commit 250a0c0

Please sign in to comment.