Skip to content

Commit 0cb2bca

Browse files
committed
update readme
1 parent cd6471c commit 0cb2bca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dataset = [
4545
]
4646

4747
# Initialize the clustering interface
48-
clustering_problem = create_cluster_problem(dataset, k=2)
48+
clustering_problem, retransform = create_cluster_problem(dataset, k=2)
4949

5050
# Define a simple random search algorithm
5151
class RandomSearch:
@@ -103,7 +103,7 @@ clustering_function = general_cluster_metric(custom_distance_function, custom_er
103103
clustering_problem = create_cluster_problem(
104104
dataset=dataset,
105105
k=2,
106-
evaluation_function=clustering_function
106+
error_metric=clustering_function
107107
)
108108
```
109109

0 commit comments

Comments
 (0)