stripe / rainier

Bayesian inference in Scala.
https://rainier.fit
Apache License 2.0
433 stars 51 forks source link

Replace `Fn` with more `Vec` #473

Closed avibryant closed 4 years ago

avibryant commented 4 years ago

This simplifies the vectorized API by dropping Fn and instead allowing observe(ys: Seq[Y], likelihoods: Vec[Distribution[Y]]).

While we're changing things, it renames param and paramVector to real and vec.