priors.ImaginaryL1

Contents

priors.ImaginaryL1#

class bartorch.priors.ImaginaryL1#

Bases: Regularizer

\(\ell_1\) norm of the imaginary part (BART’s R1).

\(\lambda \| \operatorname{Im} x \|_1\).

Parameters:
  • weight (float) – \(\lambda\).

  • joint_axes (int or tuple of int, default=()) – Axes along which entries are thresholded jointly.

Also has the methods and properties of Regularizer.