Closed Armadilloa16 closed 5 years ago
What do we want to do with this?
@btracey?
I think this is a good change, but it doesn't seem like it's ready to submit immediately. I would suggest we file an issue if someone wants to take the helm
There is already an issue https://github.com/gonum/gonum/issues/708 in the new repository which has been moved there from this one.
I'm closing this PR but please feel free @Armadilloa16 to port this PR to the new repository https://github.com/gonum/gonum
Found some free time, so I had a go at this.
As per #104 the new ROC function takes cutoffs as an argument instead of the number of cutoffs n, and there is a helper function EquallySpaced for generating equallly spaced cutoffs. The need for a helper function to maintain the old functionality is abit clunky but this allows for particular cutoffs of interest to be defined which wasn't the case before, and I think the code is (slightly) easier to read.
PTAL @kortschak @sbinet :)