% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{compute_permutation_importance}
\alias{compute_permutation_importance}
\title{Compute Permutation Importance}
\usage{
compute_permutation_importance(
  fs_ptr,
  grid_ptrs,
  feature_names,
  presence_rows,
  presence_cols,
  absence_rows,
  absence_cols,
  seed = 42L
)
}
\arguments{
\item{fs_ptr}{External pointer to a FeaturedSpace object.}

\item{grid_ptrs}{List of external pointers to Grid<float> objects.}

\item{feature_names}{Character vector of environment variable names.}

\item{presence_rows}{Integer vector of presence site row indices.}

\item{presence_cols}{Integer vector of presence site column indices.}

\item{absence_rows}{Integer vector of absence site row indices.}

\item{absence_cols}{Integer vector of absence site column indices.}

\item{seed}{Random seed for reproducibility.}
}
\value{
A data.frame with columns: name, permutation_importance.
}
\description{
Measures how much each environmental variable contributes to model
prediction quality by permuting each variable and measuring AUC drop.
}
