Proximal operator of the ElasticNet regularization.
strength : float
Level of ElasticNet regularization
range : tuple of two int, default=`None`
Range on which the prox is applied. If
Nonethen the prox is applied on the whole vector
ratio : float, default=0
The ElasticNet mixing parameter, with 0 <= ratio <= 1. For ratio = 0 this is ridge (L2) regularization For ratio = 1 this is lasso (L1) regularization For 0 < ratio < 1, the regularization is a linear combination of L1 and L2.
positive : bool, default=`False`
If True, apply the penalization together with a projection onto the set of vectors with non-negative entries
dtype : {'float64', 'float32'}
Type of the arrays used.
tick.prox.ProxElasticNet¶