| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/ce.R |
| 3 |
\name{ce} |
| 4 |
\alias{ce} |
| 5 |
\alias{ce.default} |
| 6 |
\alias{ce.lm} |
| 7 |
\alias{ce.glm} |
| 8 |
\alias{ce.randomForest} |
| 9 |
\alias{ce.glmerMod} |
| 10 |
\alias{ce.gbm} |
| 11 |
\alias{ce.rpart} |
| 12 |
\title{Classification error} |
| 13 |
\usage{ |
| 14 |
ce(...) |
| 15 |
|
| 16 |
\method{ce}{default}(actual, predicted, ...) |
| 17 |
|
| 18 |
\method{ce}{lm}(modelObject, ...) |
| 19 |
|
| 20 |
\method{ce}{glm}(modelObject, ...) |
| 21 |
|
| 22 |
\method{ce}{randomForest}(modelObject, ...) |
| 23 |
|
| 24 |
\method{ce}{glmerMod}(modelObject, ...) |
| 25 |
|
| 26 |
\method{ce}{gbm}(modelObject, ...) |
| 27 |
|
| 28 |
\method{ce}{rpart}(modelObject, ...) |
| 29 |
} |
| 30 |
\arguments{ |
| 31 |
\item{\dots}{additional parameters to be passed the the s3 methods} |
| 32 |
|
| 33 |
\item{actual}{A vector of the labels} |
| 34 |
|
| 35 |
\item{predicted}{A vector of predicted values} |
| 36 |
|
| 37 |
\item{modelObject}{the model object. Currently supported \code{lm, glm, randomForest, glmerMod, gbm, rpart}} |
| 38 |
} |
| 39 |
\description{ |
| 40 |
Calculates the classification error |
| 41 |
} |