initial gluonts dependency

This commit is contained in:
Dr. Kashif Rasul
2020-12-17 17:04:56 +01:00
parent ecc31f6082
commit b072ab227b
88 changed files with 498 additions and 11571 deletions
+2 -1
View File
@@ -16,7 +16,7 @@ from abc import ABC, abstractmethod
from functools import reduce
from typing import Callable, Iterator, Iterable, List
from pts.core.component import validated
from gluonts.core.component import validated
from pts.dataset import DataEntry
MAX_IDLE_TRANSFORMS = 100
@@ -43,6 +43,7 @@ class Chain(Transformation):
"""
Chain multiple transformations together.
"""
@validated()
def __init__(self, trans: List[Transformation]) -> None:
self.transformations = []