similar to: K-Means Clustering

Displaying 20 results from an estimated 1000 matches similar to: "K-Means Clustering"

2005 Aug 19
2
tackle with error
Dear sir; may you drop me some idea how can i get rid of following error message: Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1) i dont know what does nmeth and ther rest of error message mean? i have a file which contains 460 rows and 174 columns including missing value as NA. Regards, Mostafa
2012 Jan 14
1
Error: unexpected '<' in "<" when modifying existing functions
Hi. I am trying to modify kmeans function. It seems that is failing something obvious with the workspace. I am a newbie and here is my code: myk = function (x, centers, iter.max = 10, nstart = 1, algorithm = c("Hartigan-Wong", + "Lloyd", "Forgy", "MacQueen")) + { + do_one <- function(nmeth) { + Z <- switch(nmeth, { + Z
2009 Aug 06
0
K-means clustering with NA
I am running a k-means clustering code in R : mydata_kmeans5 <- kmeans(mydata, centers=5).. But the problem is that the data is having some "NA" in it. So R is showing me a message :Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1) In addition: Warning messages: 1: In switch(nmeth, { : NAs introduced by coercion 2: In switch(nmeth, { : NAs introduced by
2009 Apr 25
5
Out of memory issue
Hi all, I am trying to run some plots on data, but when loading he CSV data file R is stopping and I am getting an out of memory error. Anyway to tweak this somehow to get it to run? Using WinXP with 4 GB RAM Tnx Bruce
2012 Nov 13
1
About systemfit package
Dear friends, I have written the following lines in R console wich already exist in pdf file systemfit: data( "GrunfeldGreene" ) library( "plm" ) GGPanel <- plm.data( GrunfeldGreene, c( "firm", "year" ) ) greeneSur <- systemfit( invest ~ value + capital, method = "SUR", + data = GGPanel ) greenSur I have obtained the following incomplete
2003 Mar 09
3
not able to add machines on FreeBSD 4.7
I'm setting up a new install of samba 2.2.7a on FreeBSD 4.7 Here's a little run-through of what I have done. I added a machine account in /etc/group as follows: machines:*:201 I have added all of my machine accounts in to /etc/passwd as follows: sclepy$:*:201:201::0:0:Machine account for Sclepy:/dev/null:false lexus$:*:202:201::0:0:Machine
2006 Apr 12
0
fixtures advanced question
Hello, in my database i have tables models,marques,cars. I wrote fixtures for models f1: id: 1 marque_id: 1 name: 100 NX f2: id: 2 marque_id: 1 name: 200 SX f3: id: 3 marque_id: 1 name: Almera f4: id: 4 marque_id: 1 name: Patrol f5: id: 5 marque_id: 1 name: Primera f6: id: 6 marque_id: 2 name: CLK f7: id: 7 marque_id: 2 name: CLS f8: id: 8 marque_id:
2003 Dec 30
4
Assignments in loops
Greetings all. Any help with the following would be appreciated. I want to create a data frame for each file in a directory. The following code does not work but it may show what I am trying to do: carmakes <- c('BMW','Chrysler','Citroen','Fiat','Ford','Holden','Honda',
2006 Mar 01
1
New 'amr' driver and linux MegaMGR
Hi, according to http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/amr/amr.c?only_with_tag=RELENG_6 it seems MegaMGR for linux now can work. Any experience? -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/
2003 Aug 11
2
cvs commit: src/sys/dev/twe twe.c twe_compat.h twe_freebsd.c twe_tables.h tweio.h twereg.h twevar.h
Hi, Thank you for your work on this card! I have quite a few boxes that run various 3wares cards with diverse firmware revs. Are there any caveats with respect to models and firmware versions in terms of how they might interact ? ---Mike At 01:25 PM 10/08/2003 -0700, Paul Saab wrote: >ps 2003/08/10 13:25:46 PDT > > FreeBSD src repository > >
2003 Jan 20
2
ave across columns
Hi: How do I find average across three columns such as weight1, weight2, weight3 (20 people, each person has three different measures)? They have NA's also. Thanks Tom, Univ of Pittsburgh, ttrut at yahoo.com
2010 Jun 23
2
Analyzing large transition matrix
Let's say you have a dataframe of car trade-ins. For example, each row contains oldcar newcar qty and a typical entry could be lexus bmw 1 I put the qty column to allow for fleet purchases, where one purchase may convert multiple cars at once. I'd like to show what's going on. I could do a histogram of newcar to show the frequency each type of car is bought. If there
2010 Nov 04
1
Calling a method directly from a test => no method error
I''m trying to get a test to pass and keep getting a "no method error" I''m using the routines from Chapter 8 of "Security on Rails" and can''t get the test to pass. I keep getting "no method error" for decrypt. Can someone help me with the correct "address" for decrypt so I can call it directly. Here is the routine definition:
2004 Aug 06
5
Java Examples
Where should I look for an example of how to connect to Icecast from Java? (I have a MySQL/Tomcat application with MP3's in the DB and need to stream them using Java and Icecast.) Thanks, Mike D. _________________________________________________________________ Discover the best of the best at MSN Luxury Living. http://lexus.msn.com/
2004 Dec 09
3
US 2004 Elections map
even for people who didn't like the outcome of the US elections this year, it must have been a joy to see all the nice (and not so nice) graphs that were shown. As an exercise, I recreated the map shown on the NY-Times website [ http://www.nytimes.com/packages/khtml/2004/11/03/politics/ 20041103_px_ELECT_GRAPHIC.html ] If you're interested,
2003 Sep 12
2
Prebinding for DragonFly/FreeBSD-4
I created patch for DragonFly/FreeBSD-4 for prebinding, based on mdodd@'s patch for FreeBSD-5. The main difference (apart from the target platform) is that the linker needn't be patched. Rtld now uses a hash function to get an unique ID for every ELF object. This has been tested under DragonFly, but should run on FreeBSD-4 too. Feedback appreciated :) cheers simon -- /"\
2011 May 12
2
Exporting interactive 3D plots with axes and labels
Hi, I have a question about exporting interactive 3D plots. I use the following code to plot a contour of a trivariate normal distribution: library(mvtnorm) library(rgl) library(misc3d) n=25 x=seq(-3,3,length=n) X=cbind(rep(x,each=n**2),rep(rep(x,each=n),n),rep(x,n**2)) p=array(dmvnorm(X,sigma=diag(3)*0.5+0.5),c(n,n,n)) contour3d(p,x,x,x,level=mean(p)) lim=c(-3,3)
1999 Jan 04
1
Names of data frame columns in an apply
Hi, [some background] I have a dataset which describes a number of subjects doing a "scientific discovery". That is, they have to discover the rules underlying a particular domain. To do so, they have to set the levels of 5 variables which leads to a certain outcome. To identify what kind of "experiments" the subjects did, I want to combine these levels into one variable
2008 Jul 14
3
More current version of bluez
Centos continues to fall behind in with the state of bluetooth development. Nothing new from 5.1 to 5.2. Has anyone got a more recent version working and have compile and rpm build instructions? Here are the rpms that I have: bluez-gnome-0.5-5.fc6.i386.rpm bluez-hcidump-1.32-1.i386.rpm bluez-libs-3.7-1.i386.rpm bluez-utils-3.7-2.el5.centos.i386.rpm bluez-utils-cups-3.7-2.el5.centos.i386.rpm
2004 Mar 18
2
don't stop when error occurs
Look up ?try Regards Wayne -----Original Message----- From: pastaska1934 [mailto:pastaska1934@free.fr] Sent: 18 March 2004 14:36 To: R-help@stat.math.ethz.ch Subject: [R] don't stop when error occurs hi, i'm doing some bootstraping on a data set, using kmeans for each bootstrap, i mean i do a loop(200 times) and in each loop i use kmeans. i have to count some occurences in a matrix