https://github.com/asiern/genetics
Genetic diseases analyzation using K-means clustering and OpenMP.
https://github.com/asiern/genetics
clustering k-means-clustering openmp openmp-parallelization
Last synced: 9 months ago
JSON representation
Genetic diseases analyzation using K-means clustering and OpenMP.
- Host: GitHub
- URL: https://github.com/asiern/genetics
- Owner: Asiern
- License: mit
- Created: 2020-12-05T12:54:29.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-08T10:27:24.000Z (over 5 years ago)
- Last Synced: 2025-01-09T18:02:13.625Z (over 1 year ago)
- Topics: clustering, k-means-clustering, openmp, openmp-parallelization
- Language: C
- Homepage:
- Size: 16.7 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :syringe: Genetics
Genetic diseases analyzation using K-means clustering (Lloyd’s algorithm) to classify the samples and OpenMP to parallelize the code.
### :triangular_ruler: Project Structure
The project is divided into two pieces:
- Serial: `gengroups_s.c` `fungg_s.c`.
- Parallel: `gengroups_p.c` `fungg_p.c`.
The results of the execution can be found at `results_s.out` and `results_p.out`.
---
### :wrench: Build
Navigate to the `Source` folder and run the following command:
```
# Making
$ make
```
This should have created 2 files `genetics_s` and `genetics_p`.
```
# Running the program
# ./[program version] dbgen.dat dbdise.dat [number of elements to be processed]
$ ./genetics_p dbgen.dat dbdise.dat 1000
```