mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-15 23:45:54 +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/.Rapp.history
|
||||||
exreport/Rplots.pdf
|
exreport/Rplots.pdf
|
||||||
exreport/exreport.xlsx
|
exreport/exreport.xlsx
|
||||||
|
exreport/.~lock.exreport.xlsx#
|
||||||
Rplots.pdf
|
Rplots.pdf
|
||||||
|
@@ -42,4 +42,6 @@ python src/report.py -f results/results_STree_iMac27_2021-09-22_17:13:02.json -q
|
|||||||
```python
|
```python
|
||||||
# Do benchmark and print report
|
# Do benchmark and print report
|
||||||
python src/benchmark.py
|
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():
|
def parse_arguments():
|
||||||
ap = argparse.ArgumentParser()
|
ap = argparse.ArgumentParser()
|
||||||
ap.add_argument(
|
|
||||||
"-m",
|
|
||||||
"--model",
|
|
||||||
type=str,
|
|
||||||
required=False,
|
|
||||||
default="STree",
|
|
||||||
help="model name, dfault STree",
|
|
||||||
)
|
|
||||||
ap.add_argument(
|
ap.add_argument(
|
||||||
"-x",
|
"-x",
|
||||||
"--excel",
|
"--excel",
|
||||||
@@ -21,10 +13,10 @@ def parse_arguments():
|
|||||||
help="Generate Excel File",
|
help="Generate Excel File",
|
||||||
)
|
)
|
||||||
args = ap.parse_args()
|
args = ap.parse_args()
|
||||||
return (args.model, args.excel)
|
return args.excel
|
||||||
|
|
||||||
|
|
||||||
(model, excel) = parse_arguments()
|
excel = parse_arguments()
|
||||||
benchmark = Benchmark()
|
benchmark = Benchmark()
|
||||||
benchmark.compile_results()
|
benchmark.compile_results()
|
||||||
benchmark.report()
|
benchmark.report()
|
||||||
|
Reference in New Issue
Block a user