Description Usage Arguments Details Value
View source: R/PR_boot_err_Func.R
Returns the estimated accurasy measures of Sensitivity, Specificity, and Misclassification using Confusion matrix.
1 2 | PR.boot.err.Func(x.train, y.train, x.test, y.test, alphaLevel,
family = "binomial", type = "class")
|
x.train |
A data frame of training data set for independent variables. |
y.train |
A data frame of training data set for dependent variable. |
x.test |
A data frame of testing data set for independent variables. |
y.test |
A data frame of testing data set for dependent variable. |
alphaLevel |
User defined Alpha tunning parameter setting. |
family |
A distribution of the outcome variable. |
type |
Is this a classification or regression? |
A Penalized Regression model is trained using a training data set and estimate accuracy measures using a test data set. The number of tree is defined by a user and the default value of it is 300.
A list of PR.fit PR fitted object. A non0coeff is the estimated non-zerio coefficients. A PR.err.vect a matrix of the estimated accurasy measures of Sensitivity, Specificity, and Misclassification for Training set, Testing set and overall one.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.