Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] eval_name should be required in evaluate_clusterers_by_problem #304

Open
TonyBagnall opened this issue Nov 2, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@TonyBagnall
Copy link
Member

Describe the bug

just using this, will list anything minor I find here for reference

Steps/Code to reproduce the bug


clusterers = ["dba","dtw","euclidean","k-sc","k-shapes","kesba","soft-dba","ttc",
              "ushapelets"]
path = "C:\\Users\\Tony\OneDrive - University of " \
       "Southampton\\Research\\Papers\\2024\\KESBA\\Results\\"
#,"msm","twe"
from aeon.datasets.tsc_datasets import univariate_equal_length

if __name__ == "__main__":
    evaluate_clusterers_by_problem( clusterer_names=clusterers,
                                    load_path=path,
                                    error_on_missing=False,
                                    resamples = 1,
                                    save_path="C:\\Temp\\",
                                    dataset_names=list(univariate_equal_length),
    )

Expected results

would put results in temp?

Actual results

Traceback (most recent call last):
  File "C:\Code\tsml-eval\tsml_eval\local\compare_clusterers.py", line 11, in <module>
    evaluate_clusterers_by_problem( clusterer_names=clusterers,
  File "C:\Code\tsml-eval\tsml_eval\evaluation\multiple_estimator_evaluation.py", line 526, in evaluate_clusterers_by_problem
    evaluate_clusterers(
  File "C:\Code\tsml-eval\tsml_eval\evaluation\multiple_estimator_evaluation.py", line 316, in evaluate_clusterers
    _evaluate_estimators(
  File "C:\Code\tsml-eval\tsml_eval\evaluation\multiple_estimator_evaluation.py", line 1065, in _evaluate_estimators
    save_path = save_path + "/" + eval_name + "/"
TypeError: can only concatenate str (not "NoneType") to str
@TonyBagnall TonyBagnall added the bug Something isn't working label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant