Skip to content

Commit

Permalink
benchmarknig
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBagnall committed Sep 10, 2019
1 parent e5ab738 commit 36dc654
Show file tree
Hide file tree
Showing 3 changed files with 1,970 additions and 1,688 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,7 @@ build_doc_site/
envs/
sktime/contrib/distance_based/tempy.py
sktime/contrib/nothing_to_see_here.py
sktime/distances/elastic_cython.html
sktime/distances/elastic_cython.html
*.html
sktime/distances/elastic_cython.html
9 changes: 3 additions & 6 deletions sktime/contrib/basic_benchmarking.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"Fish",
"FreezerRegularTrain",
"FreezerSmallTrain",
"Fungi",
"Ham",
"Haptics",
"Herring",
Expand Down Expand Up @@ -90,7 +89,6 @@
"PigAirwayPressure",
"PigArtPressure",
"PigCVP",
"PLAID",
"Plane",
"PowerCons",
"ProximalPhalanxOutlineCorrect",
Expand All @@ -102,7 +100,6 @@
"SemgHandGenderCh2",
"SemgHandMovementCh2",
"SemgHandSubjectCh2",
"ShakeGestureWiimoteZ",
"ShapeletSim",
"SmallKitchenAppliances",
"SmoothSubspace",
Expand Down Expand Up @@ -188,11 +185,11 @@ def rise_benchmarking():
classifier=rise, dataset=dataset, train_file=False)

def boss_benchmarking():
for i in range(0, len(benchmark_datasets)):
for i in range(len(benchmark_datasets)-10, len(benchmark_datasets)):
dataset = benchmark_datasets[i]
print(str(i)+" problem = "+dataset)
print(str(i)+" problem = "+dataset+" writing to "+results_dir+"BOSS/")
boss = db.BOSSEnsemble(max_ensemble_size=10)
exp.run_experiment(overwrite=False, problem_path=data_dir, results_path=results_dir, cls_name="PythonBOSS",
exp.run_experiment(overwrite=False, problem_path=data_dir, results_path=results_dir+"BOSS/", cls_name="PythonBOSS",
classifier=boss,dataset=dataset, train_file=False)


Expand Down
Loading

0 comments on commit 36dc654

Please sign in to comment.