From b60d68ac725fb3736e43e10449cdde799d8e460b Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 3 Jun 2020 14:42:10 -0400 Subject: [PATCH 1/4] rename kohonen som to tracer (cherry picked from commit ebb7cc74ca855dd504f65eb42db5472985d81991) --- machine_learning/{kohonen_som.c => kohonen_som_trace.c} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename machine_learning/{kohonen_som.c => kohonen_som_trace.c} (100%) diff --git a/machine_learning/kohonen_som.c b/machine_learning/kohonen_som_trace.c similarity index 100% rename from machine_learning/kohonen_som.c rename to machine_learning/kohonen_som_trace.c From 313b39ab167540f965f0cf4357203698f2e5db7f Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 3 Jun 2020 14:44:16 -0400 Subject: [PATCH 2/4] fix parameter info for diff_clock (cherry picked from commit e930704a3d9333490910c86352624759442c0907) --- machine_learning/kohonen_som_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine_learning/kohonen_som_trace.c b/machine_learning/kohonen_som_trace.c index d0415e9f..5c6f885a 100644 --- a/machine_learning/kohonen_som_trace.c +++ b/machine_learning/kohonen_som_trace.c @@ -449,7 +449,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) From ae2ee4b0cf50c574ad3d061809c5754b9e78dcd3 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 3 Jun 2020 14:53:43 -0400 Subject: [PATCH 3/4] update description --- machine_learning/kohonen_som_trace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machine_learning/kohonen_som_trace.c b/machine_learning/kohonen_som_trace.c index 5c6f885a..fc6ce8ce 100644 --- a/machine_learning/kohonen_som_trace.c +++ b/machine_learning/kohonen_som_trace.c @@ -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. From 7e66e149ee1bb47af3962b9c9328f69b1daab6b7 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 3 Jun 2020 18:55:22 +0000 Subject: [PATCH 4/4] updating DIRECTORY.md --- DIRECTORY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DIRECTORY.md b/DIRECTORY.md index 39549c55..4494288c 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -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)