We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b07aa commit 8d9cf61Copy full SHA for 8d9cf61
src/dataset/impl_dataset.rs
@@ -577,7 +577,7 @@ where
577
/// ### Returns
578
///
579
/// A new shuffled version of the current Dataset
580
- /// ```
+ ///
581
pub fn shuffle<R: Rng>(&self, rng: &mut R) -> DatasetBase<Array2<F>, T::Owned> {
582
let mut indices = (0..self.nsamples()).collect::<Vec<_>>();
583
indices.shuffle(rng);
0 commit comments