# Can we use time-series model?

**URL:** <https://community.drivendata.org/t/can-we-use-time-series-model/6972>\
**Category:** Snowcast Showdown\
**Created:** [December 29, 2021, 2:19am UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972 "2021-12-29T02:19:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![qqerret](https://avatars.discourse-cdn.com/v4/letter/q/8e7dd6/32.png) [@qqerret](https://community.drivendata.org/u/qqerret)\
**Post date:** [December 29, 2021, 2:19am UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/1 "2021-12-29T02:19:01Z")

</div>

Can we use the history data of the same cell when inferring? I noticed that there are some cells in the submission did not exist in the tarin\_label.csv. So I guess time-series model is forbidden or the history data can not obtain in the phase 2?  
This is important because the label of last week is a very strong feature.

---

<div class="post-metadata">

**Author:** ![qqerret](https://avatars.discourse-cdn.com/v4/letter/q/8e7dd6/32.png) [@qqerret](https://community.drivendata.org/u/qqerret)\
**Post date:** [December 29, 2021, 4:28am UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/2 "2021-12-29T04:28:21Z")

</div>

Another question: can we use the date, lat and lon? Or the image is only allowed to use.

---

<div class="post-metadata">

**Author:** ![glipstein](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/glipstein/32/920_2.png) [@glipstein](https://community.drivendata.org/u/glipstein)\
**Post date:** [December 30, 2021, 7:46pm UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/3 "2021-12-30T19:46:31Z")

</div>

Hi @qqerret - Thanks for the questions.

> Can we use the history data of the same cell when inferring?

If you are asking whether you can use historical ground measures for the test cells, the answer is no. You can see this [thread](https://community.drivendata.org/t/problem-clarification/6809) for more context. This section may help:

> You are permitted to use SNOTEL and CDEC data from the set of stations contained in `ground_measures_metadata.csv` shared in the train features and test features files. Your solution cannot use any other historical ground measure data because your solution should be able to estimate SWE in locations where there is no historical ground station or ASO data available.

To your other question:

> can we use the date, lat and lon? Or the image is only allowed to use

Can you clarify this? The information about date and grid cell location should be useful (in fact, required) for cross referencing with approved features, so I think what you’re asking is fine.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![qqerret](https://avatars.discourse-cdn.com/v4/letter/q/8e7dd6/32.png) [@qqerret](https://community.drivendata.org/u/qqerret)\
**Post date:** [January 4, 2022, 6:12am UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/4 "2022-01-04T06:12:32Z")

</div>

> If you are asking whether you can use historical ground measures for the test cells, the answer is no.

No, I mean we have to predict the whole range of 2020-2021 in Phase I. I know we can’t use the future data, but should we get the label of 2020-01-07 when predicting the 2020-01-14 in Phase II? It’s a strong feature.

> Can you clarify this? The information about date and grid cell location should be useful (in fact, required) for cross referencing with approved features, so I think what you’re asking is fine.

That’s helpful!

---

<div class="post-metadata">

**Author:** ![glipstein](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/glipstein/32/920_2.png) [@glipstein](https://community.drivendata.org/u/glipstein)\
**Post date:** [January 4, 2022, 3:50pm UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/5 "2022-01-04T15:50:34Z")

</div>

> [@qqerret](#):
>
> should we get the label of 2020-01-14 when predicting the 2020-01-07 in Phase II

I’m still not sure if I’m understanding the question. You cannot use any future data past the day of prediction, and you cannot use any labels for the test set grid cells as features when making predictions. In Stage 2, you will be submitting SWE predictions each week using the model you trained in Stage 1. In Stage 2b, you will not be able to retrain your model or update your model weights; you will simply be applying your existing model onto a new data set.

Does that help? It may be helpful to read over the Stage 2 challenge description once it’s published next week.

---

<div class="post-metadata">

**Author:** ![Galeros93](https://avatars.discourse-cdn.com/v4/letter/g/49beb7/32.png) [@Galeros93](https://community.drivendata.org/u/Galeros93)\
**Post date:** [January 4, 2022, 5:36pm UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/6 "2022-01-04T17:36:57Z")

</div>

Hello @glipstein, does your last answer mean you cannot improve your model during stage 2a? The description indicates you can:

> _**Stage 2a: Submission Testing (Jan 11 - Feb 15)**_ : Package everything needed to perform weekly inference on a set of 1km grid cells. **Use this stage to make any final model improvements** …

---

<div class="post-metadata">

**Author:** ![glipstein](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/glipstein/32/920_2.png) [@glipstein](https://community.drivendata.org/u/glipstein)\
**Post date:** [January 4, 2022, 6:20pm UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/7 "2022-01-04T18:20:59Z")

</div>

@Galeros93 Good question, no you can still make improvements during Stage 2a. The previous response is updated to clarify.

> In Stage 2b, you will not be able to retrain your model or update your model weights; you will simply be applying your existing model onto a new data set.

---

<div class="post-metadata">

**Author:** ![qqerret](https://avatars.discourse-cdn.com/v4/letter/q/8e7dd6/32.png) [@qqerret](https://community.drivendata.org/u/qqerret)\
**Post date:** [January 5, 2022, 1:58am UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/8 "2022-01-05T01:58:46Z")

</div>

> [@qqerret](#):
>
> should we get the label of 2020-01-07 when predicting the 2020-01-14 in Phase II?

I updated the question: Can we get the label of 2020-01-07 of the same cell as a feature when predicting the 2020-01-14 in Phase 2b?

---

<div class="post-metadata">

**Author:** ![glipstein](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/glipstein/32/920_2.png) [@glipstein](https://community.drivendata.org/u/glipstein)\
**Post date:** [January 5, 2022, 4:30pm UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/9 "2022-01-05T16:30:05Z")

</div>

Hi @qqerret - Thanks for clarifying. This is what I thought you were asking originally, so the first response is correct. The answer is no. As [described](https://www.drivendata.org/competitions/86/competition-reclamation-snow-water-dev/page/417/#features) on the site, only ground measures from grid cells listed in the test features file (which are distinct from the submission grid cells) are permitted during inference. Again, the idea is that a solution should be able to estimate SWE in locations with no ground station data available.

---

<div class="post-metadata">

**Author:** ![qqerret](https://avatars.discourse-cdn.com/v4/letter/q/8e7dd6/32.png) [@qqerret](https://community.drivendata.org/u/qqerret)\
**Post date:** [January 7, 2022, 1:36am UTC](https://community.drivendata.org/t/can-we-use-time-series-model/6972/10 "2022-01-07T01:36:38Z")

</div>

THANK YOU!

> the idea is that a solution should be able to estimate SWE in locations with no ground station data available

That’s the point we ask for.
