diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2021-07-21 12:52:18 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-08-03 10:54:26 +0300 |
commit | a792512496abbf756354cecc7b564e9733ea3fda (patch) | |
tree | 405702e9bf03e8ede544cfa3834f6ec74ab0c100 /test/media_device/media_device_print_test.cpp | |
parent | e9288e2ee5aa6c1637212ca4b51cd0a951b7bd05 (diff) |
utils: raspberrypi: ctt: Fix namespace for sklearn NearestCentroid function
Starting in version 0.22, the NearestCentroid function is only available
in the sklearn.neighbors namespace, when it was previously available in
both the sklearn.neighbors.nearest_centroid and sklearn.neighbors
namespaces. Use sklearn.neighbors as it works on all versions of
sklearn.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/media_device/media_device_print_test.cpp')
0 files changed, 0 insertions, 0 deletions