{"action":"created","issue":{"url":"https://api.github.com/repos/timothyrubin/DependencyLDA/issues/1","repository_url":"https://api.github.com/repos/timothyrubin/DependencyLDA","labels_url":"https://api.github.com/repos/timothyrubin/DependencyLDA/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/timothyrubin/DependencyLDA/issues/1/comments","events_url":"https://api.github.com/repos/timothyrubin/DependencyLDA/issues/1/events","html_url":"https://github.com/timothyrubin/DependencyLDA/issues/1","id":339295247,"node_id":"MDU6SXNzdWUzMzkyOTUyNDc=","number":1,"title":"Error running test","user":{"login":"enmatics","id":40151648,"node_id":"MDQ6VXNlcjQwMTUxNjQ4","avatar_url":"https://avatars1.githubusercontent.com/u/40151648?v=4","gravatar_id":"","url":"https://api.github.com/users/enmatics","html_url":"https://github.com/enmatics","followers_url":"https://api.github.com/users/enmatics/followers","following_url":"https://api.github.com/users/enmatics/following{/other_user}","gists_url":"https://api.github.com/users/enmatics/gists{/gist_id}","starred_url":"https://api.github.com/users/enmatics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enmatics/subscriptions","organizations_url":"https://api.github.com/users/enmatics/orgs","repos_url":"https://api.github.com/users/enmatics/repos","events_url":"https://api.github.com/users/enmatics/events{/privacy}","received_events_url":"https://api.github.com/users/enmatics/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-09T03:42:20Z","updated_at":"2018-08-07T22:54:30Z","closed_at":null,"author_association":"NONE","body":"Hi, I compiled samplers according to instructions and trained both distributions with success I think (says chains already exist). Then when I try to run the test script I get this:\r\n\r\nError using DependencyLDA Sample TestDocuments (line 112)\r\nAssertion failed.\r\n\r\nI assume this has to do with the scripts I ran above not creating all the files but there are some in the dataset folders testing and training output\r\n\r\nI want to implement your model on my own data, conceptually it sounds interesting, but I have little matlab or C++ knowlege so I am wondering if it will be hard to port to python and use on my own data? Also, am just wondering how this compare to extreme multilabel classifiers like FastXML.\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/timothyrubin/DependencyLDA/issues/comments/411228533","html_url":"https://github.com/timothyrubin/DependencyLDA/issues/1#issuecomment-411228533","issue_url":"https://api.github.com/repos/timothyrubin/DependencyLDA/issues/1","id":411228533,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTIyODUzMw==","user":{"login":"timothyrubin","id":15616154,"node_id":"MDQ6VXNlcjE1NjE2MTU0","avatar_url":"https://avatars1.githubusercontent.com/u/15616154?v=4","gravatar_id":"","url":"https://api.github.com/users/timothyrubin","html_url":"https://github.com/timothyrubin","followers_url":"https://api.github.com/users/timothyrubin/followers","following_url":"https://api.github.com/users/timothyrubin/following{/other_user}","gists_url":"https://api.github.com/users/timothyrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/timothyrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothyrubin/subscriptions","organizations_url":"https://api.github.com/users/timothyrubin/orgs","repos_url":"https://api.github.com/users/timothyrubin/repos","events_url":"https://api.github.com/users/timothyrubin/events{/privacy}","received_events_url":"https://api.github.com/users/timothyrubin/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T22:54:30Z","updated_at":"2018-08-07T22:54:30Z","author_association":"OWNER","body":"Hey enmatics--sorry about the delayed response, just realized that my notifications had been going to an old academic email address.  In regards to the two issues you note:\r\n\r\n1 - It sounds like you fixed the issue. Just make sure that 'files.pwc.resultsfile' points to the file created by the script 'Compute_GetAvgPWC_New_V01.m' (containing the averaged label-word distributions).\r\n\r\n2 - Yeah, this just sounds like an issue with the compiled .mex file not being on your matlab path. You can either copy the compiled file into the working directory you are running 'DependencyLDA_Sample_TestDocuments.m' from, or you can add the '/Mex_Samplers/' directory to your matlab path (so that it knows to look in that directory).\r\n\r\nLastly: that would be great if you could port this to Python! If you're able to get it working I'd be happy to link people to it in the documentation, since I've got a strong preference for python these days. It shouldn't be that hard to port over (although for the compiled code, you'll want to refactor the code to leverage things like vectorized operations in numpy). There's lots of examples of other LDA models implemented in python. This may not be the best example but I'm very familiar with my other repo on a different topic model that's implemented entirely in python here: \r\n\r\n[https://github.com/timothyrubin/python_gclda](GC-LDA)\r\n\r\n\r\n"}}
{"actor":{"display_login":"timothyrubin"}}