From d49572ab11a81299acca4e56885908089efdb9b4 Mon Sep 17 00:00:00 2001 From: Adam Li Date: Thu, 12 Oct 2023 11:58:48 -0400 Subject: [PATCH] Make submodule install easier Signed-off-by: Adam Li --- sklearn/utils/_random.pyx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sklearn/utils/_random.pyx b/sklearn/utils/_random.pyx index 6f9c3bdb487cc..277474f15d0db 100644 --- a/sklearn/utils/_random.pyx +++ b/sklearn/utils/_random.pyx @@ -14,7 +14,9 @@ import numpy as np cimport numpy as cnp cnp.import_array() -from . import check_random_state +# XXX: added instead of relative import to make scikit-tree easier +# from .utils import check_random_state +from sklearn.utils import check_random_state cdef UINT32_t DEFAULT_SEED = 1