GuidedLDA icon indicating copy to clipboard operation
GuidedLDA copied to clipboard

Inaccurate comment for GuidedLDA parameters

Open ychen93 opened this issue 5 years ago • 1 comments

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):

ychen93 avatar Apr 24 '19 05:04 ychen93

Got it, thanks :)

On Wed, Apr 24, 2019 at 10:59 AM Yuan Chen [email protected] 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

vi3k6i5 avatar Apr 24 '19 05:04 vi3k6i5