Feedforward Closedloop Learning
|
1 #ifndef __FEEDFORWARD_CLOSEDLOOP_LEARNING_UTIL_H_
2 #define __FEEDFORWARD_CLOSEDLOOP_LEARNING_UTIL_H_
4 #include "fcl/globals.h"
6 #include "fcl/neuron.h"
7 #include "fcl/bandpass.h"
39 int* num_of_neurons_per_layer_array,
54 void doStep(
double* input,
double* error);
58 void doStep(
double* input,
int n1,
double* error,
int n2);
60 double getFilterOutput(
int inputIdx,
int filterIdx) {
61 const int idx = inputIdx * nFiltersPerInput + filterIdx;
62 assert((idx >= 0) || (idx < (nFiltersPerInput * nInputs)));
63 return filterbankOutputs[idx];
66 int getNFiltersPerInput() {
67 return nFiltersPerInput;
71 const double dampingCoeff = 0.51;
73 double* filterbankOutputs = 0;
74 int nFiltersPerInput = 0;
Derived classes of the FeedforwardClosedloopLearning class for special functionality.
Definition: fcl_util.h:21
void doStep(double *input, double *error)
Performs the simulation step.
~FeedforwardClosedloopLearningWithFilterbank()
Destructor.
Main class of Feedforward Closed Loop Learning.
Definition: fcl.h:30
Creates memory traces at specified length.
Definition: bandpass.h:14
FeedforwardClosedloopLearningWithFilterbank(int num_of_inputs, int *num_of_neurons_per_layer_array, int num_layers, int num_filtersInput, double minT, double maxT)
FeedforwardClosedloopLearning with Filterbank at each input.