Open michaelbornholdt opened 3 years ago
nice! Love this. Maybe, for example, enrichment_percentile
can accept a list?
mh, yea we could to that. Same goes for Precision recall then. It could accept a list of k's
You think that's the best solution?
yep
On Fri, Apr 23, 2021 at 3:40 PM Michael Bornholdt @.***> wrote:
mh, yea we could to that. Same goes for Precision recall then. It could accept a list of k's
You think that's the best solution?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cytomining/cytominer-eval/issues/51#issuecomment-825878282, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYADBON2NUUONUOQB4ZCKDTKHEKPANCNFSM43O7DOUA .
This is an optimization issue. When running metrics such as precision-recall or enrichment, like in the demo book: https://github.com/cytomining/cytominer-eval/blob/master/demos/CellPainting_Demo.ipynb You call evaluate several times to calculate the metric at different value of p e.g.
However, this calls the function
cytominer_eval.transform.get_pairwise_metric
several times (once per call of evaluate). This is not necessary since the metrics can be retrieved from the samesimilarity_melted_df
!!We need to adapt the function evaluate such that it either only calculates the pairs once, when called several times. Or we maybe just need to change the demos to show that when calculating several values, you must not use evaluate for them.
What are your thoughts @gwaygenomics