R/RcppExports.R

Defines functions qatd_cpp_wordfish qatd_cpp_wordfish_dense qatd_cpp_tbb_enabled svmlin_rcpp qatd_cpp_ca

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

qatd_cpp_ca <- function(dfm, residual_floor) {
    .Call(`_quanteda_textmodels_qatd_cpp_ca`, dfm, residual_floor)
}

svmlin_rcpp <- function(X, y, l, algorithm, lambda, lambda_u, max_switch, pos_frac, Cp, Cn, costs, verbose) {
    .Call(`_quanteda_textmodels_svmlin_rcpp`, X, y, l, algorithm, lambda, lambda_u, max_switch, pos_frac, Cp, Cn, costs, verbose)
}

qatd_cpp_tbb_enabled <- function() {
    .Call(`_quanteda_textmodels_qatd_cpp_tbb_enabled`)
}

qatd_cpp_wordfish_dense <- function(wfm, dir, priors, tol, disp, dispfloor, abs_err) {
    .Call(`_quanteda_textmodels_qatd_cpp_wordfish_dense`, wfm, dir, priors, tol, disp, dispfloor, abs_err)
}

qatd_cpp_wordfish <- function(wfm, dirvec, priorvec, tolvec, disptype, dispmin, ABS, svd_sparse, residual_floor) {
    .Call(`_quanteda_textmodels_qatd_cpp_wordfish`, wfm, dirvec, priorvec, tolvec, disptype, dispmin, ABS, svd_sparse, residual_floor)
}

Try the quanteda.textmodels package in your browser

Any scripts or data that you put into this service are public.

quanteda.textmodels documentation built on March 31, 2023, 8:09 p.m.