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

Class NesterovFunction

source code

object --+    
         |    
  Function --+
             |
            NesterovFunction
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, l, A, mu=5e-08, rng=RandomUniform(-1,1), norm=<unbound method L2.grad>, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
grad(self, x) source code
 
smoothed_grad(self, x) source code
 
alpha(self, x)
Dual variable of the Nesterov function.
source code
 
project(self, alpha) source code

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

Class Variables [hide private]
  __metaclass__ = abc.ABCMeta
Metaclass for defining Abstract Base Classes (ABCs).
  __abstractmethods__ = frozenset([])
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, l, A, mu=5e-08, rng=RandomUniform(-1,1), norm=<unbound method L2.grad>, **kwargs)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

grad(self, x)

source code 
Overrides: Function.grad