openModeller
Version 1.4.0
|
#include <MeanVarianceNormalizer.hh>
Public Member Functions | |
MeanVarianceNormalizer () | |
~MeanVarianceNormalizer () | |
void | computeNormalization (const ReferenceCountedPointer< const SamplerImpl > &samplerPtr) |
void | normalize (Sample *samplePtr) |
Normalizer * | getCopy () |
ConfigurationPtr | getConfiguration () const |
void | setConfiguration (const ConstConfigurationPtr &) |
Private Attributes | |
Sample | _mean |
Sample | _stddev |
Declaration of MeanVarianceNormalizer class
LICENSE INFORMATION
Copyright(c) 2007 by CRIA - Centro de Referencia em Informacao Ambiental
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:
http://www.gnu.org/copyleft/gpl.html
Definition at line 32 of file MeanVarianceNormalizer.hh.
Definition of MeanVarianceNormalizer class
LICENSE INFORMATION
Copyright(c) 2007 by CRIA - Centro de Referencia em Informacao Ambiental
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:
http://www.gnu.org/copyleft/gpl.html
Definition at line 34 of file MeanVarianceNormalizer.cpp.
Referenced by getCopy().
Definition at line 42 of file MeanVarianceNormalizer.cpp.
void MeanVarianceNormalizer::computeNormalization | ( | const ReferenceCountedPointer< const SamplerImpl > & | samplerPtr | ) | [virtual] |
Implements Normalizer.
Definition at line 53 of file MeanVarianceNormalizer.cpp.
References _mean, _stddev, Sample::resize(), and Sample::sqrt().
ConfigurationPtr MeanVarianceNormalizer::getConfiguration | ( | ) | const [virtual] |
Implements Configurable.
Definition at line 118 of file MeanVarianceNormalizer.cpp.
Normalizer * MeanVarianceNormalizer::getCopy | ( | ) | [virtual] |
Implements Normalizer.
Definition at line 46 of file MeanVarianceNormalizer.cpp.
References MeanVarianceNormalizer().
void MeanVarianceNormalizer::normalize | ( | Sample * | samplePtr | ) | [virtual] |
Implements Normalizer.
Definition at line 107 of file MeanVarianceNormalizer.cpp.
References _mean, _stddev, and Sample::size().
void MeanVarianceNormalizer::setConfiguration | ( | const ConstConfigurationPtr & | config | ) | [virtual] |
Implements Configurable.
Definition at line 132 of file MeanVarianceNormalizer.cpp.
Sample MeanVarianceNormalizer::_mean [private] |
Definition at line 53 of file MeanVarianceNormalizer.hh.
Referenced by computeNormalization(), getConfiguration(), normalize(), and setConfiguration().
Sample MeanVarianceNormalizer::_stddev [private] |
Definition at line 54 of file MeanVarianceNormalizer.hh.
Referenced by computeNormalization(), getConfiguration(), normalize(), and setConfiguration().