Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgiving committed Nov 29, 2024
1 parent d694bd5 commit 91f549c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lkmeans/examples/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ExperimentArguments(Tap):


def get_clustering_algorithm(clustering_type: ClusteringAlgorithmType) -> Clustering:
clustering_map: Dict[clustering_type, Clustering] = {
clustering_map: Dict[ClusteringAlgorithmType, Clustering] = {
ClusteringAlgorithmType.LKMEANS: LKMeans,
ClusteringAlgorithmType.SOFT_SS_LKMEANS: SoftSSLKMeans,
ClusteringAlgorithmType.HARD_SS_LKMEANS: HardSSLKMeans
Expand Down

0 comments on commit 91f549c

Please sign in to comment.