Skip to content

Commit

Permalink
Merge branch 'master' into clean-shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Sep 17, 2024
2 parents 11432d2 + 137b19d commit 2249c3e
Show file tree
Hide file tree
Showing 16 changed files with 1,194 additions and 1,473 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.git_archival.txt export-subst

# Interpret Jupyter notebooks as Python
*.ipynb linguist-language=Python
*.ipynb linguist-vendored

*.ipynb diff=jupyternotebook

Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sphinx:
build:
os: "ubuntu-22.04"
tools:
python: "3.8"
python: "3.11"

python:
install:
Expand Down
8 changes: 4 additions & 4 deletions examples/16_noise_robustness/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,10 +1357,10 @@ def hyperparameter_scan_sr3(
# start with initial guess that all coefs are zero
optimizer = ps.EnsembleOptimizer(
opt=ps.SR3(
threshold=0,
reg_weight_lam=0,
max_iter=max_iter,
normalize_columns=normalize_columns,
nu=nu,
relax_coeff_nu=nu,
),
bagging=True,
n_models=n_models,
Expand Down Expand Up @@ -1418,10 +1418,10 @@ def hyperparameter_scan_sr3(
for i in range(tol_iter):
optimizer = ps.EnsembleOptimizer(
opt=ps.SR3(
threshold=tol,
reg_weight_lam=tol,
max_iter=max_iter,
normalize_columns=normalize_columns,
nu=nu,
relax_coeff_nu=nu,
),
bagging=True,
n_models=n_models,
Expand Down
1,222 changes: 612 additions & 610 deletions examples/1_feature_overview/example.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 2249c3e

Please sign in to comment.