# Minimum threshold for predictions LayoutLMv3

**URL:** <https://discuss.huggingface.co/t/minimum-threshold-for-predictions-layoutlmv3/23560>\
**Category:** Beginners\
**Created:** [September 24, 2022, 11:31am UTC](https://discuss.huggingface.co/t/minimum-threshold-for-predictions-layoutlmv3/23560 "2022-09-24T11:31:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![viraj071](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@viraj071](https://discuss.huggingface.co/u/viraj071)\
**Post date:** [September 24, 2022, 11:31am UTC](https://discuss.huggingface.co/t/minimum-threshold-for-predictions-layoutlmv3/23560/1 "2022-09-24T11:31:29Z")

</div>

I am using LayoutLMv3 for document classification. I have 4 labels and each document is semi-structured. I am training the model on the 4 labels. Is there a way I can infer the provided document as Other based on a minimum confidence score or threshold?
