pyprobound.loss.Loss

class Loss(negloglik: Tensor, regularization: Tensor)

Bases: NamedTuple

A loss value, interpreted as the sum of both elements.

negloglik

The negative log likelihood.

regularization

The regularization value.

__init__()

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

negloglik

regularization

Non-Inherited Members

negloglik: Tensor
regularization: Tensor