% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adapters.R
\name{get_ensemble_type}
\alias{get_ensemble_type}
\title{Determine Task Type from a Trained Ensemble Model}
\usage{
get_ensemble_type(ensemble)
}
\arguments{
\item{ensemble}{A trained ensemble model. Supported classes:
\code{randomForest}, \code{ranger}, \code{xgb.Booster},
\code{lgb.Booster}, \code{gbm}, \code{catboost.CatBoost}.}
}
\value{
Character scalar: \code{"classification"} or \code{"regression"}.
}
\description{
Returns \code{"classification"} or \code{"regression"} depending on the
objective used to train the ensemble.
}
