Merge branch 'machine_learning/kohonen_som'

This commit is contained in:
Krishna Vedala 2020-06-03 16:32:35 -04:00
commit 4865dab19a
2 changed files with 4 additions and 4 deletions

View File

@ -203,7 +203,7 @@
## Machine Learning
* [Adaline Learning](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/adaline_learning.c)
* [Kohonen Som](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/kohonen_som.c)
* [Kohonen Som Trace](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/machine_learning/kohonen_som_trace.c)
## Misc
* [Armstrong Number](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/misc/armstrong_number.c)

View File

@ -1,9 +1,9 @@
/**
* \file
* \brief [Kohonen self organizing
* map](https://en.wikipedia.org/wiki/Self-organizing_map) (1D)
* map](https://en.wikipedia.org/wiki/Self-organizing_map) (data tracing)
*
* This example implements a powerful self organizing map algorithm in 1D.
* This example implements a powerful self organizing map algorithm.
* The algorithm creates a connected network of weights that closely
* follows the given data points. This this creates a chain of nodes that
* resembles the given input shape.
@ -455,7 +455,7 @@ void test3()
* Convert clock cycle difference to time in seconds
*
* \param[in] start_t start clock
* \param[in] start_t end clock
* \param[in] end_t end clock
* \returns time difference in seconds
*/
double get_clock_diff(clock_t start_t, clock_t end_t)