vi3k6i5 / GuidedLDA

semi supervised guided topic model with custom guidedLDA
Mozilla Public License 2.0
497 stars 108 forks source link

Inaccurate comment for GuidedLDA parameters #28

Open ychen93 opened 5 years ago

ychen93 commented 5 years ago

In guidedlda/guidedlda.py, for class GuidedLDA, in the explanation:

alpha : float, default 0.1
        Dirichlet parameter for distribution over topics
eta : float, default 0.01
        Dirichlet parameter for distribution over words

But later in the constructor:

def __init__(self, n_topics, n_iter=2000, alpha=0.01, eta=0.01, random_state=None,
                 refresh=10):
vi3k6i5 commented 5 years ago

Got it, thanks :)

On Wed, Apr 24, 2019 at 10:59 AM Yuan Chen notifications@github.com wrote:

In guidedlda/guidedlda.py, for class GuidedLDA, you have:

alpha : float, default 0.1 Dirichlet parameter for distribution over topics eta : float, default 0.01 Dirichlet parameter for distribution over words

But later you wrote:

def init(self, n_topics, n_iter=2000, alpha=0.01, eta=0.01, random_state=None, refresh=10):

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vi3k6i5/GuidedLDA/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXY3QQXEEC6A4N5GK7BORLPR7V37ANCNFSM4HIAPCBA .

--

Vikash