Skip to content
13

Regularisation Constraints

PortfolioOptimisers.AbstractRegularisationEstimator Type
julia
abstract type AbstractRegularisationEstimator <: AbstractEstimator

Abstract supertype for all portfolio weight regularisation estimators.

Related

source
PortfolioOptimisers.LpRegularisation Type
julia
struct LpRegularisation{__T_p, __T_val} <: AbstractRegularisationEstimator

Lp-norm regularisation term added to the optimisation objective:

penalty=val(i=1N|wi|p)1/p

Penalises concentrated portfolios by encouraging weight smoothness for p>1.

Fields

  • p::Number: Lp norm exponent. Must satisfy p > 1 and be finite.

  • val::Number: Penalty coefficient. Must be positive and finite.

Constructors

julia
LpRegularisation(; p::Number = 3, val::Number = 1e-3) -> LpRegularisation

Related

source