You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As just discussed with @observingClouds and @ayoubft, we should have a check that elements in an array have only finite values and raise a warning if. While the algorithm does not care about the meaning of the bitpatterns the user may not get what they expect if there are many NaNs in the dataset. Example, currently we have
julia> A =rand(100,100);
julia> A[1] =NaNNaN
julia>bitinformation(A)
64-element Vector{Float64}:0.00.00.00.00.00.00.00.00.00.0⋮
but we shoud throw something like
julia>for a in A
if!isfinite(a)
@warn"Non-finite value detected."endend
┌ Warning: Non-finite value detected.
└ @ Main REPL[8]:3
The text was updated successfully, but these errors were encountered:
As just discussed with @observingClouds and @ayoubft, we should have a check that elements in an array have only finite values and raise a warning if. While the algorithm does not care about the meaning of the bitpatterns the user may not get what they expect if there are many NaNs in the dataset. Example, currently we have
but we shoud throw something like
The text was updated successfully, but these errors were encountered: