quanteda.textmodels
quanteda.textmodels copied to clipboard
textmodel_affinity() needs enhancement
At least including:
-
predict
object class andpredict.textmodel_affinity()
methods should match the behaviour of thetextmodel_nb()
methods. -
predict(x, newdata = ...)
should match the behaviour of that of the other supervised methods, where the dfm is made automatically to conform.