# Getting a list of false positive during evalution

**URL:** https://community.konduit.ai/t/getting-a-list-of-false-positive-during-evalution/130
**Category:** DL4J
**Created:** [February 14, 2020, 10:13pm UTC](https://community.konduit.ai/t/getting-a-list-of-false-positive-during-evalution/130 "2020-02-14T22:13:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mdavis95](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/mdavis95/32/46_2.png) [@mdavis95](https://community.konduit.ai/u/mdavis95)
#### Post date: [February 14, 2020, 10:13pm UTC](https://community.konduit.ai/t/getting-a-list-of-false-positive-during-evalution/130/1 "2020-02-14T22:13:25Z")

</div>

I am trying to figure out how to get a list of document ids that are false positives during evaluation. I have tried using CustomEvaluation but it seems that when calling EvaluationLambda, recordMetaData is null. I have stored the document id in recordMetaData in the DataSet object. It seems to me when calling net.doEvaluation(iterator, eval) in a ComputationGraph at least, the eval call does not pass the recordMetaData. I am going about this the wrong way?

---

<div class="post-metadata">

### Author: ![treo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/treo/32/47_2.png) [@treo](https://community.konduit.ai/u/treo)
#### Post date: [February 18, 2020, 4:46pm UTC](https://community.konduit.ai/t/getting-a-list-of-false-positive-during-evalution/130/2 "2020-02-18T16:46:31Z")

</div>

You are right that `net.doEvaluation(...)` doesn’t call the evaluator with metadata.

I’ve opened an issue to track the progress of changing this to an appropriate behavior: [model.doEvaluation does not pass metadata · Issue #8718 · eclipse/deeplearning4j · GitHub](https://github.com/eclipse/deeplearning4j/issues/8718)

In the meantime, you will have to workaround the issue by basically copy&pasting this part of the evaluation loop _and passing in the metadata yourself_:

> <https://github.com/eclipse/deeplearning4j/blob/master/deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/multilayer/MultiLayerNetwork.java#L3417-L3436>

You should also note that you have to actually enable your RecordReaderDataSetIterator to collect the metadata in the first place. You can either enable it on the Builder if you are using it, or use the setter after its construction.

---

<div class="post-metadata">

### Author: ![mdavis95](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/mdavis95/32/46_2.png) [@mdavis95](https://community.konduit.ai/u/mdavis95)
#### Post date: [February 18, 2020, 5:02pm UTC](https://community.konduit.ai/t/getting-a-list-of-false-positive-during-evalution/130/3 "2020-02-18T17:02:02Z")

</div>

Thanks for opening the issue. I will use the workaround for now.
