weightSweep

fun weightSweep(metric: String, steps: Int = 50): List<SweepPoint>(source)

The study evaluated across the whole range of weights for metric, for plotting or for reporting where the recommendation changes hands.

Both endpoints are included, so a sweep of n steps returns n + 1 points.

Parameters

steps

how many intervals to divide 0, 1 into, at least one