Where to find root macro with TMVA

Dear experts,
I have ROOT 6.02/05, and I did not see any tmva like directory in $ROOTSYS/tutorials/.
As I can’t use the TMVA standalone packadge with root 6x, can you please tell me where I can find
root macro example using TMVA?
Regards

Do you get “yes” when you try “root-config --has-tmva”?

Try:
grep -r -i tmva ${ROOTSYS}/test
grep -r -i tmva ${ROOTSYS}/tutorials

Dear Pepe,

  • “root-config --has-tmva” says “yes”

  • grep -r -i tmva ${ROOTSYS}/test
    gave nothing

  • grep -r -i tmva ${ROOTSYS}/tutorials
    gives output in file RootSysTuto.txt in cc

Do you see what is wrong?
Regards
RootSysTuto.txt (49.8 KB)

Unpack the source code and you will have “test” and “tutorials” subdirectories there.

Sorry can you please give me more information. How can I “Unpack the source code”? is there a compressed file, if yes which one, where? and where should I unpack…?
Regards

root.cern.ch -> Menu -> Download -> All Releases

Hi,

I confirm that on pages like this one root.cern.ch/content/release-60608 you can find all the information necessary to deploy a root release on your machine.
In addition, all TMVA tutorials can be found here:
root.cern.ch/doc/master/group__ … _tmva.html

Cheers,
Danilo

Dear Danilo,

  • do you mean that with my root version 6.06/01 I do not have access to the TMVA so I have to move o at least root version 6.06.08?
  • so in root version 6.06.08, I’ll be able to run the TMVA tutorials macro directly?
    Regards

Hi,

not at all :slight_smile:!
The tutorials are there in all root releases, I just pointed you to the most recent one.

Cheers,
D

Can you please tell me then why when I’m doing for example:
root -l ./TMVAClassification.C(“Fisher,Likelihood”)

I have:
Warning in TApplication::GetOptions: macro ./TMVAClassification.C not found

Regards

Sorry, maybe not “./” because the file is not in my current directory, but I want to know the path where I can find this file, and I do not find it anywhere.

Regards

Hi,

it’s in “tutorials/tmva”.

Cheers,
Danilo

Dear Danilo,

thank you, I can see the tmva directory now in ${ROOTSYS}/tutorials.
I’m just very confuse, did you changed something recently? because 2 days ago it was not there…

Regards

Hi,

no, not really. Perhaps this is due to the various tests you carried out.
Good news that it now works for you!

Cheers,
D