LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_content::MvaInterface Class Referenceabstract

MvaInterface class. More...

#include "LArMvaInterface.h"

Inheritance diagram for lar_content::MvaInterface:
lar_content::AdaBoostDecisionTree lar_content::SupportVectorMachine

Public Member Functions

virtual bool Classify (const MvaTypes::MvaFeatureVector &features) const =0
 Classify the set of input features based on the trained model. More...
 
virtual double CalculateClassificationScore (const MvaTypes::MvaFeatureVector &features) const =0
 Calculate the classification score for a set of input features, based on the trained model. More...
 
virtual double CalculateProbability (const MvaTypes::MvaFeatureVector &features) const =0
 Calculate the classification probability for a set of input features, based on the trained model. More...
 
virtual ~MvaInterface ()=default
 Destructor. More...
 

Detailed Description

MvaInterface class.

Definition at line 92 of file LArMvaInterface.h.

Constructor & Destructor Documentation

virtual lar_content::MvaInterface::~MvaInterface ( )
virtualdefault

Destructor.

Member Function Documentation

virtual double lar_content::MvaInterface::CalculateClassificationScore ( const MvaTypes::MvaFeatureVector features) const
pure virtual

Calculate the classification score for a set of input features, based on the trained model.

Parameters
featuresthe input features
Returns
the classification score

Implemented in lar_content::AdaBoostDecisionTree, and lar_content::SupportVectorMachine.

Referenced by lar_content::LArMvaHelper::CalculateClassificationScore().

virtual double lar_content::MvaInterface::CalculateProbability ( const MvaTypes::MvaFeatureVector features) const
pure virtual

Calculate the classification probability for a set of input features, based on the trained model.

Parameters
featuresthe input features
Returns
the classification probability

Implemented in lar_content::AdaBoostDecisionTree, and lar_content::SupportVectorMachine.

Referenced by lar_content::LArMvaHelper::CalculateProbability().

virtual bool lar_content::MvaInterface::Classify ( const MvaTypes::MvaFeatureVector features) const
pure virtual

Classify the set of input features based on the trained model.

Parameters
featuresthe input features
Returns
the classification

Implemented in lar_content::AdaBoostDecisionTree, and lar_content::SupportVectorMachine.

Referenced by lar_content::LArMvaHelper::Classify().


The documentation for this class was generated from the following file: