Skip to content

Commit

Permalink
UCR dataset all benchmark is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElektrikAkar committed Apr 29, 2024
1 parent ed0c94c commit 653710d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ This changelog contains a non-exhaustive list of new features and notable bug-fi

## Developer updates:
* The software is now being tested via Catch2 library.
* Dependabot is added.

<br/><br/>
# DTWC v0.0.3
# DTWC v0.3.0

## New features
* UCR_test_2018 data integration for benchmarking.
Expand All @@ -43,7 +44,7 @@ This changelog contains a non-exhaustive list of new features and notable bug-fi
* `std::filesystem::path operator+` was unnecessary and removed.

<br/><br/>
# DTWC v0.1.0
# DTWC v0.2.0

A user interface is created for other people's use.

Expand All @@ -67,7 +68,7 @@ A user interface is created for other people's use.
* Required C++ standard is upgraded from C++17 to C++20.

<br/><br/>
# DTWC v0.0.1
# DTWC v0.1.0

This is the initial release of DTWC.

Expand Down
7 changes: 4 additions & 3 deletions benchmark/UCR_dtwc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ inline void UCR_2018()
//(settings::root_folder / "data/benchmark/UCRArchive_2018/AllGestureWiimoteZ/AllGestureWiimoteZ_TEST.tsv")

};

dataofInterest = UCR_list; // Comment this out to do an individual testing.

size_t solved = 0;
for (auto &file_path : dataofInterest) {
dl.path(file_path);
Expand All @@ -108,10 +111,8 @@ inline void UCR_2018()

std::cout << "Now, number " << solved << " " << file_path << " is being solved.\n";
solved++;
// if (solved < 25) // We already calculated this part
// continue;

if (prob.data.size() > 1000) // DOnt calculate large data it is not good. For example Crop.
if (prob.data.size() > 1000) // Don't calculate large data it is not good. For example Crop.
continue;

prob.set_numberOfClusters(Nc); // Nc = number of clusters.
Expand Down

0 comments on commit 653710d

Please sign in to comment.