code formatting in chapter 3

This commit is contained in:
Bogumił Kamiński 2022-06-25 09:51:47 +02:00
parent 85aa87d83b
commit 3259f8aa8a
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ mean(winsor([8, 3, 1, 5, 7], count=1))
using BenchmarkTools
x = rand(10^6);
@benchmark winsorized_mean($x, 10^5)
using Statistics, StatsBase
using Statistics
using StatsBase
@benchmark mean(winsor($x; count=10^5))
@edit winsor(x, count=10^5)