ericproffitt / TopicModelsVB.jl

A Julia package for variational Bayesian topic modeling.
Other
81 stars 8 forks source link

Perplexity score #38

Open ValeriiBaidin opened 3 years ago

ValeriiBaidin commented 3 years ago

Hi. I am sorry to bother you. What is the best way to get the perplexity score of the model (page 1008 http://www.cs.columbia.edu/~blei/papers/BleiNgJordan2003.pdf)

Thank you so much.

ericproffitt commented 3 years ago

Hi Valerii,

So the package doesn't currently have functionality for evaluation metrics. It's something you would need to implement yourself.

mrufsvold commented 2 years ago

Hi, @ericproffitt ,

I'm looking to implement a Coherence Score function or two to test out some models. Would you want me to put in a PR with those integrated here?

ericproffitt commented 2 years ago

Hi @mrufsvold,

Sure, if you'd like to, please add the functions at the bottom of the modelutils.jl file.

mrufsvold commented 2 years ago

Hey, @ericproffitt ! I finished my code, but I can't publish a branch to this repository, so I can't put in a PR. This is my first time submitting a PR to someone else's project so I'm not sure if I'm doing something wrong or if you have permissions locked down. Would you mind letting me know how best to submit the code?

ericproffitt commented 2 years ago

@mrufsvold You need to fork the repo and create your own branch, then open a pull request to merge changes on your branch into master. There are tutorials you can find online, this one for example: https://opensource.com/article/19/7/create-pull-request-github.

mrufsvold commented 2 years ago

Thanks, @ericproffitt . See #41