scikit-learn/sklearn/utils/_random.pxd

15 lines
294 B
Cython
Raw Normal View History

2013-07-22 21:57:56 +08:00
# Authors: Arnaud Joly
#
# Licence: BSD 3 clause
import numpy as np
cimport numpy as np
2013-07-22 22:28:58 +08:00
cpdef sample_without_replacement(np.int_t n_population,
np.int_t n_samples,
method=*,
random_state=*)
2013-07-22 21:57:56 +08:00