deepr.layers.MaskedBPR

class deepr.layers.MaskedBPR(**kwargs)[source]

Masked BPR Loss Layer.

Expected value at beginning of training : -log(0.5) = 0.69

__init__(**kwargs)[source]

Methods

__init__(**kwargs)

forward(tensors[, mode])

Forward method of the layer

forward_as_dict(tensors[, mode])

Forward method on a dictionary of Tensors.