Skip to content

Conversation

@theiling
Copy link

@theiling theiling commented Jun 7, 2015

Corrected rare case, where metrics fails and gives "NaN"..
Happens in case of perfect match and both expected.mat and confusion.mat only have one nonzero entry.
(Example where the metric fails:
rater.a = c(2, 2, 2, 2, 2, 2)
rater.b = c(2, 2, 2, 2, 2, 2))
Help by Stephen McInerney in Kaggle forum

Corrected rare case, where metrics fails and gives "NaN"..
Happens in case of perfect match and  both expected.mat and confusion.mat only have one nonzero entry.
(Example where the metric fails:
rater.a = c(2, 2, 2, 2, 2, 2)
rater.b = c(2, 2, 2, 2, 2, 2))
Help by Stephen McInerney   in Kaggle forum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant