def test_filter_output(self, **kwargs):
    res = self.result
    assert_allclose(res.filtered_joint_probabilities, hamilton_ar2_short_filtered_joint_probabilities)
    desired = hamilton_ar2_short_predicted_joint_probabilities
    if (desired.ndim > res.predicted_joint_probabilities.ndim):
        desired = desired.sum(axis=(- 2))
    assert_allclose(res.predicted_joint_probabilities, desired)
def test_filter_output(self, **kwargs):
    res = self.result
    assert_allclose(res.filtered_joint_probabilities, hamilton_ar2_short_filtered_joint_probabilities)
    desired = hamilton_ar2_short_predicted_joint_probabilities
    if (desired.ndim > res.predicted_joint_probabilities.ndim):
        desired = desired.sum(axis=(- 2))
    assert_allclose(res.predicted_joint_probabilities, desired)