chapter_02
Mix.install([
{:statistical_rethinking, path: "."}
])
imports
import Nx
import Bayex.{Dist, Ops}
2.1
t = tensor([0, 3, 8, 9, 0])
divide(t, sum(t))
2.2
# 0.1640625
dbinom(events = 6, size = 9, prob = 0.5)
2.3
Navigation
Previous | Next |
---|---|
Chapter 1 | Chapter 3 |