- Bug: TWFTS and WFTS models are getting the same shortname
This commit is contained in:
parent
537e7dcfe3
commit
18b69fa71f
@ -38,8 +38,8 @@ def run_point(mfts, partitioner, train_data, test_data, window_key=None, transfo
|
||||
from pyFTS.common import Transformations
|
||||
|
||||
tmp = [song.ConventionalFTS, chen.ConventionalFTS, yu.WeightedFTS, ismailefendi.ImprovedWeightedFTS,
|
||||
cheng.TrendWeightedFTS, sadaei.ExponentialyWeightedFTS, hofts.HighOrderFTS, hwang.HighOrderFTS,
|
||||
pwfts.ProbabilisticWeightedFTS]
|
||||
cheng.TrendWeightedFTS, sadaei.ExponentialyWeightedFTS, hofts.HighOrderFTS, hwang.HighOrderFTS,
|
||||
pwfts.ProbabilisticWeightedFTS]
|
||||
|
||||
tmp2 = [Grid.GridPartitioner, Entropy.EntropyPartitioner, FCM.FCMPartitioner]
|
||||
|
||||
|
4
cheng.py
4
cheng.py
@ -43,9 +43,11 @@ class TrendWeightedFLRG(yu.WeightedFLRG):
|
||||
class TrendWeightedFTS(yu.WeightedFTS):
|
||||
"""First Order Trend Weighted Fuzzy Time Series"""
|
||||
def __init__(self, name, **kwargs):
|
||||
super(TrendWeightedFTS, self).__init__("TWFTS " + name)
|
||||
super(TrendWeightedFTS, self).__init__("")
|
||||
self.shortname = "TWFTS " + name
|
||||
self.name = "Trend Weighted FTS"
|
||||
self.detail = "Cheng"
|
||||
self.is_high_order = False
|
||||
|
||||
def generateFLRG(self, flrs):
|
||||
flrgs = {}
|
||||
|
Loading…
Reference in New Issue
Block a user