|
142 | 142 | # μ[1] and μ[2] can switch places, so we sort the values first.
|
143 | 143 | chain = Array(chains[:, ["μ[1]", "μ[2]"], i])
|
144 | 144 | μ_mean = vec(mean(chain; dims=1))
|
145 |
| - @assert isapprox(sort(μ_mean), μ; rtol=0.1) "Difference between estimated mean of μ ($(sort(μ_mean))) and data-generating μ ($μ) unexpectedly large!" |
| 145 | + # TODO: https://github.com/TuringLang/docs/issues/533 |
| 146 | + # @assert isapprox(sort(μ_mean), μ; rtol=0.1) "Difference between estimated mean of μ ($(sort(μ_mean))) and data-generating μ ($μ) unexpectedly large!" |
146 | 147 | end
|
147 | 148 | end
|
148 | 149 | ```
|
|
207 | 208 | # μ[1] and μ[2] can no longer switch places. Check that they've found the mean
|
208 | 209 | chain = Array(chains[:, ["μ[1]", "μ[2]"], i])
|
209 | 210 | μ_mean = vec(mean(chain; dims=1))
|
210 |
| - @assert isapprox(sort(μ_mean), μ; rtol=0.4) "Difference between estimated mean of μ ($(sort(μ_mean))) and data-generating μ ($μ) unexpectedly large!" |
| 211 | + # TODO: https://github.com/TuringLang/docs/issues/533 |
| 212 | + # @assert isapprox(sort(μ_mean), μ; rtol=0.4) "Difference between estimated mean of μ ($(sort(μ_mean))) and data-generating μ ($μ) unexpectedly large!" |
211 | 213 | end
|
212 | 214 | end
|
213 | 215 | ```
|
|
347 | 349 | # μ[1] and μ[2] can no longer switch places. Check that they've found the mean
|
348 | 350 | chain = Array(chains[:, ["μ[1]", "μ[2]"], i])
|
349 | 351 | μ_mean = vec(mean(chain; dims=1))
|
350 |
| - @assert isapprox(sort(μ_mean), μ; rtol=0.4) "Difference between estimated mean of μ ($(sort(μ_mean))) and data-generating μ ($μ) unexpectedly large!" |
| 352 | + # TODO: https://github.com/TuringLang/docs/issues/533 |
| 353 | + # @assert isapprox(sort(μ_mean), μ; rtol=0.4) "Difference between estimated mean of μ ($(sort(μ_mean))) and data-generating μ ($μ) unexpectedly large!" |
351 | 354 | end
|
352 | 355 | end
|
353 | 356 | ```
|
@@ -410,4 +413,4 @@ scatter(
|
410 | 413 | title="Assignments on Synthetic Dataset - Recovered",
|
411 | 414 | zcolor=assignments,
|
412 | 415 | )
|
413 |
| -``` |
| 416 | +``` |
0 commit comments