JsMVA
Classes | Functions
JsMVA.Factory Namespace Reference

Factory module with the functions to be inserted to TMVA::Factory class and helper functions and classes. More...

Classes

class  TreeReader
 Helper class for reading decision tree from XML file. More...
 

Functions

def GetMethodObject (fac, datasetName, methodName)
 Getting method object from factory. More...
 
def GetDeepNetwork (xml_file)
 Reads deep neural network weights from file and returns it in JSON format. More...
 
def GetNetwork (xml_file)
 Reads neural network weights from file and returns it in JSON format. More...
 
def DrawROCCurve (fac, datasetName)
 Draw ROC curve. More...
 
def DrawOutputDistribution (fac, datasetName, methodName)
 Draw output distributions. More...
 
def DrawProbabilityDistribution (fac, datasetName, methodName)
 Draw output probability distribution. More...
 
def DrawCutEfficiencies (fac, datasetName, methodName)
 Draw cut efficiencies. More...
 
def DrawNeuralNetwork (fac, datasetName, methodName)
 Draw neural network. More...
 
def DrawDecisionTree (fac, datasetName, methodName)
 Draw deep neural network. More...
 
def ChangeTrainAllMethods (fac)
 Rewrite function for TMVA::Factory::TrainAllMethods. More...
 
def ChangeCallOriginal__init__ (args, kwargs)
 Rewrite the constructor of TMVA::Factory. More...
 
def ChangeCallOriginalBookMethod (args, kwargs)
 Rewrite TMVA::Factory::BookMethod. More...
 
def ChangeCallOriginalEvaluateImportance (args, kwargs)
 Rewrite the constructor of TMVA::Factory::EvaluateImportance. More...
 
def ChangeCallOriginalCrossValidate (args, kwargs)
 Rewrite the constructor of TMVA::Factory::CrossValidate. More...
 
def BookDNN (self, loader, title="DNN")
 Graphical interface for booking DNN. More...
 

Detailed Description

Factory module with the functions to be inserted to TMVA::Factory class and helper functions and classes.

Authors
Attila Bagoly batti.nosp@m.la93.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Function Documentation

def JsMVA.Factory.BookDNN (   self,
  loader,
  title = "DNN" 
)

Graphical interface for booking DNN.

Definition at line 676 of file Factory.py.

def JsMVA.Factory.ChangeCallOriginal__init__ (   args,
  kwargs 
)

Rewrite the constructor of TMVA::Factory.

Definition at line 595 of file Factory.py.

def JsMVA.Factory.ChangeCallOriginalBookMethod (   args,
  kwargs 
)

Rewrite TMVA::Factory::BookMethod.

Definition at line 607 of file Factory.py.

def JsMVA.Factory.ChangeCallOriginalCrossValidate (   args,
  kwargs 
)

Rewrite the constructor of TMVA::Factory::CrossValidate.

Definition at line 641 of file Factory.py.

def JsMVA.Factory.ChangeCallOriginalEvaluateImportance (   args,
  kwargs 
)

Rewrite the constructor of TMVA::Factory::EvaluateImportance.

Definition at line 630 of file Factory.py.

def JsMVA.Factory.ChangeTrainAllMethods (   fac)

Rewrite function for TMVA::Factory::TrainAllMethods.

This function provides interactive training.

Parameters
facthe factory object pointer

Definition at line 443 of file Factory.py.

def JsMVA.Factory.DrawCutEfficiencies (   fac,
  datasetName,
  methodName 
)

Draw cut efficiencies.

Parameters
facthe object pointer
datasetNamethe dataset name
methodNamewe want to see the cut efficiencies of this method

Definition at line 227 of file Factory.py.

def JsMVA.Factory.DrawDecisionTree (   fac,
  datasetName,
  methodName 
)

Draw deep neural network.

Parameters
facthe object pointer
datasetNamethe dataset name
methodNamewe want to see the deep network created by this method

Definition at line 412 of file Factory.py.

def JsMVA.Factory.DrawNeuralNetwork (   fac,
  datasetName,
  methodName 
)

Draw neural network.

Parameters
facthe object pointer
datasetNamethe dataset name
methodNamewe want to see the network created by this method

Definition at line 398 of file Factory.py.

def JsMVA.Factory.DrawOutputDistribution (   fac,
  datasetName,
  methodName 
)

Draw output distributions.

Parameters
facthe object pointer
datasetNamethe dataset name
methodNamewe want to see the output distribution of this method

Definition at line 195 of file Factory.py.

def JsMVA.Factory.DrawProbabilityDistribution (   fac,
  datasetName,
  methodName 
)

Draw output probability distribution.

Parameters
facthe object pointer
datasetNamethe dataset name
methodNamewe want to see the output probability distribution of this method

Definition at line 211 of file Factory.py.

def JsMVA.Factory.DrawROCCurve (   fac,
  datasetName 
)

Draw ROC curve.

Parameters
facthe object pointer
datasetNamethe dataset name

Definition at line 187 of file Factory.py.

def JsMVA.Factory.GetDeepNetwork (   xml_file)

Reads deep neural network weights from file and returns it in JSON format.

Parameters
xml_filepath to DNN weight file

Definition at line 41 of file Factory.py.

def JsMVA.Factory.GetMethodObject (   fac,
  datasetName,
  methodName 
)

Getting method object from factory.

Parameters
facthe TMVA::Factory object
datasetNameselecting the dataset
methodNamewhich method we want to get

Definition at line 23 of file Factory.py.

def JsMVA.Factory.GetNetwork (   xml_file)

Reads neural network weights from file and returns it in JSON format.

Parameters
xml_filepath to weight file

Definition at line 74 of file Factory.py.