Skip to content

Commit 03bec2f

Browse files
committed
fix the documentation
1 parent 841234e commit 03bec2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

esrnn/forecasting_esrnn.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,7 @@ def _ffill_missing_dates_per_serie(df, freq="D", fixed_max_date=None):
557557

558558
def _fillna(self, series):
559559
if series.isnull().any():
560-
# self.logger.warning("The prediction contains NAN. Fill with mean of training data. You may want to "
561-
# "increase output_size.")
560+
# self.logger.warning("The prediction contains NAN. Fill with mean of prediction.")
562561
tofill = series.mean() # use the prediction mean if possible. Otherwise use the mean of the training data.
563562
if pd.isna(tofill):
564563
# self.logger.warn('The predictions are all NAN')

0 commit comments

Comments
 (0)