# Isolate test sample

**URL:** <https://root-forum.cern.ch/t/isolate-test-sample/36302>\
**Category:** TMVA\
**Tags:** python, tmva\
**Created:** [October 10, 2019, 3:45pm UTC](https://root-forum.cern.ch/t/isolate-test-sample/36302 "2019-10-10T15:45:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anprodri](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/8dc957/32.png) [@anprodri](https://root-forum.cern.ch/u/anprodri)\
**Post date:** [October 10, 2019, 3:45pm UTC](https://root-forum.cern.ch/t/isolate-test-sample/36302/1 "2019-10-10T15:45:47Z")

</div>

Hello TMVA users!

I was wondering if there’s any method of isolating the test sample from a model saved in a root file, so I can make graphs and use metrics from other libraries to calculate precision, accuracy, etc.

Thanks in advance.

Regards.

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [October 10, 2019, 4:14pm UTC](https://root-forum.cern.ch/t/isolate-test-sample/36302/2 "2019-10-10T16:14:40Z")

</div>

Hi,

You should have the test sample in the output .root file, if you chose to create it. (If using `TMVAClassification.C` the output file would be `"TMVA.root"`)

Use e.g. `rootbrowse TMVA.root` to explore the file!

Cheers,  
Kim
