Skip to content

Rand score#4

Open
minhsphuc12 wants to merge 4 commits intochuvanan:masterfrom
minhsphuc12:rand_score
Open

Rand score#4
minhsphuc12 wants to merge 4 commits intochuvanan:masterfrom
minhsphuc12:rand_score

Conversation

@minhsphuc12
Copy link
Contributor

Updated adjusted rand score
Unit test passed.
Added to NAMESPACE.

class_prob <- function(vec, class) {
chec_empty_vec(vec)
length(which(vec == class)) / length(vec)
length(which(vec == class)) / length(vec = vec)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is changed as a mistake and would be fixed in next commit

@minhsphuc12 minhsphuc12 mentioned this pull request Jul 28, 2019
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