Data structure that is passed to each thread for updates or predictions. More...
#include <lwpr_aux.h>
Data Fields | |
const LWPR_Model * | model |
Pointer to the LWPR_Model. | |
LWPR_Workspace * | ws |
Pointer to the thread's LWPR_Workspace (working memory). | |
const double * | xn |
Normalised input vector (Nx1). | |
int | dim |
Currently handled output dimension. | |
double | yn |
Normalised output, dim-th element of normalised output vector. | |
double | cutoff |
Threshold determining the minimal activation for updating a RF. | |
double | w_max |
Largest activation encountered in this thread. | |
double | w_sec |
Second largest activation encountered in this thread. | |
double | sum_w |
Sum of activations. | |
double | yp |
Sum of un-normalised predictions of the RFs handled by this thread. | |
int | start |
Index of first LWPR_ReceptiveField this thread should handle. | |
int | incr |
Increment for RF index, for splitting up a series of RFs among threads. | |
int | end |
Upper bound for RF index this thread should handle. | |
int | ind_max |
Index of RF with largest activation. | |
int | ind_sec |
Index of RF with second largest activation. |
Data structure that is passed to each thread for updates or predictions.