Skip to content

Fast computation of Area under ROC and Precision-Recall curves

Notifications You must be signed in to change notification settings

peterukk/FastAUC.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

FastAUC.jl

Computationally fast implementation of calculating area under ROC and PR curves

Requires: SortingAlgorithms

julia> using FastAUC

julia> typeof(y_pred)
Array{Float64,1}

julia> typeof(y_obs)
Array{Int32,1}

julia> size(y_obs)
(6199200,)

julia> @btime auroc =  auc_ROC(y_obs,y_pred);
  477.419 ms (27 allocations: 260.32 MiB)

julia> @btime aupr =  auc_PR(y_obs,y_pred);
  577.486 ms (33 allocations: 402.21 MiB)
  

About

Fast computation of Area under ROC and Precision-Recall curves

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages