Skip to content

Commit d0cecb1

Browse files
fix docs
1 parent c50d6f0 commit d0cecb1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/src/tutorials/collection/multigroup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ model_ml_multigroup = SemEnsemble(
8181
We now fit the model and inspect the parameter estimates:
8282

8383
```@example mg; ansicolor = true
84-
fit = fit(model_ml_multigroup)
85-
update_estimate!(partable, fit)
84+
sem_fit = fit(model_ml_multigroup)
85+
update_estimate!(partable, sem_fit)
8686
details(partable)
8787
```
8888

docs/src/tutorials/regularization/regularization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ fit_lasso = fit(optimizer_lasso, model_lasso)
126126
and compare the solution to unregularizted estimates:
127127

128128
```@example reg
129-
fit = fit(model)
129+
sem_fit = fit(model)
130130
131-
update_estimate!(partable, fit)
131+
update_estimate!(partable, sem_fit)
132132
133133
update_partable!(partable, :estimate_lasso, param_labels(fit_lasso), solution(fit_lasso))
134134
@@ -138,7 +138,7 @@ details(partable)
138138
Instead of explicitely defining a `SemOptimizerProximal` object, you can also pass `engine = :Proximal` and additional keyword arguments to `fit`:
139139

140140
```@example reg
141-
fit = fit(model; engine = :Proximal, operator_g = NormL1(λ))
141+
sem_fit = fit(model; engine = :Proximal, operator_g = NormL1(λ))
142142
```
143143

144144
## Second example - mixed l1 and l0 regularization

0 commit comments

Comments
 (0)