mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-08-06 13:30:10 +08:00
fixed tests
This commit is contained in:
@@ -102,7 +102,6 @@ class WeekOfYear(TimeFeature):
|
||||
|
||||
|
||||
class FourierDateFeatures(TimeFeature):
|
||||
@validated()
|
||||
def __init__(self, freq: str) -> None:
|
||||
super().__init__()
|
||||
# reoccurring freq
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user