quantling / JudiLing.jl

JudiLing: An implementation for Linear Discriminative Learning in Julia.
MIT License
8 stars 3 forks source link

Speeding up eval_SC_loose #74

Closed MariaHei closed 6 months ago

MariaHei commented 2 years ago

I think this line in eval_SC_loose could be sped up by using (partialsortperm)[https://docs.julialang.org/en/v1/base/sort/#Base.Sort.partialsortperm], which only returns the k highest/lowest sorted values.