senderle / topic-modeling-tool

A point-and-click tool for creating and analyzing topic models produced by MALLET.
https://senderle.github.io/topic-modeling-tool/documentation/2017/01/06/quickstart.html
Apache License 2.0
106 stars 22 forks source link

--random-seed #68

Closed scottkleinman closed 6 years ago

scottkleinman commented 6 years ago

Not a lot of people know about MALLET's --random-seed option. Would this be something simple to add?

senderle commented 6 years ago

I bet it would be! I'll have to check the TMT code and mallet syntax but most changes along these lines turn out to be pretty easy now.

My only worry is that I don't want the "advanced" section to get too elaborate. Any suggestions on how to include more of these options without making them look forbidding?

(I also need to re-enable the help text. Something about it broke a while ago and I lazily just turned it all off...)

scottkleinman commented 6 years ago

Thanks!

Keeping the UI from getting too forbidding is definitely a challenge. Off the top of my head, I'd suggest one possibility would be to add split Optional settings.... Into Settings and Advanced buttons, or something like that. You could move tokenisation, segmentation, and threading functions (as well as random-seed) to the advanced section. That, of course, is just my intuition of what is "advanced", but some user feedback would confirm what the majority users find most intuitive.

claudewillan commented 6 years ago

My apologies for jumping in here, having been silently watching this repo for quite a while now, but when I've taught with this tool the inability to set seeds has been what has kept me back from recommending this as s full-blown replacement to using MALLET yourself; seeds allow reproducibility, and perhaps I'm being too finicky, but I'd like that to be possible. Might it be? Also, this tool is a wonderful service. Thank you for developing it.

senderle commented 6 years ago

It's certainly possible, and Claude you're convincing me that I should just do it. For now I'll just add it to the optional settings menu alongside a couple of other arcane settings that I've needed to use.

senderle commented 6 years ago

Done! Alas the native windows build is not yet complete, but the Mac build and basic jar file are both up-to-date with this change.