Skip to content

Commit 63d2bbf

Browse files
cmarmothomasjpfan
andauthored
MNT Fix TODO comment referring to Cython version not sklearn (scikit-learn#18880)
Co-authored-by: Thomas J. Fan <[email protected]>
1 parent 697ceee commit 63d2bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/linear_model/_cd_fast.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ def enet_coordinate_descent_gram(floating[::1] w,
622622

623623
def enet_coordinate_descent_multi_task(
624624
floating[::1, :] W, floating l1_reg, floating l2_reg,
625-
np.ndarray[floating, ndim=2, mode='fortran'] X, # TODO: use views in 0.24
626-
np.ndarray[floating, ndim=2, mode='fortran'] Y,
625+
np.ndarray[floating, ndim=2, mode='fortran'] X, # TODO: use views with Cython 3.0
626+
np.ndarray[floating, ndim=2, mode='fortran'] Y, # hopefully with skl 1.0
627627
int max_iter, floating tol, object rng, bint random=0):
628628
"""Cython version of the coordinate descent algorithm
629629
for Elastic-Net mult-task regression

0 commit comments

Comments
 (0)