% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_evaluation.R
\name{maxent_misclassification}
\alias{maxent_misclassification}
\title{Compute Misclassification Rate}
\usage{
maxent_misclassification(presence, absence)
}
\arguments{
\item{presence}{Numeric vector of prediction scores at presence sites.}

\item{absence}{Numeric vector of prediction scores at absence sites.}
}
\value{
Misclassification rate in [0, 1].
}
\description{
Fraction of misclassified samples at threshold 0.5.
}
\examples{
maxent_misclassification(c(0.8, 0.9), c(0.1, 0.2))  # 0.0
}
