b800ecab894566a04000eaad52f0b9bf6327cdf9,dc_integration/distribution/cwmm.py,ComplexWatsonMixtureModelParameters,predict,#ComplexWatsonMixtureModelParameters#Any#,13
Before Change
Y_normalized: Mix with shape (..., T, D).
Returns: Affiliations with shape (..., K, T).
affiliations = self.pi[..., None] * ComplexWatson.pdf(
Y_normalized[..., None, :, :],
np.copy(self.W[..., None, :], "C"),
self.kappa[..., None]
)
affiliations /= np.sum(affiliations, axis=-2, keepdims=True)
return affiliations
After Change
def predict(self, Y):
*independent, T, D = Y.shape
assert D < 20, (D, "Sure?")
Y = _unit_norm(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: fgnt/pb_bss
Commit Name: b800ecab894566a04000eaad52f0b9bf6327cdf9
Time: 2018-05-07
Author: cbj@mail.uni-paderborn.de
File Name: dc_integration/distribution/cwmm.py
Class Name: ComplexWatsonMixtureModelParameters
Method Name: predict
Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: da42c137d164ab56a1f1919c8f0ee21e6172f120
Time: 2018-03-20
Author: jonas.rothfuss@gmx.de
File Name: cde/evaluation/GoodnessOfFit.py
Class Name: GoodnessOfFit
Method Name: hellinger_distance_monte_carlo
Project Name: freelunchtheorem/Conditional_Density_Estimation
Commit Name: aa50234c0e3854567214a3109188ee9bedc33551
Time: 2019-01-18
Author: jonas.rothfuss@gmx.de
File Name: cde/BaseConditionalDensity.py
Class Name: ConditionalDensity
Method Name: _conditional_value_at_risk_mc_pdf