# TMVA with NeuroBayes issues

**URL:** <https://root-forum.cern.ch/t/tmva-with-neurobayes-issues/16167>\
**Category:** TMVA\
**Created:** [May 30, 2013, 7:33pm UTC](https://root-forum.cern.ch/t/tmva-with-neurobayes-issues/16167 "2013-05-30T19:33:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbouffar](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/87869e/32.png) [@jbouffar](https://root-forum.cern.ch/u/jbouffar)\
**Post date:** [May 30, 2013, 7:33pm UTC](https://root-forum.cern.ch/t/tmva-with-neurobayes-issues/16167/1 "2013-05-30T19:33:27Z")

</div>

Hi All,

As the title suggest I am trying to enable the NeuroBayes method from within TMVA.

I am trying to do this on the lxplus servers, since this is where the NeuroBayes license resides. I have attempted this two ways, using the guide here for…well, guidance: [neurobayes.phi-t.de/index.php/tutorials/tmva](http://neurobayes.phi-t.de/index.php/tutorials/tmva)

The first method is use their plugin, in which case I have to download a new version of TMVA from their website and compile it with the NeuroBayes (NB) plugin. So if I do these steps:

Setup root (originally used 5.30.00, also tried 5.28.00)  
Compile TMVA with NB plugin  
Compile NB plugin itself, set up library path, edit .rootrc file  
Run TMVA

I get this error:

[quote]  
dlopen error: /afs/cern.ch/user/j/jbouffar/Neuro/NeuroBayesTMVAPlugin/libTMVANeuroBayes.so: undefined symbol: _ZN4TMVA10MethodBase24OptimizeTuningParametersE7TStringS1_  
Load Error: Failed to load Dynamic link library /afs/cern.ch/user/j/jbouffar/Neuro/NeuroBayesTMVAPlugin/libTMVANeuroBayes.so[/quote]

It seems like something is going awry when making the .so file when compiling the plugin, but I have tried it several times, and I always get the exact same message.

The next method was to try using root version 5.22.00 since they say you don’t need the plugin for this, but when I simply set up root 5.22.00 and try to run, I get this message:

[quote]Error in TUnixSystem::DynamicPathName: TMVANeuroBayes[.so | .sl | .dl | .a | .dll] does not exist in /afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00h/x86\_64-slc5-gcc43-opt/root/lib:/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00h/x86\_64-slc5-gcc43-opt/root/lib:/afs/cern.ch/sw/lcg/contrib/gcc/4.4.3/x86\_64-slc5-gcc44-opt/lib64:…/lib:/afs/cern.ch/sw/lcg/app/releases/ROOT/5.22.00h/x86\_64-slc5-gcc43-opt/root/cint/cint/stl  
— Factory : Couldn’t load any plugin for NeuroBayes.[/quote]

Now, this may be due to the fact that there is a different syntax that I have to place in the .rootrc file to enable the plugin…does anyone know the old syntax, or have any other ideas?

Any help greatly appreciated!

Thanks,  
-Julian
