We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 932037f commit 5fd2d17Copy full SHA for 5fd2d17
ahead/Ridge2/Ridge2Regressor.py
@@ -332,7 +332,7 @@ def plot(self, series):
332
series_idx = series
333
if isinstance(series_idx, str):
334
series_idx = self.input_df.columns.get_loc(series)
335
- y_all = list(self.input_df.iloc[:, series_idx])+list(self.mean_.iloc[:, series_idx])
+ y_all = list(self.input_df.iloc[:, series_idx])+list(self.mean_[:, series_idx])
336
n_points_all = len(y_all)
337
n_points_train = self.input_df.shape[0]
338
x_all = [i for i in range(n_points_all)]
@@ -343,7 +343,7 @@ def plot(self, series):
343
# ax.fill_between(self.output_dates_, self.lower_[:, series_idx],
344
# self.upper_[:, series_idx],
345
# alpha=0.2)
346
- ax.fill_between(x_test, self.lower_.iloc[:, series_idx],
347
- self.upper_.iloc[:, series_idx],
+ ax.fill_between(x_test, self.lower_[:, series_idx],
+ self.upper_[:, series_idx],
348
alpha=0.2)
349
plt.show()
0 commit comments