mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-15 15:35:52 +00:00
Remove model argument & update .gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -134,4 +134,5 @@ exreport/exreport_output/*
|
||||
exreport/.Rapp.history
|
||||
exreport/Rplots.pdf
|
||||
exreport/exreport.xlsx
|
||||
exreport/.~lock.exreport.xlsx#
|
||||
Rplots.pdf
|
||||
|
@@ -42,4 +42,6 @@ python src/report.py -f results/results_STree_iMac27_2021-09-22_17:13:02.json -q
|
||||
```python
|
||||
# Do benchmark and print report
|
||||
python src/benchmark.py
|
||||
# Do benchmark, print report and build excel file with data
|
||||
python src/benchmark.py -x 1
|
||||
```
|
||||
|
@@ -5,14 +5,6 @@ import argparse
|
||||
|
||||
def parse_arguments():
|
||||
ap = argparse.ArgumentParser()
|
||||
ap.add_argument(
|
||||
"-m",
|
||||
"--model",
|
||||
type=str,
|
||||
required=False,
|
||||
default="STree",
|
||||
help="model name, dfault STree",
|
||||
)
|
||||
ap.add_argument(
|
||||
"-x",
|
||||
"--excel",
|
||||
@@ -21,10 +13,10 @@ def parse_arguments():
|
||||
help="Generate Excel File",
|
||||
)
|
||||
args = ap.parse_args()
|
||||
return (args.model, args.excel)
|
||||
return args.excel
|
||||
|
||||
|
||||
(model, excel) = parse_arguments()
|
||||
excel = parse_arguments()
|
||||
benchmark = Benchmark()
|
||||
benchmark.compile_results()
|
||||
benchmark.report()
|
||||
|
Reference in New Issue
Block a user