% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/evaluate.R
\name{evaluation_metric}
\alias{evaluation_metric}
\title{Custom evaluation metrics}
\usage{
evaluation_metric(evaluate_f)
}
\arguments{
\item{evaluate_f}{Must be either a metric function defined by Keras (e.g.
\code{keras::metric_binary_crossentropy}) or a valid function for Keras to
create a performance metric (see \verb{\link[keras]\{metric_binary_accuracy\}}
for details)}
}
\value{
A function which can be called with parameters \code{learner} and \code{data}
just like the ones defined in \verb{\link[ruta]\{evaluate\}}.
}
\description{
Create a different evaluation metric from a valid Keras metric
}
\seealso{
\verb{\link[ruta]\{evaluate\}}
}
