Skip to content

Commit

Permalink
Merge pull request #942 from JuliaAI/pathch12345
Browse files Browse the repository at this point in the history
Remove redundant code
  • Loading branch information
ablaom authored Sep 26, 2023
2 parents 6a49b90 + e6d671d commit f6b7b16
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/resampling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,6 @@ end
round3(x) = x
round3(x::AbstractFloat) = round(x, sigdigits=3)

_short(v) = v
_short(v::Vector{<:Real}) = MLJBase.short_string(v)
_short(v::Vector) = string("[", join(_short.(v), ", "), "]")
_short(::Missing) = missing


const SE_FACTOR = 1.96 # For a 95% confidence interval.

_standard_error(v::AbstractVector{<:Real}) = SE_FACTOR*std(v) / sqrt(length(v) - 1)
Expand Down

0 comments on commit f6b7b16

Please sign in to comment.