Olaf

Results 87 comments of Olaf

@kbenoit for instance I see here https://github.com/cran/quanteda.textmodels/blob/a1c52468a8004e9c8a23b67eee9584677f2dab71/tests/testthat/test-textmodel_svm.R that you check that the coefficients should be equal to ``` expect_equal( coef(tmod)[1, 1:3, drop = FALSE], matrix(c(0.5535941, 0.1857624, 0.1857624), nrow = 1,...

actually @kbenoit @koheiw by looking at the manual https://cran.r-project.org/web/packages/LiblineaR/LiblineaR.pdf it seems the default `textmodel_nb` passes the default `type = 0` which run a penalized logistic regression, not a SVM. But...

thanks @kbenoit, I saw the docs but I was curious to understand where do you get the coefficients `matrix(c(0.5535941, 0.1857624, 0.1857624)` in https://github.com/cran/quanteda.textmodels/blob/a1c52468a8004e9c8a23b67eee9584677f2dab71/tests/testthat/test-textmodel_svm.R Are these the values computed in another...

I am looking for some interesting docs. By the way, out of curiosity, do you know how does `predict_svm` recover the predicted probabilities for instance when using penalized logistic classification?...

nice but the NLTK example shows likelihood ratios. Are these simply the ratio of the individual word-probabilities available in `quanteda`?

Hi @jiongweilua , yes I think it would be nice to have that feature importance metric for the naive bayes model. This is a very efficient classification algorithm and it...

thats great. I think it is perfectly acceptable to send an email to Dan Juravsky asking whether he knows some paper that uses this metric. After all, he is the...

Thanks @tswast , just to clarify: under the hood what is the package doing exactly? are you translating the pandas methods into corresponding bigquery SQL queries? Or are you doing...

@hrbrmstr amazing, that would be great. I really believe this is what most people do with the archive "How can I get that annoying old zip file that was available...

sure of course. let me try that asap! thanks!