We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System information
MCC does not work on binary labels with a single neuron as output, it always returns 0: Last layer:
x = tf.keras.layers.Dense(1, activation='sigmoid')(x) model.compile('sgd', 'binary_crossentropy', metrics=['accuracy', tfa.metrics.MatthewsCorrelationCoefficient(num_classes=2)])
Output always 0: 38s 19s/step - loss: 0.6899 - accuracy: 0.4843 - MatthewsCorrelationCoefficient: 0.0000e+00 - val_loss: 0.6934 - val_accuracy: 0.4096 - val_MatthewsCorrelationCoefficient: 0.0000e+00
The last comment from the user here also describes the problem, however the solution does not work anymore #2339
The text was updated successfully, but these errors were encountered:
No branches or pull requests
System information
MCC does not work on binary labels with a single neuron as output, it always returns 0:
Last layer:
Output always 0:
38s 19s/step - loss: 0.6899 - accuracy: 0.4843 - MatthewsCorrelationCoefficient: 0.0000e+00 - val_loss: 0.6934 - val_accuracy: 0.4096 - val_MatthewsCorrelationCoefficient: 0.0000e+00
The last comment from the user here also describes the problem, however the solution does not work anymore
#2339
The text was updated successfully, but these errors were encountered: