Open dtrckd opened 8 years ago
The parameters of the HDP variationnal inference, self._alpha, self._gamma and other are not defined or initialized or I am missing something here ?
File "vb.py", line 218, in velb log_likelihood[0] = self._K * numpy.log(self._alpha / self._K) + (self._alpha / self._K - 1.) * numpy.sum(psi_tau[0, :] - psi_sum_tau) AttributeError: 'VariationalBayes' object has no attribute '_alpha'
Hi, The source code for VB HDP is not finished, and I think that file was staged by accident. Sorry about that. Please ignore that file and I will update later. Best, Ke
ok, thanks for your answer and release. d
The parameters of the HDP variationnal inference, self._alpha, self._gamma and other are not defined or initialized or I am missing something here ?
File "vb.py", line 218, in velb log_likelihood[0] = self._K * numpy.log(self._alpha / self._K) + (self._alpha / self._K - 1.) * numpy.sum(psi_tau[0, :] - psi_sum_tau) AttributeError: 'VariationalBayes' object has no attribute '_alpha'