Skip to content

Commit 6343390

Browse files
committed
[linear_models] final deprecation notice
1 parent d73fa6c commit 6343390

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lectures/linear_models.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,10 @@ and the sample size is relatively small ($I=20$).
779779

780780
(lss_em_fig)=
781781

782+
```{code-cell} ipython3
783+
μ_y.item()
784+
```
785+
782786
```{code-cell} ipython3
783787
I = 20
784788
T = 50
@@ -803,7 +807,7 @@ m = ar.moment_sequence()
803807
population_means = []
804808
for t in range(T):
805809
μ_x, μ_y, Σ_x, Σ_y = next(m)
806-
population_means.append(float(μ_y))
810+
population_means.append(float(μ_y.item()))
807811
808812
ax.plot(population_means, color='g', lw=2, alpha=0.8, label=r'$G\mu_t$')
809813
ax.set_ylim(ymin, ymax)

0 commit comments

Comments
 (0)