You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no way to set weight to Homogeneity and Completeness when calculating the V-Measure score.
As the paper states (A. Rosenberg, 2007), so as the F1-Score is to Precision and Recall, V-Measure score is the harmonic mean of Homogeneity and Completeness. However, we have the function fbeta_score to calculate the Fb-Score, but (as far as I know) we do not have a way of calculating a weighted V-Measure score.
Options:
Add beta=1 parameter to v_measure_score function, where beta < 1 renders more weight to Homogeneity, while beta > 1 gives more weight to Completeness.
Add new function v_beta_measure_score in order to keep it separated from the original function, just as fbeta_score is separated from f1_score
I would like to contribute to the project, but I do not have the implementation yet, nor I have contributed to any open source project before, so I do not know what would be the best option. I could implement it when I have some spare time, but if it is important, I would not mind if you opened it to other contributors. As you think it's preferable.
Sure @ivsanro1, I will mention you in the PR so you can also give your feedback and comments. Just to check, the paper you are referring to is "V-Measure: A conditional entropy-based external cluster evaluation measure" (A. Rosenthal et al.) mentioned in the v_measure docs ?
Activity
jnothman commentedon Apr 8, 2019
I'm okay with adding beta to v_measure. I don't think we need to add another function.
jnothman commentedon Apr 8, 2019
Would you like to submit a pull request @ivsanro1, or should we open this to other contributors?
ivsanro1 commentedon Apr 9, 2019
I would like to contribute to the project, but I do not have the implementation yet, nor I have contributed to any open source project before, so I do not know what would be the best option. I could implement it when I have some spare time, but if it is important, I would not mind if you opened it to other contributors. As you think it's preferable.
jnothman commentedon Apr 9, 2019
I don't think there's any great hurry here. You're welcome to ask for help, or to pass it on to the crowd, whenever you like.
scouvreur commentedon Apr 9, 2019
Hi @ivsanro1 @jnothman - could I help with this issue ? Would you like me to submit a PR ?
ivsanro1 commentedon Apr 9, 2019
@scouvreur Sure, feel free to submit the PR!
scouvreur commentedon Apr 10, 2019
Sure @ivsanro1, I will mention you in the PR so you can also give your feedback and comments. Just to check, the paper you are referring to is "V-Measure: A conditional entropy-based external cluster evaluation measure" (A. Rosenthal et al.) mentioned in the v_measure docs ?
thomasjpfan commentedon Oct 26, 2019
Closing because issue was resolved in #13607