Home | Trees | Indices | Help |
---|
|
object --+ | properties.Function --+ | properties.CompositeFunction --+ | object --+ | | | properties.Gradient --+ | | | object --+ | | | | | properties.LipschitzContinuousGradient --+ | | | object --+ | | | | | properties.Eigenvalues --+ | | | object --+ | | | | | properties.ProximalOperator --+ | | | properties.NesterovFunction --+ | object --+ | | | properties.GradientMap --+ | object --+ | | | properties.DualFunction --+ | object --+ | | | properties.StronglyConvex --+ | LinearRegressionL2SmoothedL1TV
Combination (sum) of Linear Regression, L2 and simultaneously smoothed L1 and TotalVariation. Parameters ---------- X : Numpy array. The X matrix for the ridge regression. y : Numpy array. The y vector for the ridge regression. l2 : Non-negative float. The Lagrange multiplier, or regularisation constant, for the ridge (L2) penalty. l1 : Non-negative float. The Lagrange multiplier, or regularisation constant, for the L1 penalty. tv : Non-negative float. The Lagrange multiplier, or regularisation constant, of the TV function. A : A list or tuple with 4 elements of (usually sparse) arrays. The linear operator for the smoothed L1+TV. The first element must be the linear operator for L1 and the following three for TV. May not be None. mu : Non-negative float. The regularisation constant for the smoothing. penalty_start : Non-negative integer. The number of columns, variables etc., to except from penalisation. Equivalently, the first index to be penalised. Default is 0, all columns are included. mean : Boolean. Whether to compute the squared loss or the mean squared loss. Default is True, the mean squared loss.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
__abstractmethods__ =
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Parameters ---------- l : Non-negative float. The Lagrange multiplier, or regularisation constant, of the function. A : A (usually sparse) array. The linear operator for the Nesterov formulation. May not be None! mu: Non-negative float. The regularisation constant for the smoothing. penalty_start : Non-negative integer. The number of columns, variables etc., to except from penalisation. Equivalently, the first index to be penalised. Default is 0, all columns are included.
|
Free any cached computations from previous use of this Function.
|
|
Returns the regularisation constant for the smoothing. From the interface "NesterovFunction".
|
Sets the regularisation constant for the smoothing. From the interface "NesterovFunction". Parameters: ---------- mu : Non-negative float. The regularisation constant for the smoothing to use from now on. Returns: ------- old_mu : Non-negative float. The old regularisation constant for the smoothing that was overwritten and is no longer used.
|
Function value.
|
Function value.
|
Linear operator of the Nesterov function.
|
Lipschitz constant of the gradient. From the interface "LipschitzContinuousGradient".
|
Returns the strongly convex parameter for the function. From the interface "StronglyConvex".
|
The gradient map associated to the function. From the interface "GradientMap".
|
Dual variable of the Nesterov function. From the interface "NesterovFunction".
|
Returns the beta that minimises the dual function. From the interface "DualFunction".
|
Compute the duality gap. From the interface "DualFunction".
|
Computes a "good" value of mu with respect to the given beta. From the interface "NesterovFunction".
|
The maximum value of the regularisation of the dual variable. We have M = max_{alpha in K} 0.5*|alpha|²_2. From the interface "NesterovFunction".
|
Projection onto the compact space of the Nesterov function. From the interface "NesterovFunction".
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Apr 6 23:52:11 2015 | http://epydoc.sourceforge.net |