How To Install root-tmva on CentOS 8

root-tmva is Toolkit for multivariate data analysis

Introduction

In this tutorial we learn how to install root-tmva on CentOS 8.

What is root-tmva

The Toolkit for Multivariate Analysis (TMVA) provides a ROOT-integrated environment for the parallel processing and evaluation of MVA techniques to discriminate signal from background samples. It presently includes (ranked by complexity) * Rectangular cut optimization * Correlated likelihood estimator (PDE approach) * Multi-dimensional likelihood estimator (PDE - range-search approach) * Fisher (and Mahalanobis) discriminant * H-Matrix (chi-squared) estimator * Artificial Neural Network (two different implementations) * Boosted Decision Trees The TMVA package includes an implementation for each of these discrimination techniques, their training and testing (performance evaluation). In addition all these methods can be tested in parallel, and hence their performance on a particular data set may easily be compared.

We can use yum or dnf to install root-tmva on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install root-tmva.

Install root-tmva on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install root-tmva using dnf by running the following command:

sudo dnf -y install root-tmva

Install root-tmva on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install root-tmva using yum by running the following command:

sudo yum -y install root-tmva

How To Uninstall root-tmva on CentOS 8

To uninstall only the root-tmva package we can use the following command:

sudo dnf remove root-tmva

root-tmva Package Contents on CentOS 8

/usr/include/root/TMVA
/usr/include/root/TMVA/BDTEventWrapper.h
/usr/include/root/TMVA/BinarySearchTree.h
/usr/include/root/TMVA/BinarySearchTreeNode.h
/usr/include/root/TMVA/BinaryTree.h
/usr/include/root/TMVA/CCPruner.h
/usr/include/root/TMVA/CCTreeWrapper.h
/usr/include/root/TMVA/ClassInfo.h
/usr/include/root/TMVA/Classification.h
/usr/include/root/TMVA/ClassifierFactory.h
/usr/include/root/TMVA/Config.h
/usr/include/root/TMVA/Configurable.h
/usr/include/root/TMVA/ConvergenceTest.h
/usr/include/root/TMVA/CostComplexityPruneTool.h
/usr/include/root/TMVA/CrossEntropy.h
/usr/include/root/TMVA/CrossValidation.h
/usr/include/root/TMVA/CvSplit.h
/usr/include/root/TMVA/DNN
/usr/include/root/TMVA/DNN/Adadelta.h
/usr/include/root/TMVA/DNN/Adagrad.h
/usr/include/root/TMVA/DNN/Adam.h
/usr/include/root/TMVA/DNN/Architectures
/usr/include/root/TMVA/DNN/Architectures/Cpu
/usr/include/root/TMVA/DNN/Architectures/Cpu.h
/usr/include/root/TMVA/DNN/Architectures/Cpu.h~
/usr/include/root/TMVA/DNN/Architectures/Cpu/Blas.h
/usr/include/root/TMVA/DNN/Architectures/Cpu/CpuBuffer.h
/usr/include/root/TMVA/DNN/Architectures/Cpu/CpuMatrix.h
/usr/include/root/TMVA/DNN/Architectures/Cpu/CpuTensor.h
/usr/include/root/TMVA/DNN/Architectures/Reference
/usr/include/root/TMVA/DNN/Architectures/Reference.h
/usr/include/root/TMVA/DNN/Architectures/Reference.h~
/usr/include/root/TMVA/DNN/Architectures/Reference/DataLoader.h
/usr/include/root/TMVA/DNN/Architectures/Reference/TensorDataLoader.h
/usr/include/root/TMVA/DNN/Architectures/TCudnn.h
/usr/include/root/TMVA/DNN/BatchNormLayer.h
/usr/include/root/TMVA/DNN/CNN/ContextHandles.h
/usr/include/root/TMVA/DNN/CNN/ConvLayer.h
/usr/include/root/TMVA/DNN/CNN/MaxPoolLayer.h
/usr/include/root/TMVA/DNN/DLMinimizers.h
/usr/include/root/TMVA/DNN/DataLoader.h
/usr/include/root/TMVA/DNN/DeepNet.h
/usr/include/root/TMVA/DNN/DenseLayer.h
/usr/include/root/TMVA/DNN/Functions.h
/usr/include/root/TMVA/DNN/GeneralLayer.h
/usr/include/root/TMVA/DNN/Layer.h
/usr/include/root/TMVA/DNN/Minimizers.h
/usr/include/root/TMVA/DNN/Net.h
/usr/include/root/TMVA/DNN/Optimizer.h
/usr/include/root/TMVA/DNN/RMSProp.h
/usr/include/root/TMVA/DNN/RNN/GRULayer.h
/usr/include/root/TMVA/DNN/RNN/LSTMLayer.h
/usr/include/root/TMVA/DNN/RNN/RNNLayer.h
/usr/include/root/TMVA/DNN/ReshapeLayer.h
/usr/include/root/TMVA/DNN/SGD.h
/usr/include/root/TMVA/DNN/TensorDataLoader.h
/usr/include/root/TMVA/DataInputHandler.h
/usr/include/root/TMVA/DataLoader.h
/usr/include/root/TMVA/DataSet.h
/usr/include/root/TMVA/DataSetFactory.h
/usr/include/root/TMVA/DataSetInfo.h
/usr/include/root/TMVA/DataSetManager.h
/usr/include/root/TMVA/DecisionTree.h
/usr/include/root/TMVA/DecisionTreeNode.h
/usr/include/root/TMVA/Envelope.h
/usr/include/root/TMVA/Event.h
/usr/include/root/TMVA/Executor.h
/usr/include/root/TMVA/ExpectedErrorPruneTool.h
/usr/include/root/TMVA/Factory.h
/usr/include/root/TMVA/FitterBase.h
/usr/include/root/TMVA/GeneticAlgorithm.h
/usr/include/root/TMVA/GeneticFitter.h
/usr/include/root/TMVA/GeneticGenes.h
/usr/include/root/TMVA/GeneticPopulation.h
/usr/include/root/TMVA/GeneticRange.h
/usr/include/root/TMVA/GiniIndex.h
/usr/include/root/TMVA/GiniIndexWithLaplace.h
/usr/include/root/TMVA/HyperParameterOptimisation.h
/usr/include/root/TMVA/IFitterTarget.h
/usr/include/root/TMVA/IMethod.h
/usr/include/root/TMVA/IPruneTool.h
/usr/include/root/TMVA/Interval.h
/usr/include/root/TMVA/KDEKernel.h
/usr/include/root/TMVA/LDA.h
/usr/include/root/TMVA/LogInterval.h
/usr/include/root/TMVA/LossFunction.h
/usr/include/root/TMVA/MCFitter.h
/usr/include/root/TMVA/MethodANNBase.h
/usr/include/root/TMVA/MethodBDT.h
/usr/include/root/TMVA/MethodBase.h
/usr/include/root/TMVA/MethodBayesClassifier.h
/usr/include/root/TMVA/MethodBoost.h
/usr/include/root/TMVA/MethodCFMlpANN.h
/usr/include/root/TMVA/MethodCFMlpANN_Utils.h
/usr/include/root/TMVA/MethodCFMlpANN_def.h
/usr/include/root/TMVA/MethodCategory.h
/usr/include/root/TMVA/MethodCompositeBase.h
/usr/include/root/TMVA/MethodCrossValidation.h
/usr/include/root/TMVA/MethodCuts.h
/usr/include/root/TMVA/MethodDL.h
/usr/include/root/TMVA/MethodDNN.h
/usr/include/root/TMVA/MethodDT.h
/usr/include/root/TMVA/MethodFDA.h
/usr/include/root/TMVA/MethodFisher.h
/usr/include/root/TMVA/MethodHMatrix.h
/usr/include/root/TMVA/MethodKNN.h
/usr/include/root/TMVA/MethodLD.h
/usr/include/root/TMVA/MethodLikelihood.h
/usr/include/root/TMVA/MethodMLP.h
/usr/include/root/TMVA/MethodPDEFoam.h
/usr/include/root/TMVA/MethodPDERS.h
/usr/include/root/TMVA/MethodRuleFit.h
/usr/include/root/TMVA/MethodSVM.h
/usr/include/root/TMVA/MethodTMlpANN.h
/usr/include/root/TMVA/MinuitFitter.h
/usr/include/root/TMVA/MinuitWrapper.h
/usr/include/root/TMVA/MisClassificationError.h
/usr/include/root/TMVA/ModulekNN.h
/usr/include/root/TMVA/Monitoring.h
/usr/include/root/TMVA/MsgLogger.h
/usr/include/root/TMVA/NeuralNet.h
/usr/include/root/TMVA/NeuralNet.icc
/usr/include/root/TMVA/Node.h
/usr/include/root/TMVA/NodekNN.h
/usr/include/root/TMVA/OptimizeConfigParameters.h
/usr/include/root/TMVA/Option.h
/usr/include/root/TMVA/OptionMap.h
/usr/include/root/TMVA/PDEFoam.h
/usr/include/root/TMVA/PDEFoamCell.h
/usr/include/root/TMVA/PDEFoamDecisionTree.h
/usr/include/root/TMVA/PDEFoamDecisionTreeDensity.h
/usr/include/root/TMVA/PDEFoamDensityBase.h
/usr/include/root/TMVA/PDEFoamDiscriminant.h
/usr/include/root/TMVA/PDEFoamDiscriminantDensity.h
/usr/include/root/TMVA/PDEFoamEvent.h
/usr/include/root/TMVA/PDEFoamEventDensity.h
/usr/include/root/TMVA/PDEFoamKernelBase.h
/usr/include/root/TMVA/PDEFoamKernelGauss.h
/usr/include/root/TMVA/PDEFoamKernelLinN.h
/usr/include/root/TMVA/PDEFoamKernelTrivial.h
/usr/include/root/TMVA/PDEFoamMultiTarget.h
/usr/include/root/TMVA/PDEFoamTarget.h
/usr/include/root/TMVA/PDEFoamTargetDensity.h
/usr/include/root/TMVA/PDEFoamVect.h
/usr/include/root/TMVA/PDF.h
/usr/include/root/TMVA/Pattern.h
/usr/include/root/TMVA/QuickMVAProbEstimator.h
/usr/include/root/TMVA/RBDT.hxx
/usr/include/root/TMVA/RInferenceUtils.hxx
/usr/include/root/TMVA/ROCCalc.h
/usr/include/root/TMVA/ROCCurve.h
/usr/include/root/TMVA/RReader.hxx
/usr/include/root/TMVA/RStandardScaler.hxx
/usr/include/root/TMVA/RTensor.hxx
/usr/include/root/TMVA/RTensorUtils.hxx
/usr/include/root/TMVA/Ranking.h
/usr/include/root/TMVA/Reader.h
/usr/include/root/TMVA/RegressionVariance.h
/usr/include/root/TMVA/Results.h
/usr/include/root/TMVA/ResultsClassification.h
/usr/include/root/TMVA/ResultsMulticlass.h
/usr/include/root/TMVA/ResultsRegression.h
/usr/include/root/TMVA/RootFinder.h
/usr/include/root/TMVA/Rule.h
/usr/include/root/TMVA/RuleCut.h
/usr/include/root/TMVA/RuleEnsemble.h
/usr/include/root/TMVA/RuleFit.h
/usr/include/root/TMVA/RuleFitAPI.h
/usr/include/root/TMVA/RuleFitParams.h
/usr/include/root/TMVA/SVEvent.h
/usr/include/root/TMVA/SVKernelFunction.h
/usr/include/root/TMVA/SVKernelMatrix.h
/usr/include/root/TMVA/SVWorkingSet.h
/usr/include/root/TMVA/SdivSqrtSplusB.h
/usr/include/root/TMVA/SeparationBase.h
/usr/include/root/TMVA/SimulatedAnnealing.h
/usr/include/root/TMVA/SimulatedAnnealingFitter.h
/usr/include/root/TMVA/TActivation.h
/usr/include/root/TMVA/TActivationChooser.h
/usr/include/root/TMVA/TActivationIdentity.h
/usr/include/root/TMVA/TActivationRadial.h
/usr/include/root/TMVA/TActivationReLU.h
/usr/include/root/TMVA/TActivationSigmoid.h
/usr/include/root/TMVA/TActivationTanh.h
/usr/include/root/TMVA/TNeuron.h
/usr/include/root/TMVA/TNeuronInput.h
/usr/include/root/TMVA/TNeuronInputAbs.h
/usr/include/root/TMVA/TNeuronInputChooser.h
/usr/include/root/TMVA/TNeuronInputSqSum.h
/usr/include/root/TMVA/TNeuronInputSum.h
/usr/include/root/TMVA/TSpline1.h
/usr/include/root/TMVA/TSpline2.h
/usr/include/root/TMVA/TSynapse.h
/usr/include/root/TMVA/Timer.h
/usr/include/root/TMVA/Tools.h
/usr/include/root/TMVA/TrainingHistory.h
/usr/include/root/TMVA/TransformationHandler.h
/usr/include/root/TMVA/TreeInference/BranchlessTree.hxx
/usr/include/root/TMVA/TreeInference/Forest.hxx
/usr/include/root/TMVA/TreeInference/Objectives.hxx
/usr/include/root/TMVA/TreeInference/PythonHelpers.hxx
/usr/include/root/TMVA/Types.h
/usr/include/root/TMVA/VarTransformHandler.h
/usr/include/root/TMVA/VariableDecorrTransform.h
/usr/include/root/TMVA/VariableGaussTransform.h
/usr/include/root/TMVA/VariableIdentityTransform.h
/usr/include/root/TMVA/VariableImportance.h
/usr/include/root/TMVA/VariableInfo.h
/usr/include/root/TMVA/VariableNormalizeTransform.h
/usr/include/root/TMVA/VariablePCATransform.h
/usr/include/root/TMVA/VariableRearrangeTransform.h
/usr/include/root/TMVA/VariableTransform.h
/usr/include/root/TMVA/VariableTransformBase.h
/usr/include/root/TMVA/Version.h
/usr/include/root/TMVA/Volume.h
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/1b9517dccdc6b889acf73d2bf3e50e8c28322a
/usr/lib64/root/libTMVA.rootmap
/usr/lib64/root/libTMVA.so
/usr/lib64/root/libTMVA.so.6.22
/usr/lib64/root/libTMVA.so.6.22.08
/usr/lib64/root/libTMVA_rdict.pcm
/usr/share/licenses/root-tmva
/usr/share/licenses/root-tmva/LICENSE

References

Summary

In this tutorial we learn how to install root-tmva on CentOS 8 using yum and dnf.