# Using MethodCategory with TMVA::Reader

**URL:** <https://root-forum.cern.ch/t/using-methodcategory-with-tmva-reader/27148>\
**Category:** TMVA\
**Created:** [December 1, 2017, 8:16am UTC](https://root-forum.cern.ch/t/using-methodcategory-with-tmva-reader/27148 "2017-12-01T08:16:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mneu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@mneu](https://root-forum.cern.ch/u/mneu)\
**Post date:** [December 1, 2017, 8:16am UTC](https://root-forum.cern.ch/t/using-methodcategory-with-tmva-reader/27148/1 "2017-12-01T08:16:58Z")

</div>

Is it possible to use the MethodCategory with the TMVA::Reader? The documentation does not mention it…

---

<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:** [December 1, 2017, 12:44pm UTC](https://root-forum.cern.ch/t/using-methodcategory-with-tmva-reader/27148/2 "2017-12-01T12:44:06Z")

</div>

It is possible. All Methods of TMVA can be used with the reader.

_However_, just recently we discovered a bug ([link](https://root-forum.cern.ch/t/how-do-methodcategory-work/26886/8)) so for the time being, be careful with how you prepare the training and test sets.

Cheers,  
Kim

---

<div class="post-metadata">

**Author:** ![mneu](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@mneu](https://root-forum.cern.ch/u/mneu)\
**Post date:** [December 5, 2017, 9:24pm UTC](https://root-forum.cern.ch/t/using-methodcategory-with-tmva-reader/27148/3 "2017-12-05T21:24:23Z")

</div>

Hi Kim

ok, so only the ROOT version has to match. Since which version is MethodCategory available?

---

<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:** [December 7, 2017, 2:32pm UTC](https://root-forum.cern.ch/t/using-methodcategory-with-tmva-reader/27148/4 "2017-12-07T14:32:53Z")

</div>

It is available in ROOT from v5.26 and onwards and in all of the v.6 releases. 🙂
