Displaying 3 results from an estimated 3 matches for "adjustedrandindex".
2009 May 21
1
Negative value for adjustedRandIndex?
Hello,
I am a very new user to R so please have patience with me. :clap:
I am trying to evalute the "internal response" for a couple of different
cluster methods with the help of the AdjustedRandIndex, which is included in
the mclust package.
However, I do get a bit puzzled when I get a negative value as the value
should be in intervall of [0,1], am I correct? Have I done something wrong?
Or should I interpret the negative value as the two methods do not group the
cases to the same cluster?
I...
2011 Feb 25
0
Help with card-sorting experiment
...eds a vector like this:
"Group 1" "Group 2" "Group 1" "Group 2" "Group 1" "Group 2" "Group 1" "Group
2" "Group 1" "Group 2"
or even. 1 2 1 2 1 2 1 2 1 2
(Note: I am using the function adjustedRandIndex from the library mclust)
I also need to make a similarity matrix so that I can do cluster analysis on
the reviewers (which I am able to do).
I would like to be able to load in several of these vectors at once so that
I can create a big matrix with all of the data in it, and I currently do
t...
2011 Mar 23
0
Adjusted Rand Index
...izations:
Reviewer 1:
Cat 1 - Item #s 1,3,5
Cat 2 - Item #s 2,4
Reviewer 2:
Cat 1 - Item #s 1,2,3
Cat 2 - Item #s 4,5
#You then convert these into a vector:
r1<-c(1,2,1,2,1)
r2<-c(1,1,1,2,2)
#There are two algorithms that can calculate the adjusted rand index
library(mclust)
adjustedRandIndex(r1,r2)
library(mcclust)
arandi(r1,r2, adjust=TRUE)
.easy as pie
As an example, I have data that looks like this:
Reviewer 1:
Cat 1 - Item #s 1,3,5
Cat 2 - Item #s 2,4
Cat 3 - Item #s 1,4
Reviewer 2:
Cat 1 - Item #s 1,2,3
Cat 2 - Item #s 4,5
However, because of the doub...