# Which Model is Better?

**URL:** <https://forum.numer.ai/t/which-model-is-better/4841>\
**Category:** Tournament\
**Created:** [January 23, 2022, 3:56am UTC](https://forum.numer.ai/t/which-model-is-better/4841 "2022-01-23T03:56:33Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![adalseno](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.numer.ai/adalseno/32/1476_2.png) [@adalseno](https://forum.numer.ai/u/adalseno)\
**Post date:** [January 25, 2022, 7:38pm UTC](https://forum.numer.ai/t/which-model-is-better/4841/29 "2022-01-25T19:38:18Z")

</div>

Hi @dzheng1887 , I’m a little bit puzzled about your code.  
You split the dataframe in 1/4 and took one era (and that’s fine, providing you do the training also for the other 3).  
What it’s not clear to me is the split between training and validation data. I mean you made a completely random split of about 80/20 but without taking into account eras so your training and validation data are completely messed up (and, IMHO, it’s not what you’d want for a time series). I think you’d better follow some kind of “era wise kfold” as suggested [here](http://forum.numer.ai/t/era-wise-time-series-cross-validation/791/24) in the forum. What do you think?

---

_[View the full topic](https://forum.numer.ai/t/which-model-is-better/4841)._
