Skip to content

Commit 65c198f

Browse files
committed
hopefully right syntax
1 parent 85f1d87 commit 65c198f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/15-kmeans-project.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Here we try to replicate what scipy does internally using simple Python.
144144
The most important calculation will be the eucledian distance.
145145
Implement your own ``dist( vec1, vec2)`` function.
146146

147-
??? You can compare yours to this after you are finished
147+
??? example "You can compare yours to this after you are finished"
148148
```python
149149
def dist(vec1, vec2):
150150
"""
@@ -157,7 +157,7 @@ def dist(vec1, vec2):
157157
We need to repeatetly get the eucledian distances of one centroid against all genes.
158158
Implement a ``dist_to_centroid (centroid, mat )`` function.
159159

160-
??? Again only peak after you finished yours
160+
??? example "Again only peak after you finished yours"
161161
```python
162162
def dist_to_centroid (centroid, mat ):
163163
"""
@@ -190,7 +190,7 @@ And the loop should contain these steps:
190190
5. use the new centroids and restart the loop
191191
---
192192

193-
??? Really - do not peak - use this opportunity to dig into this problem!
193+
??? example "Really - do not peak - use this opportunity to dig into this problem!"
194194
```python
195195
def kmeans( data, k, maxiter, seed):
196196
"""

0 commit comments

Comments
 (0)