# Train eval split

**URL:** <https://support.prodi.gy/t/train-eval-split/1337>\
**Category:** Uncategorized\
**Tags:** usage\
**Created:** [March 25, 2019, 8:37am UTC](https://support.prodi.gy/t/train-eval-split/1337 "2019-03-25T08:37:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nix411](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/nix411/32/2982_2.png) [@nix411](https://support.prodi.gy/u/nix411)\
**Post date:** [March 25, 2019, 8:37am UTC](https://support.prodi.gy/t/train-eval-split/1337/1 "2019-03-25T08:37:19Z")

</div>

Lets say I have a bunch of annotated data for classification, dataset `A`. Now I’d actually like to split this into `A-train` and `A-eval` in order to evaluate a couple of different models. Are there any easy way in prodigy to do this? I am aware of `textcat.eval` but that would require me to create additional annotations.

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [March 25, 2019, 10:56am UTC](https://support.prodi.gy/t/train-eval-split/1337/2 "2019-03-25T10:56:16Z")

</div>

The easiest way would probably be to export the examples, shuffle them (!), split them however you want and then re-add them as separate datasets. You probably also want to filter out examples with `"answer": "ignore"`, since those won’t be used during training/evaluation anyways.
