Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

MTPS-internal

Internal functions


Description

Internal functions for MTPS package

Usage

trapezoid(FPR,TPR,cc)

check.match(family, FUN)

createFolds(y, k = 10, list = TRUE, returnTrain = FALSE)

cv.glmnet2(xx, yy, foldid, alpha=seq(0,10,by=2)/10,
lambda=exp(seq(log(10^-8), log(5), length.out=100)),...)

cv.multiFit(xmat, ymat, nfold=5, method, family=family)

max_finite(xx)

min_finite(xx)

resid.bin(ymat, yhat, xmat=NULL, type=c("deviance", "pearson", "raw"), resid.std=F)

rs.multiFit(yhat, ymat, xmat=NULL, family,
            resid.type=c("deviance", "pearson", "raw"), resid.std=F,
            method)

Details

These are not intended for use by users. check.match check whether a given method matches with the response family. createFolds the createFolds function is cited from the 'caret' library, which is a large r package for machine learning. To improve the independency of our package we copied this single function instead of loading the whole caret package. It is safely to ignore the warning if you have loaded the caret the package. cv.multiFit used to fit models in cross-validation stacking rs.multiFit used to fit models in residual stacking resid.bin calculate residual of different types


MTPS

Multi-Task Prediction using Stacking Algorithms

v1.0.1
GPL (>= 2)
Authors
Li Xing [aut, cre], Yuying Huang [aut], Peijie Xie [ctb], Mary Lesperance [aut], Xuekui Zhang [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.