#include <TNeuralDataSet.h>
Definition at line 25 of file TNeuralDataSet.h.
◆ TNeuralDataSet() [1/2]
TNeuralDataSet::TNeuralDataSet |
( |
Int_t |
aNumberOfPatterns = 0 , |
|
|
Int_t |
aNumberOfUnits = 0 |
|
) |
| |
◆ ~TNeuralDataSet()
TNeuralDataSet::~TNeuralDataSet |
( |
void |
| ) |
|
|
virtual |
◆ TNeuralDataSet() [2/2]
◆ GetData()
Double_t TNeuralDataSet::GetData |
( |
const Int_t |
aPattern, |
|
|
const Int_t |
aIndex |
|
) |
| |
|
inline |
◆ GetEventWeight()
Double_t TNeuralDataSet::GetEventWeight |
( |
const Int_t |
aPattern | ) |
|
|
inline |
◆ GetPatternsCount()
Int_t TNeuralDataSet::GetPatternsCount |
( |
void |
| ) |
|
|
inline |
◆ GetUnitsCount()
Int_t TNeuralDataSet::GetUnitsCount |
( |
void |
| ) |
|
|
inline |
◆ Normalize()
void TNeuralDataSet::Normalize |
( |
void |
| ) |
|
Definition at line 43 of file TNeuralDataSet.cxx.
50 for( UInt_t aUnitIndex = 0; aUnitIndex < this->
GetUnitsCount(); aUnitIndex++ )
54 for( UInt_t aPatternIndex = 0; aPatternIndex < this->
GetPatternsCount(); aPatternIndex++ )
56 tmp = this->
GetData( aPatternIndex, aUnitIndex );
57 fMin = (
tmp < fMin )?
tmp : fMin;
58 fMax = (
tmp > fMax )?
tmp : fMax;
61 for( UInt_t aPatternIndex = 0; aPatternIndex < this->
GetPatternsCount(); aPatternIndex++ )
63 tmp = this->
GetData( aPatternIndex, aUnitIndex );
64 tmp = (
tmp - fMin)/(fMax-fMin);
65 this->
SetData( aPatternIndex, aUnitIndex,
tmp );
◆ operator=()
◆ Randomize()
void TNeuralDataSet::Randomize |
( |
void |
| ) |
|
◆ SetData()
void TNeuralDataSet::SetData |
( |
const Int_t |
aPattern, |
|
|
const Int_t |
aIndex, |
|
|
Double_t |
aValue |
|
) |
| |
◆ SetEventWeight()
void TNeuralDataSet::SetEventWeight |
( |
const Int_t |
aPattern, |
|
|
Double_t |
aValue |
|
) |
| |
◆ Shuffle()
void TNeuralDataSet::Shuffle |
( |
Int_t |
aSeed = 0 | ) |
|
◆ mpData
TMatrixD* TNeuralDataSet::mpData |
|
private |
◆ mpNormFactors
TVectorD* TNeuralDataSet::mpNormFactors |
|
private |
◆ mpShiftFactors
TVectorD* TNeuralDataSet::mpShiftFactors |
|
private |
◆ mpWeights
TVectorD* TNeuralDataSet::mpWeights |
|
private |
The documentation for this class was generated from the following files: