Algorithm 1 (SOM): |
Initialization: set the initial time step to and choose small random values for the initial synaptic-weight vectors , .
Sampling: set and sample the training input pattern , i.e., the feature vector from the n-th parking sensor.
Similarity matching: find the winning neuron, whose index is at time step n by using the minimum-distance criterion:
where with , we mean the Euclidean distance between vectors and .
Update: adjust the synaptic-weight vectors of all neurons by using the update equation:
with , where is the learning rate parameter at iteration n and is the neighborhood function centered on at iteration n.
Adjust neighborhood: adjust the neighborhood size (), the learning rate () and continue from Step 2 if ; stop otherwise.
|