quanteda / quanteda.classifiers

quanteda textmodel extensions for classifying documents
21 stars 2 forks source link

Choose svm or (an augmented) svmlin #19

Open kbenoit opened 4 years ago

kbenoit commented 4 years ago

textmodel_svm (based on LiblineaR::LiblineaR()) is much slower than textmodel_svmlin() (based on RSSL::svmlin()) but has some nifty features, such as a translation into multi-class outcomes and predicted probabilities.

If predictions are the same, we should add predicted probabilities and multi-class prediction for the svmlin model and use that.