## Summary The `samples` parameter can be changed to a Cython memoryview from its current `SIZE_t* samples` type. _Originally posted by @adam2392 in https://github.com/scikit-learn/scikit-learn/pull/24994#discussion_r1028818076_