Commit Graph

43 Commits

Author SHA1 Message Date
Piyush Kumar cc241f58c2
feat: Add endlines in `machine_learning/adaline_learning.c` (#846)
Add endlines in `machine_learning/adaline_learning.c`.
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-08-18 15:35:00 -05:00
Krishna Vedala 0b426c0124
[doc fix] fix documentations in k_means (#592)
* fix documentations

* clang-tidy fixes for 814f9077b7

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-08 12:27:46 -04:00
Krishna Vedala 05d9af45f3
corrected filename in documentation 2020-08-08 10:14:04 -04:00
Lakhan Nad 6247f830b5
feat: K Means Clustering Added (#589)
* feat: K Means Clustering Added

Implemented K Means Clustering in C
The data set used for implementing is ordered pair(x,y) in 2D plane.

* Update k_means_clustering.c

Lint suggested changes

* Update k_means_clustering.c

Lint suggested changes

* Update k_means_clustering.c

* Update k_means_clustering.c

Added float headers and also included macro _USE_MATH_DEFINES

* Update machine_learning/k_means_clustering.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* update: change in docs and a new test added

* Update machine_learning/k_means_clustering.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update machine_learning/k_means_clustering.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* update: scale down rand() before multiplication

* update: image width specifid and documentation grouped

* update: lint suggested changes

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-08-08 08:37:49 -04:00
Krishna Vedala b863518ceb
update ML documentation and add grouping 2020-07-02 20:09:49 -04:00
Krishna Vedala b33bd37623
kohonen2d: update ML documentation and add grouping 2020-07-02 20:02:33 -04:00
Krishna Vedala 797a7d4c73
update ML documentation and add grouping 2020-07-02 19:52:19 -04:00
Krishna Vedala 6470f0318b
fixed documentations 2020-06-28 15:18:52 -04:00
github-actions 6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
Krishna Vedala b833e27964
fix link references from fork to main repo 2020-06-28 11:22:42 -04:00
github-actions 5347e6f87d formatting source-code for b1d92cbdda 2020-06-20 11:28:26 +00:00
Krishna Vedala 5581dac360
fixed outpout filename descriptions 2020-06-17 18:26:42 -04:00
Krishna Vedala 2651ff5903
added safety paranthesis 2020-06-16 12:33:41 -04:00
Krishna Vedala 580c501c29
updated documentations
(cherry picked from commit 05b3dbdab9b6df041ac17af89610c5b018adeed2)
2020-06-16 10:49:55 -04:00
Krishna Vedala 57efe664f1
rename file to *topology instead of *image 2020-06-14 13:34:58 -04:00
Krishna Vedala c532a38ce1
bug fixes, optimization and more documentation
Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-13 19:38:29 -04:00
Krishna Vedala 8d2ca00459
update documentation
Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-13 18:25:55 -04:00
Krishna Vedala 7b1bba8c36
fixed MSVC related errors -
MSVC complains of valid C but invalid C++ struct initialization

Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-13 14:21:42 -04:00
Krishna Vedala d43566a4e5
added kohonen SOM for topological maps 2020-06-13 14:07:11 -04:00
Krishna Vedala 352bd8a588
added convenient min, max definitions
Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-13 14:01:53 -04:00
Krishna Vedala 4e7bf1566a
documentation fixes for kohonen_som 2020-06-10 09:11:36 -04:00
Krishna Vedala d31480169c
updated documentation 2020-06-10 09:04:43 -04:00
Krishna Vedala f9d506fdb0
added authorship to docs 2020-06-06 14:51:49 -04:00
Krishna Vedala 4865dab19a Merge branch 'machine_learning/kohonen_som' 2020-06-03 16:32:35 -04:00
Krishna Vedala f49963a829 added graphs to kohonen - use dedicated branch for SVG image uploads 2020-06-03 16:22:10 -04:00
Krishna Vedala ae2ee4b0cf update description 2020-06-03 14:53:43 -04:00
Krishna Vedala 313b39ab16 fix parameter info for diff_clock
(cherry picked from commit e930704a3d9333490910c86352624759442c0907)
2020-06-03 14:52:46 -04:00
Krishna Vedala b60d68ac72 rename kohonen som to tracer
(cherry picked from commit ebb7cc74ca855dd504f65eb42db5472985d81991)
2020-06-03 14:52:33 -04:00
Krishna Vedala 49ed139a13 remove 2D array const 2020-06-03 14:15:59 -04:00
Krishna Vedala 73d6a775c1 remove `const double * const*` 2020-06-03 14:08:34 -04:00
Krishna Vedala b54ee460f3 remove inline for get_clock_diff 2020-06-03 14:06:54 -04:00
Krishna Vedala fcf1b5ab91 added 3D test case 2020-06-03 13:39:41 -04:00
Krishna Vedala 46a3707ac8 rename save function to nd and added missing time diff computation function 2020-06-03 13:39:26 -04:00
Krishna Vedala 60a768b2a1 added computation time output 2020-06-03 13:36:40 -04:00
Krishna Vedala 5b3063f4d3 printf openmp debug message 2020-06-03 12:55:59 -04:00
Krishna Vedala bc950d502a rename random(..) -> _random(..) to avoid conflict with similar function name <stdlib.h> 2020-06-03 12:45:44 -04:00
Krishna Vedala 31c145b773 const 2d pointer access attempt 2 2020-06-03 12:38:10 -04:00
Krishna Vedala 0650630aa9 fix const pointer parameters 2020-06-03 12:29:54 -04:00
Krishna Vedala 98fb7ffce7 1d kohonen self organizing map (som) 2020-06-03 11:57:14 -04:00
Krishna Vedala 614280257b added missing delete adaline 2020-05-31 13:30:53 -04:00
Krishna Vedala 65b2d92977 fixed test case 1 2020-05-31 13:04:56 -04:00
Krishna Vedala 1836baa4a0 adaline learning algorithm 2020-05-31 12:43:17 -04:00
Krishna Vedala e48fb4eca1 add machine_learning folder 2020-05-31 10:56:51 -04:00