powered by
Update mean of a single class
update_b_c(bar_b_c, Omega_c, m_c, Sigma_b_0_inv, mu_b_0)
An update for b_c.
b_c
[numeric(P_r)] The average observation of this class.
numeric(P_r)
[matrix(P_r, P_r)] The class covariance matrix.
matrix(P_r, P_r)
[integer(1)] The number of observations in this class.
integer(1)
[matrix(P_r, P_r)] The prior precision of the class mean.
[numeric(P_r)] The mean vector of the normal prior for each b_c.
update_b_c( bar_b_c = c(0, 0), Omega_c = diag(2), m_c = 10, Sigma_b_0_inv = diag(2), mu_b_0 = c(0, 0) )
Run the code above in your browser using DataLab