From 821b472b3d3cdfa2017ec5d5a8203ec5d904be95 Mon Sep 17 00:00:00 2001 From: abhro <5664668+abhro@users.noreply.github.com> Date: Wed, 30 Jul 2025 17:38:58 -0400 Subject: [PATCH] Unify markdown list in `splitobs` docstring --- src/splitobs.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/splitobs.jl b/src/splitobs.jl index 9ea6e15..e0d0e2c 100644 --- a/src/splitobs.jl +++ b/src/splitobs.jl @@ -46,8 +46,8 @@ The argument `at` specifies how to split the data: - When `at` is a number between 0 and 1, this specifies the proportion in the first subset. - When `at` is an integer, it specifies the number of observations in the first subset. - When `at` is a tuple, entries specifies the number or proportion in each subset, except -for the last which will contain the remaning observations. -The number of returned subsets is `length(at)+1`. + for the last which will contain the remaning observations. + The number of returned subsets is `length(at)+1`. If `shuffle=true`, randomly permute the observations before splitting. A random number generator `rng` can be optionally passed as the first argument. @@ -112,4 +112,4 @@ end _normalize_at(n, at::Integer) = at / n _normalize_at(n, at::NTuple{N, <:Integer}) where N = at ./ n -_normalize_at(n, at) = at \ No newline at end of file +_normalize_at(n, at) = at