% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics.R
\name{mape_vec}
\alias{mape_vec}
\title{Mean absolute percentage error}
\usage{
mape_vec(actual, predicted, eps = 1e-08)
}
\arguments{
\item{actual}{Numeric vector or matrix of observed values.}

\item{predicted}{Numeric vector or matrix of predicted values.}

\item{eps}{Small constant to avoid division by zero.}
}
\value{
A numeric scalar.
}
\description{
Computes the mean absolute percentage error between actual and predicted values.
}
