Kenneth Benoit
Kenneth Benoit
Thanks Jan - I will check this out carefully when I get around to an update of textmodels, hopefully end of next week!
Did you try `textstat_svmlin()`?
All SVMs are based on two classes, but the `textmodel_svm()` underlying library just happens to rescale the support vectors into probabilities for multiple classes. It would not be too complicated...
Thanks @thatchermo - we are still working out kinks in this function when it comes to larger matrix sizes. When you say "with the variance check lines commented out" do...
Sorry to be a downer here - and I was offline for 2 weeks - but seeded LDA is already available through `topicmodels::LDA()`. See https://github.com/quanteda/quanteda.textmodels/pull/31#pullrequestreview-469639444.
Agreed, this would be a very good addition. I saw a talk last month about guided NMF that was all about text as well. https://arxiv.org/pdf/2010.11365.pdf https://github.com/jvendrow/GuidedNMF I am pretty sure...
The clue is in the message: "quanteda 2.1.2 is being loaded, but >= is required". Update **quanteda** to the newest version and try it again.
Yes we realised this recently... See #45. Easily overridden through `type`, which is passed via `...`. Documentation is available in the references to `textmodel_svm()` as to how this works (methodologically...
I think they came from running the code outside of the quanteda structure, so we are verifying it against running a non-quanteda version of the model with the same model...
That's in the paper describing the method, but for multinomial logistic regression (of which the penalised approach is a special version), these are equivalent. The standard way is to compute...