Modules | |
STDP | |
Typedefs | |
typedef void(* | aspi_learning_rule_t )(aspi_object_t *net, int from_begin, int from_end, int to_begin, int to_end, double alpha_plus, double alpha_neg) |
Functions | |
void | aspi_learning_set_wmax (double wmax) |
Set w_max. | |
double | aspi_learning_get_wmax (void) |
Get w_max. |
Defines variables, etc. useful for learning functions.
Currently it is not implemented with real classes, only function pointer.
However, it might be different one day, so you should use only aspi_your_learning_rule () (e.g., aspi_stdp ()) to configure your net.
typedef void(* aspi_learning_rule_t)(aspi_object_t *net, int from_begin, int from_end, int to_begin, int to_end, double alpha_plus, double alpha_neg) |
double aspi_learning_get_wmax | ( | void | ) |
Get w_max.
void aspi_learning_set_wmax | ( | double | wmax | ) |
Set w_max.
Set maximal weight (absolute value) which can be obtained by learning.
Default is 1.0
Note that if you manually set a weigh, you can set it beyond this value.