<div dir="ltr"><div dir="ltr">Hi David,<div><br></div><div>Thank you for fixing this!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 21 Jul 2021 at 12:52, David Plowman <<a href="mailto:david.plowman@raspberrypi.com">david.plowman@raspberrypi.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The NearestCentroid function is now in the sklearn.neighbors<br>
namespace.<br>
<br>
Signed-off-by: David Plowman <<a href="mailto:david.plowman@raspberrypi.com" target="_blank">david.plowman@raspberrypi.com</a>><br></blockquote><div><br></div><div>Reviewed-by: Naushir Patuck <<a href="mailto:naush@raspberrypi.com">naush@raspberrypi.com</a>></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 utils/raspberrypi/ctt/ctt_tools.py | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/utils/raspberrypi/ctt/ctt_tools.py b/utils/raspberrypi/ctt/ctt_tools.py<br>
index 48e0aac2..8728ff16 100644<br>
--- a/utils/raspberrypi/ctt/ctt_tools.py<br>
+++ b/utils/raspberrypi/ctt/ctt_tools.py<br>
@@ -14,7 +14,7 @@ import imutils<br>
 import sys<br>
 import matplotlib.pyplot as plt<br>
 from sklearn import cluster as cluster<br>
-from sklearn.neighbors.nearest_centroid import NearestCentroid as get_centroids<br>
+from sklearn.neighbors import NearestCentroid as get_centroids<br>
<br>
 """<br>
 This file contains some useful tools, the details of which aren't important to<br>
-- <br>
2.20.1<br>
<br>
</blockquote></div></div>