Module compute::validation [−][src]
Methods for validating models.
Functions
bootstrap | Given an array of data, returns |
jackknife | Given a length-n array of data, returns all leave-one-out length n-1 vectors. See https://en.wikipedia.org/wiki/Jackknife_resampling |
shuffle | Shuffle an array. |
shuffle_two | Shuffle two arrays. The same shuffling is applied to both arrays. That is, a pair (x_i, y_i) will still be paired together as (x_j, y_j) after shuffling. |