Package parsimony :: Package functions :: Module properties :: Class StronglyConvex
[hide private]
[frames] | no frames]

Class StronglyConvex

source code

object --+
         |
        StronglyConvex
Known Subclasses:

Represents strongly convex functions.

A function is strongly convex with parameter m if

    (grad(f(x) - grad(f(y))'(x - y) >= m.||x - y||²_2,

or equivalently if

    H(f(x)) >= mI,

where H is the Hessian, I is the identity matrix. The second ">=" means
that H(f(x)) - mI is positive semi-definite.

Nested Classes [hide private]
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
parameter(self)
Returns the strongly convex parameter for the function.
source code

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

Class Variables [hide private]
  __abstractmethods__ = frozenset(['parameter'])
  _abc_cache = <_weakrefset.WeakSet object at 0x30de050>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x30de0d0>
  _abc_negative_cache_version = 10
  _abc_registry = <_weakrefset.WeakSet object at 0x30d8f50>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

parameter(self)

source code 

Returns the strongly convex parameter for the function.

Decorators:
  • @abc.abstractmethod