From b0ff974ec08e3cbe287a2bef6b2f1384f09f0dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido?= Date: Tue, 12 Jan 2021 15:28:06 -0300 Subject: [PATCH] Transformations refactoring --- pyFTS/common/transformations/adaptiveexpectation.py | 0 pyFTS/common/transformations/boxcox.py | 0 pyFTS/common/transformations/differential.py | 0 pyFTS/common/transformations/roi.py | 0 pyFTS/common/transformations/scale.py | 0 pyFTS/common/transformations/transformation.py | 0 pyFTS/common/transformations/trend.py | 0 pyFTS/tests/general.py | 4 ++-- 8 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 pyFTS/common/transformations/adaptiveexpectation.py create mode 100644 pyFTS/common/transformations/boxcox.py create mode 100644 pyFTS/common/transformations/differential.py create mode 100644 pyFTS/common/transformations/roi.py create mode 100644 pyFTS/common/transformations/scale.py create mode 100644 pyFTS/common/transformations/transformation.py create mode 100644 pyFTS/common/transformations/trend.py diff --git a/pyFTS/common/transformations/adaptiveexpectation.py b/pyFTS/common/transformations/adaptiveexpectation.py new file mode 100644 index 0000000..e69de29 diff --git a/pyFTS/common/transformations/boxcox.py b/pyFTS/common/transformations/boxcox.py new file mode 100644 index 0000000..e69de29 diff --git a/pyFTS/common/transformations/differential.py b/pyFTS/common/transformations/differential.py new file mode 100644 index 0000000..e69de29 diff --git a/pyFTS/common/transformations/roi.py b/pyFTS/common/transformations/roi.py new file mode 100644 index 0000000..e69de29 diff --git a/pyFTS/common/transformations/scale.py b/pyFTS/common/transformations/scale.py new file mode 100644 index 0000000..e69de29 diff --git a/pyFTS/common/transformations/transformation.py b/pyFTS/common/transformations/transformation.py new file mode 100644 index 0000000..e69de29 diff --git a/pyFTS/common/transformations/trend.py b/pyFTS/common/transformations/trend.py new file mode 100644 index 0000000..e69de29 diff --git a/pyFTS/tests/general.py b/pyFTS/tests/general.py index 24f93c7..6a0a2a8 100644 --- a/pyFTS/tests/general.py +++ b/pyFTS/tests/general.py @@ -39,8 +39,8 @@ l = len(dados) particionador = Grid.GridPartitioner(data = dados, npart = 10, func = Membership.trimf) #modelo = pwfts.ProbabilisticWeightedFTS(partitioner = particionador, order = 1) -#modelo = hofts.WeightedHighOrderFTS(partitioner = particionador, order = 1, standard_horizon=3) -modelo = chen.ConventionalFTS(partitioner = particionador, standard_horizon=3) +modelo = hofts.WeightedHighOrderFTS(partitioner = particionador, order = 1, standard_horizon=1, lags=[2]) +#modelo = chen.ConventionalFTS(partitioner = particionador, standard_horizon=3) modelo.fit(dados)