binary_cross_entropy: Binary cross-entropy loss

View source: R/RcppExports.R

binary_cross_entropyR Documentation

Binary cross-entropy loss

Description

Computes the binary cross-entropy loss (log-loss) of two vectors

Usage

binary_cross_entropy(ypred, ytrue)

Arguments

ypred

vector of predicted probabilities

ytrue

vector of true labels 0, 1


jlaria/glasp documentation built on Dec. 5, 2022, 6:42 a.m.