Package parsimony :: Package datasets :: Package simulate :: Module grad :: Class SmoothedTotalVariation
[hide private]
[frames] | no frames]

Class SmoothedTotalVariation

source code

  object --+        
           |        
    Function --+    
               |    
NesterovFunction --+
                   |
                  SmoothedTotalVariation

Instance Methods [hide private]
 
__init__(self, l, A, mu=5e-08)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
grad(self, x)
Gradient of the function
source code
 
project(self, alpha)
Projection onto the compact space of the smoothed TV function.
source code

Inherited from NesterovFunction: alpha, smoothed_grad

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from NesterovFunction: __abstractmethods__, __metaclass__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, l, A, mu=5e-08)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

grad(self, x)

source code 
Gradient of the function

    f(x) = TV(mu, x),

where TV(mu, x) is the Nesterov smoothed total variation function.

Overrides: Function.grad

project(self, alpha)

source code 

Projection onto the compact space of the smoothed TV function.

Overrides: NesterovFunction.project