# train textcat doesn't show precision and recall

**URL:** <https://support.prodi.gy/t/train-textcat-doesnt-show-precision-and-recall/2688>\
**Category:** Uncategorized\
**Tags:** enhancement, textcat, spacy\
**Created:** [March 22, 2020, 6:39pm UTC](https://support.prodi.gy/t/train-textcat-doesnt-show-precision-and-recall/2688 "2020-03-22T18:39:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![curious](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@curious](https://support.prodi.gy/u/curious)\
**Post date:** [March 22, 2020, 6:39pm UTC](https://support.prodi.gy/t/train-textcat-doesnt-show-precision-and-recall/2688/1 "2020-03-22T18:39:17Z")

</div>

The output of train textcat only contains Loss and F1-scores. How can I print the precision and recall? I can't find a way to change the code in train.py and didn't find any configuration in the prodigy.json file. Thanks. Here is the command I used -

```
prodigy train textcat demo_pattern_train,demo_neg,demo_neg_2,demo_train_2,demo_eval_neg blank:en -o /tmp/textcat_demo/ --n-iter 20
```

---

<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 23, 2020, 8:57pm UTC](https://support.prodi.gy/t/train-textcat-doesnt-show-precision-and-recall/2688/2 "2020-03-23T20:57:20Z")

</div>

Yes, I think at the moment the `prodigy train` command only reports the final score because the textcat scores differ depending on the evaluation metric used (which again, depends on the data, labels and config). You can read more about it here under `textcat_score`: [https://spacy.io/api/scorer#properties](https://spacy.io/api/scorer#properties)

In the meantime, `spacy train` gives you more metrics, or you can write your own script and use the `Language.evaluate` directly (which returns an instance of the `Scorer`).
