Documentation

Atlas.HighDimensionalStatistics.code.Chapter2.Def_2_12

Helper definitions: ℓ₀ and ℓ₁ norms #

noncomputable def Rigollet.l0norm {d : } (θ : Fin d) :

The ℓ₀ "norm": number of nonzero entries of a vector θ : Fin d → ℝ. This counts the support size |{j : θ_j ≠ 0}|.

Instances For
    noncomputable def Rigollet.l1norm {d : } (θ : Fin d) :

    The ℓ₁ norm: sum of absolute values of entries of a vector θ : Fin d → ℝ. This is ‖θ‖₁ = Σⱼ |θⱼ|.

    Instances For

      Basic properties of ℓ₀ and ℓ₁ #

      theorem Rigollet.l0norm_eq {d : } (θ : Fin d) :
      l0norm θ = {j : Fin d | θ j 0}.card
      theorem Rigollet.l1norm_eq {d : } (θ : Fin d) :
      l1norm θ = j : Fin d, |θ j|
      theorem Rigollet.l1norm_nonneg {d : } (θ : Fin d) :
      0 l1norm θ

      Squared L2 norm #

      noncomputable def Rigollet.sqL2norm {n : } (v : Fin n) :

      Squared ℓ₂ norm of a vector: ∑ᵢ vᵢ². This is used in the BIC and Lasso estimator definitions to avoid the sup-norm issue with Mathlib's ‖·‖.

      Instances For
        theorem Rigollet.sqL2norm_nonneg {n : } (v : Fin n) :

        sqL2norm is nonneg.

        Definition 2.12: BIC and Lasso estimators #

        def Rigollet.IsBICEstimator {n d : } (X : Matrix (Fin n) (Fin d) ) (Y : Fin n) (τ : ) (θhat : Fin d) :

        Definition 2.12 (BIC estimator). Fix τ > 0. The BIC estimator θ̂ᴮᴵᶜ minimizes the ℓ₀-penalized objective: (1/n)‖Y - Xθ‖₂² + τ² ‖θ‖₀ where ‖·‖₂² = ∑ᵢ (·)ᵢ² is the squared Euclidean norm, and ‖θ‖₀ counts the number of nonzero entries of θ.

        Instances For
          def Rigollet.IsLassoEstimator {n d : } (X : Matrix (Fin n) (Fin d) ) (Y : Fin n) (τ : ) (θhat : Fin d) :

          Definition 2.12 (Lasso estimator). Fix τ > 0. The Lasso estimator θ̂ᴸ minimizes the ℓ₁-penalized objective: (1/n)‖Y - Xθ‖₂² + 2τ ‖θ‖₁ where ‖·‖₂² = ∑ᵢ (·)ᵢ² is the squared Euclidean norm, and ‖θ‖₁ = Σⱼ |θⱼ| is the ℓ₁ norm.

          Instances For
            @[reducible, inline]
            abbrev Rigollet.IsBICEstimatorL2 {n d : } (X : Matrix (Fin n) (Fin d) ) (Y : Fin n) (τ : ) (θhat : Fin d) :

            Alias: IsBICEstimatorL2 is the same as IsBICEstimator. Kept for backward compatibility with files that reference the L2 variant.

            Instances For
              @[reducible, inline]
              abbrev Rigollet.IsLassoEstimatorL2 {n d : } (X : Matrix (Fin n) (Fin d) ) (Y : Fin n) (τ : ) (θhat : Fin d) :

              Alias: IsLassoEstimatorL2 is the same as IsLassoEstimator. Kept for backward compatibility with files that reference the L2 variant.

              Instances For