00001 #ifndef __UnitStabilizedFastIca__ 00002 #define __UnitStabilizedFastIca__ 00003 00027 #include "SingleUnitFastIca1.hpp" 00028 00029 class UnitStabilizedFastIca : public SingleUnitFastIca1 00030 { 00031 protected: 00032 00033 double learnRate; 00034 00035 public: 00036 00037 UnitStabilizedFastIca(double rate=0.1, double eps=1.0e-4):SingleUnitFastIca1(eps){learnRate=rate;} 00038 UnitStabilizedFastIca(double rate, AContrastFunction* func, double eps):SingleUnitFastIca1(func,eps){learnRate=rate;} 00039 virtual ~UnitStabilizedFastIca(){} 00040 00041 // learning 00042 virtual bool endLearning(); 00043 virtual bool endLearning(RealSMatrix* C, RealSMatrix* Cinv); 00044 00045 00046 virtual void output() 00047 { 00048 printf("Single Unit Stabilized FastICA"); 00049 } 00050 }; 00051 00052 #endif