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

\item{absence}{Numeric vector of prediction scores at absence sites.}
}
\value{
A named list with:
  \describe{
    \item{auc}{AUC value}
    \item{max_kappa}{Best Cohen's Kappa}
    \item{max_kappa_thresh}{Threshold at best Kappa}
    \item{correlation}{Pearson correlation with labels}
    \item{square_error}{Mean squared error}
    \item{logloss}{Cross-entropy log-loss}
    \item{misclassification}{Misclassification rate}
    \item{prevalence}{Fraction of presence sites}
  }
}
\description{
Computes all evaluation metrics at once: AUC, correlation, log-loss,
squared error, misclassification, max Kappa, and prevalence.
}
\examples{
res <- maxent_evaluate(c(0.9, 0.85, 0.95), c(0.1, 0.15, 0.2))
res$auc          # 1.0
res$correlation  # > 0
}
