iCub-main
TransformerCatalogue.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2010 RobotCub Consortium, European Commission FP6 Project IST-004370
3  * author: Arjan Gijsberts
4  * email: arjan.gijsberts@iit.it
5  * website: www.robotcub.org
6  * Permission is granted to copy, distribute, and/or modify this program
7  * under the terms of the GNU General Public License, version 2 or any
8  * later version published by the Free Software Foundation.
9  *
10  * A copy of the license can be found at
11  * http://www.robotcub.org/icub/license/gpl.txt
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16  * Public License for more details
17  */
18 
19 #ifndef LM_TRANSFORMERCATALOGUE__
20 #define LM_TRANSFORMERCATALOGUE__
21 
31 
32 
33 namespace iCub {
34 namespace learningmachine {
35 
37  // register scalers
38  FactoryT<std::string, IScaler>::instance().registerPrototype(new NullScaler());
39  FactoryT<std::string, IScaler>::instance().registerPrototype(new LinearScaler());
40  FactoryT<std::string, IScaler>::instance().registerPrototype(new Standardizer());
41  FactoryT<std::string, IScaler>::instance().registerPrototype(new Normalizer());
43 
44  // register proper transformers
48 
49 
50 }
51 
52 } // learningmachine
53 } // iCub
54 
55 #endif
iCub
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.
Definition: emotionInterface.h:17
iCub::learningmachine::SparseSpectrumFeature
Definition: SparseSpectrumFeature.h:47
iCub::learningmachine::Standardizer
Definition: Standardizer.h:43
FixedRangeScaler.h
RandomFeature.h
iCub::learningmachine::ScaleTransformer
Definition: ScaleTransformer.h:46
iCub::learningmachine::registerTransformers
void registerTransformers()
Definition: TransformerCatalogue.h:36
iCub::learningmachine::RandomFeature
Definition: RandomFeature.h:45
iCub::learningmachine::NullScaler
Definition: IScaler.h:197
IScaler.h
Normalizer.h
iCub::learningmachine::FixedRangeScaler
Definition: FixedRangeScaler.h:39
ITransformer.h
SparseSpectrumFeature.h
iCub::learningmachine::Normalizer
Definition: Normalizer.h:40
iCub::learningmachine::FactoryT::instance
static FactoryT< K, T > & instance()
An instance retrieval method that follows the Singleton pattern.
Definition: FactoryT.h:86
iCub::learningmachine::LinearScaler
Definition: LinearScaler.h:38
Standardizer.h
ScaleTransformer.h
LinearScaler.h