Package mvpa :: Package clfs :: Module stats :: Class rv_semifrozen
[hide private]
[frames] | no frames]

Class rv_semifrozen

source code


Helper proxy-class to fit distribution when some parameters are known

It is an ugly hack with snippets of code taken from scipy, which is Copyright (c) 2001, 2002 Enthought, Inc. and is distributed under BSD license http://www.scipy.org/License_Compatibility

Instance Methods [hide private]
 
__init__(self, dist, loc=None, scale=None, args=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__call__(self, *args, **kwargs)
Upon call mimic call to get actual rv_frozen distribution
source code
 
nnlf(self, theta, x) source code
 
fit(self, data, *args, **kwds) source code
 
__setattr__(self, a, v)
x.__setattr__('name', value) <==> x.name = value
source code
 
__getattribute__(self, a)
We need to redirect all queries correspondingly
source code

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

Instance Variables [hide private]
  _fargs
Arguments which should get some fixed value
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, dist, loc=None, scale=None, args=None)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

__setattr__(self, a, v)

source code 
x.__setattr__('name', value) <==> x.name = value
Overrides: object.__setattr__
(inherited documentation)

__getattribute__(self, a)

source code 
We need to redirect all queries correspondingly
Overrides: object.__getattribute__