From 0d2b014f4a2b5e39ff6c2411c52346f632af2270 Mon Sep 17 00:00:00 2001 From: "Dr. Kashif Rasul" Date: Thu, 2 Jan 2020 12:51:00 +0100 Subject: [PATCH] fixed tests --- pts/feature/time_feature.py | 1 - test/modules/test_distribution_output.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pts/feature/time_feature.py b/pts/feature/time_feature.py index ec87b13..0641ddf 100644 --- a/pts/feature/time_feature.py +++ b/pts/feature/time_feature.py @@ -102,7 +102,6 @@ class WeekOfYear(TimeFeature): class FourierDateFeatures(TimeFeature): - @validated() def __init__(self, freq: str) -> None: super().__init__() # reoccurring freq diff --git a/test/modules/test_distribution_output.py b/test/modules/test_distribution_output.py index fe81cff..1576aab 100644 --- a/test/modules/test_distribution_output.py +++ b/test/modules/test_distribution_output.py @@ -183,7 +183,7 @@ def test_studentT_likelihood(df: float, loc: float, scale: float): def test_lowrank_multivariate_normal() -> None: num_samples = 2000 dim = 4 - rank = 2 + rank = 3 loc = np.arange(0, dim) / float(dim) cov_diag = np.eye(dim) * (np.arange(dim) / dim + 0.5)