Skip to content

Commit a5620f4

Browse files
authored
DOC Remove outdated comments regarding memoryviews (scikit-learn#27169)
Signed-off-by: Julien Jerphanion <git@jjerphan.xyz>
1 parent d90dd11 commit a5620f4

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

sklearn/cluster/_k_means_common.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#
55
# License: BSD 3 clause
66

7-
# TODO: We still need to use ndarrays instead of typed memoryviews when using
8-
# fused types and when the array may be read-only (for instance when it's
9-
# provided by the user). This is fixed in cython > 0.3.
10-
117
import numpy as np
128
from cython cimport floating
139
from cython.parallel cimport prange

sklearn/cluster/_k_means_elkan.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
#
33
# Licence: BSD 3 clause
44

5-
# TODO: We still need to use ndarrays instead of typed memoryviews when using
6-
# fused types and when the array may be read-only (for instance when it's
7-
# provided by the user). This is fixed in cython > 0.3.
8-
95
from cython cimport floating
106
from cython.parallel import prange, parallel
117
from libc.stdlib cimport calloc, free

sklearn/cluster/_k_means_lloyd.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Licence: BSD 3 clause
22

3-
# TODO: We still need to use ndarrays instead of typed memoryviews when using
4-
# fused types and when the array may be read-only (for instance when it's
5-
# provided by the user). This is fixed in cython > 0.3.
6-
73
from cython cimport floating
84
from cython.parallel import prange, parallel
95
from libc.stdlib cimport malloc, calloc, free

sklearn/cluster/_k_means_minibatch.pyx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# TODO: We still need to use ndarrays instead of typed memoryviews when using
2-
# fused types and when the array may be read-only (for instance when it's
3-
# provided by the user). This will be fixed in cython >= 0.3.
4-
51
from cython cimport floating
62
from cython.parallel cimport parallel, prange
73
from libc.stdlib cimport malloc, free

0 commit comments

Comments
 (0)