-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Hi, I am developing my model with TSB-AD datasets.
According to the example (https://github.com/TheDatumOrg/TSB-AD/blob/ae42795ae23b0f332a716228ed5d218d7a4ce906/TSB_AD/main.py#L56), we can use the get_metrics function to calculate VUS-PR and VUS-ROC.
The get_metrics function has a parameter called slidingWindow (https://github.com/TheDatumOrg/TSB-AD/blob/ae42795ae23b0f332a716228ed5d218d7a4ce906/TSB_AD/evaluation/metrics.py#L3). Does this parameter represent the window size selected during model training?
In my experiments, I found that this window size has an impact on VUS-PR and VUS-ROC. Specifically, larger windows result in higher values for both metrics. Therefore, should we fix the slidingWindow parameter in get_metrics (e.g. the defualt 100) regardless of the window size chosen during model training to ensure a fair performance comparison?