File tree Expand file tree Collapse file tree
python-distributed-kmeans Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COPY distributed_kmeans.py /src/distributed_kmeans.py
1010COPY tests/unit /src/tests/
1111
1212WORKDIR /src
13- RUN pytest tests/
13+ RUN pytest tests/ -x --ff --capture=no
1414
1515
1616FROM hbpmip/python-mip-sklearn:latest
Original file line number Diff line number Diff line change 6666
6767@utils .catch_user_error
6868def intermediate_kmeans ():
69- """Calculate kNN locally."""
69+ """Calculate k-Means locally."""
7070 # Read inputs
7171 logging .info ("Fetching data..." )
7272 inputs = io_helper .fetch_data ()
@@ -104,7 +104,7 @@ def intermediate_kmeans():
104104 num_iter = 0
105105 not_converged = True
106106
107- # Run kNN locally
107+ # Run k-Means locally
108108 # Have each site compute k initial clusters locally
109109 local_centroids = local .initialize_own_centroids (X , k )
110110
You can’t perform that action at this time.
0 commit comments