mbi.marginal_loss.WeightedQuery

class mbi.marginal_loss.WeightedQuery(weights: ndarray)[source]

Bases: object

Datavector scaled by fixed weights: f.datavector() * weights.

Methods

__init__

op_norm_sq

Attributes

weights

weights: ndarray
__call__(f: Factor) Array[source]

Call self as a function.

op_norm_sq() float[source]