Displaying 14 results from an estimated 14 matches for "myclust".
Did you mean:
mclust
2009 May 09
0
clump of binary pixels on raster
...can find a simulation of what I need. On the second image, each
color
have different values.
MyMatrix<-matrix(rep(0,100), ncol=10)
MyMatrix[2:4,3:6]<-1
MyMatrix[7:8,1:3]<-1
MyMatrix[8,7:8]<-1
MyMatrix[8,7:8]<-1
MyMatrix[6:7,8:9]<-1
x11(800,400)
par(mfrow=c(1,2))
image(MyMatrix)
MyClusters<-matrix(rep(0,100), ncol=10)
MyClusters[2:4,3:6]<-1
MyClusters[7:8,1:3]<-2
MyClusters[8,7:8]<-3
MyClusters[8,7:8]<-4
MyClusters[6:7,8:9]<-4
image(MyClusters, col=c("transparent", 1,3,4,5))
Regards a lot,
milton
brazil=toronto.
[[alternative HTML version deleted]]
2005 Sep 15
2
about cutree
Hi Everyone,
I'm trying to use cutree to get the clusters after hclust. What I used is: mycluster<-cutree(cnclust,h=0.5)
Now, my problem is, how can I get the actual clusters? Thanks!
Best,
Baoqiang Cao
2005 Nov 11
1
Snow parLapply
...of
dataframes with the regular lapply function it works correctly. If use
the 'parLapply' there is an error message.
Example:
> library("snow")
> library(ade4)
> a <- matrix(rnorm(2500),50)
> b <- matrix(rnorm(10^4),10^2)
> l1 <- list(a=a,b=b)
> mycluster <- makeCluster(2,type="MPI")
Loading required package: Rmpi
Rmpi version: 0.4-9
Rmpi is an interface (wrapper) to MPI APIs
with interactive R slave functionalities.
See `library (help=Rmpi)' for details.
2 slaves are spawned successfully....
2008 Oct 22
1
torque/psb & snow library
Hello all;
I'm trying to execute parallel jobs trough library snow on a cluster built
through torque/PSB. I'm succesfully obtaining the cluster with:
>system("cat $PBS_NODEFILE > cluster.txt")
>mycluster <- scan(file="cluster.txt",what="character")
>cl <- makeSOCKcluster(mycluster)
The only problem, at the moment, is that if I use processors in nodes
other that the one in which I'm running R, the communication is extremely
slow. If all processor are in the "...
2006 Aug 05
3
Apache 2.2 + Mod Proxy Balancer + Mongrel - Hot Linking Protection?
..., I would add something like the
following to my .htaccess file
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com.*$ [NC]
RewriteRule .(gif|jpg)$ - [F]
However, with my httpd config containing the following lines now:
ProxyPass / balancer://mycluster/
ProxyPassReverse / balancer://mycluster/
ProxyBlock images media
Options Indexes FollowSymLinks
The hotlink protection doesn''t really work anymore. Does anybody know
how I could implement this?
Thanks,
Carl
-------------- next part --------------
An HTML attachment was scrubbed...
U...
2006 Apr 18
2
questioin about cluster in R
...0
-------------------
I want to do cluster with average method.
----
rown<-c("A", "B", "C", "D", "E")
mydistMatrix <- read.table("D:\\5.distance",row.names = rown)
mydistObj<-as.dist(mydistMatrix, diag = FALSE, upper = FALSE)
mycluster <- hclust(mydistObj,method="average")
bmp(filename = " D:\\5_ave.bmp")
plot(mycluster,hang=-1)
dev.off()
---
The result is something like
|
20|
| _______________
15| | |
| |...
2009 Jun 19
1
Drawing dendrogram
...(by using "segments") including labels (as in My dendrogram 2 of the following codes). Is there a way that I can include my labels into as well? Any help is deeply appreciated.
Kind Regards
Seyit Ali
Codes:
set.seed(201)
x<-matrix(rnorm(100, 0, 1), ncol=20, byrow=TRUE)
myclust<- hclust(dist(cor(x), method='euclidian'), method="ave")
mydend<-as.dendrogram(myclust)
par(mfrow=c(1,2), mar=c(5,4,4,3), oma=c(1, 3, 1, 3))
plot(mydend, xlim=c(4, -0.2), horiz = TRUE, main="My Dendrogram 1")
x0<- -0.35
y0<- 0.5
x1<- 1.8
y1<- 0.5
s...
2009 Apr 10
0
recursive function, how to avoid list structure in return value
...he function
could be fixed. Can anyone show me show?
Thanks,
Jenny Bryan
Demo of my problem --
(Note: although my question has nothing to do with hierarchical
clustering per se, my example does assume knowledge of the 'merge'
object.)
## faking the key aspects of an hclust object
myClust <-
list(merge = rbind(c(-1, -2),
c(-3, -4),
c(2, -5),
c(1, 3),
c(4, -6)),
height = 1:5,
order = 1:6)
## plot the example / fake tree
stats:::plot.hclust(myClust, hang = -1)
## recursive function to extract members of a cluster
## '...
2011 Aug 31
1
agnes not working
Hello!
I created a distances matrix for 13 objects using daisy (see the attached file).
I am trying to clusteranalyse it using agnes but it's not working.
What might be the problem:
mydistances<-read.csv("Results of daisy.csv")
mycluster<-agnes(mydistances, method="ward")
I am getting:
Error in agnes(mydistances, method = "ward") :
NA/NaN/Inf in foreign function call (arg 15)
I am using R 2.13.1.
Thank you very much!
--
Dimitri Liakhovitski
marketfusionanalytics.com
2006 Jul 27
3
[somewhat OT] Apache config for Rails + ColdFusion + PHP
Our group has several web apps developed in ColdFusion, PHP, and Rails. The
ColdFusion and PHP apps are on an older server, and the Rails apps on a new
server. Ideally, we''d like them all to share the same server.
Our current setup for the Rails server is Apache2.2 with mod_proxy_balancer
and mongrel_cluster. We''d like to have specific directories be processed
and served by
2023 Nov 09
1
@cert-authority for hostbased auth - sans shosts?
...date, but as the whole point of a CA mechanism is to delegate trust,
shosts seems a bit redundant in this case. It seems to me like there's a
missing
piece here, something like an /etc/ssh/authorized_keys, which would
allow you to write
something in the spirit of
cert-authority,hosts="*.mycluster.foo.bar" ssh-...
which would then permit hostbased authentication for hosts with a valid
certificate
matching the hostname pattern without passing further shosts checks.
Cheers,
Marian
2004 Nov 11
2
Row labels are skewed in 'heatmap' (PR#7358)
Full_Name: Peter Fischer Hallin
Version: Version 1.8.1
OS: Irix64
Submission from: (NULL) (130.225.67.236)
I've made a script look like this:
exp <- read.table("graph/1933672048.cluster.data")
exp <- as.matrix(exp)
postscript("graph/1933672048.cluster.data.ps")
heatmap(exp,scale="none",cexCol=0.4,cexRow=0.2,col=custom,margins=c(5,5))
The row labels
2007 Aug 15
0
[git patch] fstype support + minor stuff
...hanged, 254 insertions(+), 52 deletions(-)
leaves currently only ocfs2 on my fstype todo list.
--
maks
commit 8094659e23e6c25293868b58c485b7b21cf314a1
Author: maximilian attems <max at stro.at>
Date: Wed Aug 15 13:28:32 2007 +0200
fstype: add gfs2 support
./gfs2_mkfs -t mycluster:mygfs -p lock_dlm -j 2 /dev/mapper/nancy_vg1-gfs2
./usr/kinit/fstype/static/fstype /dev/mapper/nancy_vg1-gfs2
FSTYPE=gfs2
FSSIZE=0
set the fssize to zero for now.
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/kinit/fstype/fsty...
2009 Jan 06
11
zfs list improvements?
To improve the performance of scripts that manipulate zfs snapshots and the zfs snapshot service in perticular there needs to be a way to list all the snapshots for a given object and only the snapshots for that object.
There are two RFEs filed that cover this:
http://bugs.opensolaris.org/view_bug.do?bug_id=6352014 :
''zfs list'' should have an option to only present direct