-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetTestResults.Rd
30 lines (24 loc) · 903 Bytes
/
getTestResults.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/logit_control.R
\name{getTestResults}
\alias{getTestResults}
\title{Apply}
\usage{
getTestResults(fit, data, formula, labelName, predictors = NULL,
needToRemove = NULL, createModelMatrix = FALSE)
}
\arguments{
\item{fit}{glmnet fitted model}
\item{data}{testing data, which will under the same preprocessing as training, see \code{prepLogitData}}
\item{formula}{char or formula object}
\item{labelName}{char, column name of binary label}
\item{predictors}{char, names of columns in \code{data} that should be in logit fit data}
\item{needToRemove}{char, names of columns in \code{data} that should not be in logit fit data}
\item{createModelMatrix}{logical, call \code{\link[stats]{model.matrix}}}
}
\value{
named list of test predictions, ROC and PR curve performances, and the original data
}
\description{
Apply
}