% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adapters.R
\name{extract_terminal_nodes}
\alias{extract_terminal_nodes}
\title{Extract Terminal Node Assignments from an Ensemble Model}
\usage{
extract_terminal_nodes(ensemble, data)
}
\arguments{
\item{ensemble}{A trained ensemble model.}

\item{data}{A \code{data.frame} of observations (may include the response
column; it is ignored internally).}
}
\value{
A \code{data.frame} with \code{n_obs} rows and \code{n_trees} columns
of integer terminal-node identifiers.
}
\description{
Returns a \code{data.frame} with \code{n_obs} rows and \code{n_trees}
columns where each cell is the terminal-node index assigned to that
observation by that tree.
}
