|
Bog'liq C neural networks and fuzzy logic
•
void list_weights() This function can be used to list the weight matrix.
•
void list_outputs() This function is used to write outputs to the output file.
•
float get_win_dist() Returns the Euclidean distance between the winner weight vector and the
input vector.
Kohonen_network:
•
layer *layer_ptr[2] Pointer array; element 0 points to the input layer, element 1 points to the
Kohonen layer.
•
int layer_size[2] Array of layer sizes for the two layers.
•
int neighborhood_size The current neighborhood size.
•
Kohonen_network() Constructor.
•
~Kohonen_network() Destructor.
•
void get_layer_info() Gets information about the layer sizes.
•
void set_up_network(int) Connects layers and sets up the Kohonen map.
•
void randomize_weights() Creates random normalized weights.
•
void update_neigh_size(int) Changes the neighborhood size.
•
void update_weights(const float) Performs weight update according to the training law.
Do'stlaringiz bilan baham: |
|
|