Hi, Everyone. I have encountered problem about classification metrics.
I want to use mcc metric to monitor. But i use sklearn.metrics.matthews_corrcoef to solve it.
But i not sure this metrics how to implement in pytorch-lightning.
Hope someone can answer, I will thanks a lot.
Hey @MarsSu0618 , this gist might be of help. I came across the same problem quite recently and ended up in this issue. This is how I Implemented it. If you have a different or better implementation, please drop it here. Would be of help to me!
Problems
Hi, Everyone. I have encountered problem about classification metrics. I want to use mcc metric to monitor. But i use
sklearn.metrics.matthews_corrcoef
to solve it. But i not sure this metrics how to implement in pytorch-lightning. Hope someone can answer, I will thanks a lot.