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
Above don't look right to me. Or perhaps, I'm using it wrongly in which updated documentation would be useful. The current documentation says,
roc(gt::AbstractArray{T,1} where T<:Integer, pr::AbstractArray{T,1} where T<:Integer) in MLBase at /Users/youngjaewoo/.julia/v0.6/MLBase/src/perfeval.jl:162
The text was updated successfully, but these errors were encountered:
Hi, I don't think roc function is working properly. Here's an example.
gt = [1,2,1,2,1,2,1,2,1,2]
pr = [1,1,1,1,1,1,1,1,1,1]
roc(gt, pr)
This produces
p = 10
n = 0
tp = 5
tn = 0
fp = 0
fn = 0
Above don't look right to me. Or perhaps, I'm using it wrongly in which updated documentation would be useful. The current documentation says,
roc(gt::AbstractArray{T,1} where T<:Integer, pr::AbstractArray{T,1} where T<:Integer) in MLBase at /Users/youngjaewoo/.julia/v0.6/MLBase/src/perfeval.jl:162
The text was updated successfully, but these errors were encountered: