We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 154728b + acddd93 commit 44692ecCopy full SHA for 44692ec
1 file changed
src/idmodels/sarix.py
@@ -31,7 +31,7 @@ def run(self, run_config):
31
.assign(delta_xmas = lambda x: x["season_week"] - x["xmas_week"])
32
df["xmas_spike"] = np.maximum(3 - np.abs(df["delta_xmas"]), 0)
33
34
- xy_colnames = ["inc_trans_cs"] + self.model_config.x
+ xy_colnames = self.model_config.x + ["inc_trans_cs"]
35
df = df.query("wk_end_date >= '2022-10-01'").interpolate()
36
batched_xy = df[xy_colnames].values.reshape(len(df["location"].unique()), -1, len(xy_colnames))
37
0 commit comments