Compare commits
2 Commits
3b2b6c4af9
...
197c532113
Author | SHA1 | Date |
---|---|---|
coolneng | 197c532113 | |
coolneng | 498d93de2a |
|
@ -39,3 +39,11 @@ nix-shell
|
||||||
|
|
||||||
After running these commands, you will find yourself in a shell that
|
After running these commands, you will find yourself in a shell that
|
||||||
contains all the needed dependencies.
|
contains all the needed dependencies.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
The following creates the dataset, trains the Deep Learning model and shows the accuracy:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
poetry run python src/model.py
|
||||||
|
```
|
||||||
|
|
|
@ -85,3 +85,7 @@ def run(data_file, label_file, seed_value=42) -> None:
|
||||||
)
|
)
|
||||||
print("Training complete. Obtaining final metrics...")
|
print("Training complete. Obtaining final metrics...")
|
||||||
show_metrics(model, eval_data, test_data)
|
show_metrics(model, eval_data, test_data)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
run(data_file="data/curesim-HVR.fastq", label_file="data/HVR.fastq")
|
||||||
|
|
Loading…
Reference in New Issue