Skip to content

Commit

Permalink
Made enum_tags a public file to fix circular imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifer4073 committed Dec 14, 2024
1 parent 201c99e commit fc67481
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion aeon/clustering/_elastic_som.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from aeon.clustering.base import BaseClusterer
from aeon.distances import get_alignment_path_function, pairwise_distance
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType

VALID_ELASTIC_SOM_METRICS = [
"dtw",
Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/_k_means.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from typing import Optional

from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType

__maintainer__ = []

Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/_k_medoids.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from typing import Optional

from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType

__maintainer__ = []

Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/_k_sc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from numpy.random import RandomState

from aeon.clustering import TimeSeriesKMeans
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType


class KSpectralCentroid(TimeSeriesKMeans):
Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/_k_shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from numpy.random import RandomState

from aeon.clustering.base import BaseClusterer
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType


class TimeSeriesKShape(BaseClusterer):
Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/compose/_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from aeon.base._estimators.compose.collection_pipeline import BaseCollectionPipeline
from aeon.clustering import BaseClusterer
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType


class ClustererPipeline(BaseCollectionPipeline, BaseClusterer):
Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/deep_learning/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from aeon.base._base import _clone_estimator
from aeon.clustering._k_means import TimeSeriesKMeans
from aeon.clustering.base import BaseClusterer
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType


class BaseDeepClusterer(BaseClusterer):
Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/feature_based/_catch22.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from aeon.base._base import _clone_estimator
from aeon.clustering import BaseClusterer
from aeon.transformations.collection.feature_based import Catch22
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType


class Catch22Clusterer(BaseClusterer):
Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/feature_based/_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from aeon.base._base import _clone_estimator
from aeon.clustering import BaseClusterer
from aeon.transformations.collection.feature_based import SevenNumberSummary
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType


class SummaryClusterer(BaseClusterer):
Expand Down
2 changes: 1 addition & 1 deletion aeon/clustering/feature_based/_tsfresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from aeon.base._base import _clone_estimator
from aeon.clustering import BaseClusterer
from aeon.transformations.collection.feature_based import TSFresh
from aeon.utils.tags._enum_tags import AlgorithmType
from aeon.utils.tags.enum_tags import AlgorithmType


class TSFreshClusterer(BaseClusterer):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Apply Enumeration in module."""

from enum import Enum


Expand Down

0 comments on commit fc67481

Please sign in to comment.