Displaying 3 results from an estimated 3 matches for "dfl1".
Did you mean:
df1
2003 May 21
1
cluster- binary data.
Hi!
I am trying to calculate a dissimilarity matrix using daisy.
The matrix vectver is binary as i test with:
> levels(as.factor(vectver))
[1] "0" "1"
But the call to daisy gives me the following error message.:
> dfl1 <- daisy(vectver, type = list(asymm = c(1:length(vectver[,1]))))
Error in daisy(vectver, type = list(asymm = c(1:length(vectver[, 1])))) :
at least one binary variable has more than 2 levels.
and the call to mona that.
levels(as.factor(vectver))
[1] "0" "1"
> r<-mona...
2002 May 14
0
RE: cut.dendrogram (PR#1552)
...sets adn not others. I can't see why.
Last time I unwittingly sent my message with HTML formatting. This time I'm
travelling and using an e-mail system that I am unfamiliar with. As far as
I can see, I am not using HTML.
Best wishes,
Mikkel
> library(cluster)
> data(flower)
> dfl1 <- daisy(flower, type = list(asymm = 3))
> hdfl1<-hclust(dfl1,method="average")
> plot(hdfl1)
> ddfl1<-as.dendrogram(hdfl1)
> cdfl1<-cut(ddfl1,h=0.5)
> cdfl1<-cut(ddfl1,h=0.4)
> cdfl1<-cut(ddfl1,h=0.31312)
> cdfl1<-cut(ddfl1,h=0.31311)
Error: more...
2017 Oct 25
2
[PATCH/RFC] Modifying reassociate for improved CSE: fairly large perf gains
...nably large perf gains, and of course, optimizes “foo” correctly down to 4 multiplies.
Any thoughts? The gains here are… well, more than I expected, to say the least ;-)
—escha
Note 1: see how (1.0 - u2) is a common factor here.
DST_C ( dstGrid ) = (1.0-OMEGA)*SRC_C ( srcGrid ) + DFL1*OMEGA*rho*(1.0 - u2);
DST_N ( dstGrid ) = (1.0-OMEGA)*SRC_N ( srcGrid ) + DFL2*OMEGA*rho*(1.0 + uy*(4.5*uy + 3.0) - u2);
DST_S ( dstGrid ) = (1.0-OMEGA)*SRC_S ( srcGrid ) + DFL2*OMEGA*rho*(1.0 + uy*(4.5*uy - 3.0...