Package csb :: Package statistics :: Module scalemixture :: Class InvGammaScaleSampler |
[frames] | no frames]

# Class InvGammaScaleSampler

source code

               object --+
                        |
    pdf.AbstractEstimator --+
                            |
                           InvGammaScaleSampler

Sample the scales given the data

Nested Classes
Inherited from `pdf.AbstractEstimator`: `__metaclass__`

Instance Methods
AbstractDensity |
estimate(self, context, data) Estimate the parameters of the distribution from same {data}. | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables
| __abstractmethods__ = ``frozenset([``])``

Properties
Inherited from `object`: `__class__`

Method Details

### estimate(self, context, data) | source code
Estimate the parameters of the distribution from same {data}. Parameters: `context` - context distribution `data` - sample values Returns: AbstractDensity a new distribution, initialized with the estimated parameters Raises: `EstimationFailureError` - if estimation is not possible Overrides: pdf.AbstractEstimator.estimate (inherited documentation)