cytomining / cytominer-eval

[Deprecated] Common Evaluation Metrics for DataFrames
BSD 3-Clause "New" or "Revised" License
7 stars 11 forks source link

Skip calculating similarity matrix for mp-value #29

Closed gwaybio closed 3 years ago

gwaybio commented 3 years ago

The mp_value function operates on the input profiles, and not the similarity melted dataframe.

https://github.com/cytomining/cytominer-eval/blob/fdda99eda99737c952769e1f9b473eeb85950d80/cytominer_eval/evaluate.py#L59-L66

We should skip this calculation when operation == "mp_value":

https://github.com/cytomining/cytominer-eval/blob/fdda99eda99737c952769e1f9b473eeb85950d80/cytominer_eval/evaluate.py#L31-L37