Stream: helpdesk (published)

Topic: AUC/ROC Curves With MLBase & Lighthouse


view this post on Zulip QuBit (Jul 21 2021 at 00:27):

@Eric Hanson

Do you know how to apply
binary_statistics (C, precision)?
and reference it in the println()

I have added the function HERE

And added the binary_statistics function found right below the function
found at the link above.

Do I need to convert the matrix to a dataframe:

Bucket = DataFrame(binary_statistic(C))

Then reference the index as:

println("The Precision Score is", mean.((Bucket[!, :precision], Impute.interp(BinStats) |> Impute.locf() |> Impute.nocb()))

Was thinking to impute, but perhaps
I should not or should perform it in
another cell (as I was)?

Thank you,


Last updated: Oct 02 2023 at 04:34 UTC