- Bug: TWFTS and WFTS models are getting the same shortname
This commit is contained in:
parent
537e7dcfe3
commit
18b69fa71f
4
cheng.py
4
cheng.py
@ -43,9 +43,11 @@ class TrendWeightedFLRG(yu.WeightedFLRG):
|
|||||||
class TrendWeightedFTS(yu.WeightedFTS):
|
class TrendWeightedFTS(yu.WeightedFTS):
|
||||||
"""First Order Trend Weighted Fuzzy Time Series"""
|
"""First Order Trend Weighted Fuzzy Time Series"""
|
||||||
def __init__(self, name, **kwargs):
|
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.name = "Trend Weighted FTS"
|
||||||
self.detail = "Cheng"
|
self.detail = "Cheng"
|
||||||
|
self.is_high_order = False
|
||||||
|
|
||||||
def generateFLRG(self, flrs):
|
def generateFLRG(self, flrs):
|
||||||
flrgs = {}
|
flrgs = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user