TarzaNN
TarzaNN neural network simulator
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
LearningFeaturePlane Class Reference

#include <LearningFeaturePlane.h>

Inheritance diagram for LearningFeaturePlane:
FeaturePlane FeaturePlaneAbstract Observer Viewable BPLearningFeaturePlane CTSOMFeaturePlane SOMFeaturePlane STSOMFeaturePlane

List of all members.

Public Member Functions

 ~LearningFeaturePlane ()
virtual void read (QDataStream *inStream, QProgressDialog *progress, int *index)=0
virtual void save (QDataStream *outStream, QProgressDialog *progress, int *index)=0

Protected Member Functions

 LearningFeaturePlane (Network *net, int l, QString *name, int w, int h, int angles, int speeds, int alpha, int speed, bool isWTA, bool visible, Neuron *neuron, NotifyStrategyAbstract *notify, bool learning)
FeaturePlaneInputaddFilter (Filter *f, FeaturePlaneAbstract *fp, int type, int fpOutputIndex, bool wta)
float computeSkip (int input, int output, int filter)
void setWindowRange (int input_width, int input_height, int filter_width, int filter_height)
void computeGatingUnits ()

Protected Attributes

PlaneInputWindowSetwindows
Matrixactivations
MatrixdesiredOutcome
MatrixerrorMatrix
vector< Matrix * > backErrorMatrix
bool learning
vector< FilterBank * > inputFilters
float ita

Friends

class GatingUnits
class FeaturePlaneFactory

Detailed Description

It loads an image file (PNG, BMP, XBM, XPM, PNM, and possibly JPG, GIF, MNG, based on how QT was compiled - see QImageIO) and offers it as output.


Constructor & Destructor Documentation

LearningFeaturePlane::~LearningFeaturePlane ( )
LearningFeaturePlane::LearningFeaturePlane ( Network net,
int  l,
QString *  name,
int  w,
int  h,
int  angles,
int  speeds,
int  alpha,
int  speed,
bool  isWTA,
bool  visible,
Neuron neuron,
NotifyStrategyAbstract notify,
bool  learning 
) [protected]

Load the specified file

Parameters:
net- network, this FP will be added to the end of the list of feature planes
filename- file to open as input
name- name of the feature plane
visible- should the FP be presented in the UI
scale- to scale or not to scale, this is the question
min- scale currentOutput to the min - max range
max

Member Function Documentation

FeaturePlaneInput * LearningFeaturePlane::addFilter ( Filter f,
FeaturePlaneAbstract fp,
int  type,
int  fpOutputIndex,
bool  wta 
) [protected, virtual]

Add an input filter/feature plane pair.

Parameters:
f- filter
fp- input feature plane
type- input type: regular, non-Fourier, masking
fpOutputIndex- in case input feature plane has more than one output, which one are we interested in

Reimplemented from FeaturePlane.

Reimplemented in STSOMFeaturePlane, and CTSOMFeaturePlane.

void LearningFeaturePlane::computeGatingUnits ( ) [protected]

Reimplemented in STSOMFeaturePlane, and CTSOMFeaturePlane.

float LearningFeaturePlane::computeSkip ( int  input,
int  output,
int  filter 
) [protected]
virtual void LearningFeaturePlane::read ( QDataStream *  inStream,
QProgressDialog *  progress,
int *  index 
) [pure virtual]
virtual void LearningFeaturePlane::save ( QDataStream *  outStream,
QProgressDialog *  progress,
int *  index 
) [pure virtual]
void LearningFeaturePlane::setWindowRange ( int  input_width,
int  input_height,
int  filter_width,
int  filter_height 
) [protected]

Friends And Related Function Documentation

friend class FeaturePlaneFactory [friend]
friend class GatingUnits [friend]

Member Data Documentation

Reimplemented in BPLearningFeaturePlane.

Reimplemented in BPLearningFeaturePlane.

Reimplemented in BPLearningFeaturePlane.

Reimplemented in BPLearningFeaturePlane.

float LearningFeaturePlane::ita [protected]

Reimplemented in BPLearningFeaturePlane.

Reimplemented in BPLearningFeaturePlane.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines