Skip to content

Commit

Permalink
Fix typo and clarify bayesian model
Browse files Browse the repository at this point in the history
  • Loading branch information
XPerianer committed Dec 4, 2023
1 parent 7d3960f commit fbf94d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/models/gaussian.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import 'dart:math';
/// The model is based on the Normal-Inverse-Gamma distribution.
/// See https://en.wikipedia.org/wiki/Normal-inverse-gamma_distribution for details.
/// The formulas used to update the priors can be found under https://en.wikipedia.org/wiki/Conjugate_prior
/// under "Normal with unkown mean and variance"
/// under "Normal with unknown mean and variance"
/// The distribution is model as follows:
/// $outcome \sim N(\mu, \sigma^2 / l)$
/// $\sigma^2 \sim IG(\alpha, \beta)$
class GaussianModel extends SamplingModel {
final double _mean, _l, _alpha, _beta;

Expand Down

0 comments on commit fbf94d6

Please sign in to comment.