priors.L1

Contents

priors.L1#

class bartorch.priors.L1#

Bases: Regularizer

\(\ell_1\) norm of the image, \(\lambda \| x \|_1\) (BART’s I).

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.