estimate#
- abstractmethod ComponentEstimator.estimate(X, h, family)[исходный код]#
Estimate the free parameters of a component of the family from one cluster.
- Параметры:
X (UnivariateFloatArray) – The whole sample.
h (UnivariateFloatArray) – Column of the partition matrix as
float64: 1.0 for the points of the cluster and 0.0 for the others; the points of the cluster areX[h > 0].family (ParametricFamily) – The family of the component.
- Результат:
Values of the free parameters of the family only. Parameters fixed via
family.view(...)are never returned.- Тип результата:
dict[str, float]
- Исключение:
NotImplementedError – If the family is not supported.
ComponentEstimationError – If the cluster has too little data for the formulas of the estimator.