R/RcppExports.R

Defines functions predictOob_cpp oobMedErrorsReg oobErrorsReg oobErrors findweights_train findweights computeNeighboursWeights

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

computeNeighboursWeights <- function(predTrainingID, predTestingID, ntrain, ntest, ntree) {
    .Call(`_abcrf_computeNeighboursWeights`, predTrainingID, predTestingID, ntrain, ntest, ntree)
}

findweights <- function(trainingNodeID, testingNodeID, inbag, ntrain, nnew, ntree) {
    .Call(`_abcrf_findweights`, trainingNodeID, testingNodeID, inbag, ntrain, nnew, ntree)
}

findweights_train <- function(trainingNodeID, inbag, ntrain, trainIdx, ntree) {
    .Call(`_abcrf_findweights_train`, trainingNodeID, inbag, ntrain, trainIdx, ntree)
}

oobErrors <- function(sequo, ntrain, mod, ntree, modindex, inbag, mimi) {
    .Call(`_abcrf_oobErrors`, sequo, ntrain, mod, ntree, modindex, inbag, mimi)
}

oobErrorsReg <- function(sequo, ntrain, ntree, resp, inbag, pred) {
    .Call(`_abcrf_oobErrorsReg`, sequo, ntrain, ntree, resp, inbag, pred)
}

oobMedErrorsReg <- function(sequo, ntrain, ntree, resp, inbag, pred) {
    .Call(`_abcrf_oobMedErrorsReg`, sequo, ntrain, ntree, resp, inbag, pred)
}

predictOob_cpp <- function(origNodes, inbag, nobs, ntree) {
    .Call(`_abcrf_predictOob_cpp`, origNodes, inbag, nobs, ntree)
}

Try the abcrf package in your browser

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

abcrf documentation built on Aug. 9, 2022, 5:07 p.m.