Closed tpoisot closed 3 years ago
No response
The adjacency matrix should be calculated this way
obs = y .> 0 for (i, c) in enumerate(cutoff) predic = distribution[xy] .>= c tp = sum(obs .& predic) tn = sum(.!obs .& (.!predic)) fp = sum(.!obs .& predic) fn = sum(obs .& (.!predic)) J[i] = tp / (tp + fn) + tn / (tn + fp) - 1 FPR[i] = fp/(fp+tn) TPR[i] = tp/(tp+fn) end
Contact Details
No response
What happened?
The adjacency matrix should be calculated this way
Stacktrace
No response