Given per-fold scores of two models evaluated on the same folds, the paired t-test looks at the per-fold differences d_i = a_i - b_i. The statistic is
t = mean(d) / (sd(d) / sqrt(n)), with sd using n - 1 in the denominator.
Implement paired_t_statistic(a, b) and return t as a float.
a and b are 1-D arrays of the same length n >= 2. Otherwise raise ValueError.ValueError.Compute d = a - b first, then use np.std(d, ddof=1).
No results yet
Run your code to check it against the examples, or submit to run every test.