From 653710daa34d6b35ba12ff265172cd89c9bc0c88 Mon Sep 17 00:00:00 2001 From: Volkan Kumtepeli Date: Mon, 29 Apr 2024 02:44:19 +0100 Subject: [PATCH] UCR dataset all benchmark is enabled. --- CHANGELOG.md | 7 ++++--- benchmark/UCR_dtwc.cpp | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02951a3..321b4bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.

-# DTWC v0.0.3 +# DTWC v0.3.0 ## New features * UCR_test_2018 data integration for benchmarking. @@ -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.

-# DTWC v0.1.0 +# DTWC v0.2.0 A user interface is created for other people's use. @@ -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.

-# DTWC v0.0.1 +# DTWC v0.1.0 This is the initial release of DTWC. diff --git a/benchmark/UCR_dtwc.cpp b/benchmark/UCR_dtwc.cpp index 429f0df..3aa0ced 100644 --- a/benchmark/UCR_dtwc.cpp +++ b/benchmark/UCR_dtwc.cpp @@ -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); @@ -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.