Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Model parameters for HDP/vb.py are never initialized nor defined #2

@dtrckd

Description

@dtrckd

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions