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
static FactoryT< K, T > & instance()
An instance retrieval method that follows the Singleton pattern.
Definition: FactoryT.h:86
A class that implements preprocessing based on a fixed range of outputs to a fixed range of outputs.
A class that implements linear scaling as a preprocessing step.
Definition: LinearScaler.h:38
A class that implements normalization as a preprocessing step.
Definition: Normalizer.h:40
The NullScaler is a scaler that does nothing, the output of the transform function is equal to its in...
Definition: IScaler.h:197
Implementation of Random Feature preprocessing.
Definition: RandomFeature.h:45
The ScaleTransformer is a ITransformer that supports element-based scaling transformations.
Implementation of Sparse Spectrum preprocessing.
A class that implements standardization as a preprocessing step.
Definition: Standardizer.h:43
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.