Displaying 3 results from an estimated 3 matches for "petallength".
Did you mean:
petal_length
2011 Apr 06
2
Help in kmeans
...e. But, in my application we generate
the R commands dynamically and there was a requirement that the column names
will be sent instead of column indices to the R commands.Hence, to
incorporate this, i tried using the R commands in the following way.
kmeans_model<-kmeans((SepalLength+SepalWidth+PetalLength+PetalWidth),centers=3)
or
kmeans_model<-kmeans(as.matrix(SepalLength,SepalWidth,PetalLength,PetalWidth),centers=3)
In both the ways, we found that the results are different from what we saw
with the first command (with column indices).
can you please let us know what is going wrong here.If...
2009 Nov 25
0
predict(): NoSuchMethodError
...;+")))
myAlg <- get(algName)
cl <- myAlg(Formula, data = Data)
And this is the error I'm getting:
Error in .jnew("weka/core/Attribute", attname[i]) :
java.lang.NoSuchMethodError: <init>
Here is the printout of the a working case:
cl = Linear Regression Model
petallength =
1.748 * sepallength +
-1.4174 * sepalwidth +
-2.1294
ClusterData[j,] = sepallength sepalwidth petallength petalwidth class
5.7 2.6 NA 1
1
petallength = 4.148813
And the non-working case:
cl =...
2009 Mar 31
1
3d cloud plot with point size reflecting variable value
Hello all,
I'm using the cloud function to plot the iris data as per the document:
http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
I'd like to change the point size to reflect a fourth variable, as done here
http://www.cis.hut.fi/projects/somtoolbox/download/pics2/shotvs2_origdata.png
Does anybody know how to do this? There doesn't seem to be an option in