Small bugfix in pwfts.forecast_ahead_distribution
This commit is contained in:
parent
61707f94a6
commit
690f9bdc7e
@ -590,7 +590,10 @@ class ProbabilisticWeightedFTS(ifts.IntervalFTS):
|
||||
|
||||
start = kwargs.get('start_at', 0)
|
||||
|
||||
fuzzyfied = kwargs.pop('fuzzyfied')
|
||||
if 'fuzzyfied' in kwargs:
|
||||
fuzzyfied = kwargs.pop('fuzzyfied')
|
||||
else:
|
||||
fuzzyfied = False
|
||||
|
||||
if not fuzzyfied:
|
||||
sample = ndata[start: start + self.max_lag]
|
||||
|
Loading…
Reference in New Issue
Block a user