search for: versicolor

Displaying 20 results from an estimated 139 matches for "versicolor".

2017 Oct 27
4
Cannot Compute Box's M (Three Days Trying...)
...sa\n" + "5,3.5,1.6,0.6,setosa\n" + "5.1,3.8,1.9,0.4,setosa\n" + "4.8,3,1.4,0.3,setosa\n" + "5.1,3.8,1.6,0.2,setosa\n" + "4.6,3.2,1.4,0.2,setosa\n" + "5.3,3.7,1.5,0.2,setosa\n" + "5,3.3,1.4,0.2,setosa\n" + "7,3.2,4.7,1.4,versicolor\n" + "6.4,3.2,4.5,1.5,versicolor\n" + "6.9,3.1,4.9,1.5,versicolor\n" + "5.5,2.3,4,1.3,versicolor\n" + "6.5,2.8,4.6,1.5,versicolor\n" + "5.7,2.8,4.5,1.3,versicolor\n" + "6.3,3.3,4.7,1.6,versicolor\n" + "4.9,2.4,3.3,1,versicolor\n&...
2017 Oct 29
3
Renjin?
...sa\n" + "5,3.5,1.6,0.6,setosa\n" + "5.1,3.8,1.9,0.4,setosa\n" + "4.8,3,1.4,0.3,setosa\n" + "5.1,3.8,1.6,0.2,setosa\n" + "4.6,3.2,1.4,0.2,setosa\n" + "5.3,3.7,1.5,0.2,setosa\n" + "5,3.3,1.4,0.2,setosa\n" + "7,3.2,4.7,1.4,versicolor\n" + "6.4,3.2,4.5,1.5,versicolor\n" + "6.9,3.1,4.9,1.5,versicolor\n" + "5.5,2.3,4,1.3,versicolor\n" + "6.5,2.8,4.6,1.5,versicolor\n" + "5.7,2.8,4.5,1.3,versicolor\n" + "6.3,3.3,4.7,1.6,versicolor\n" + "4.9,2.4,3.3,1,versicolor\n&...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...t;5.1,3.8,1.9,0.4,setosa\n" + >> "4.8,3,1.4,0.3,setosa\n" + >> "5.1,3.8,1.6,0.2,setosa\n" + >> "4.6,3.2,1.4,0.2,setosa\n" + >> "5.3,3.7,1.5,0.2,setosa\n" + >> "5,3.3,1.4,0.2,setosa\n" + >> "7,3.2,4.7,1.4,versicolor\n" + >> "6.4,3.2,4.5,1.5,versicolor\n" + >> "6.9,3.1,4.9,1.5,versicolor\n" + >> "5.5,2.3,4,1.3,versicolor\n" + >> "6.5,2.8,4.6,1.5,versicolor\n" + >> "5.7,2.8,4.5,1.3,versicolor\n" + >> "6.3,3.3,4.7,1.6,...
2017 Oct 27
0
Cannot Compute Box's M (Three Days Trying...)
...tosa\n" + > "5.1,3.8,1.9,0.4,setosa\n" + > "4.8,3,1.4,0.3,setosa\n" + > "5.1,3.8,1.6,0.2,setosa\n" + > "4.6,3.2,1.4,0.2,setosa\n" + > "5.3,3.7,1.5,0.2,setosa\n" + > "5,3.3,1.4,0.2,setosa\n" + > "7,3.2,4.7,1.4,versicolor\n" + > "6.4,3.2,4.5,1.5,versicolor\n" + > "6.9,3.1,4.9,1.5,versicolor\n" + > "5.5,2.3,4,1.3,versicolor\n" + > "6.5,2.8,4.6,1.5,versicolor\n" + > "5.7,2.8,4.5,1.3,versicolor\n" + > "6.3,3.3,4.7,1.6,versicolor\n" + &gt...
2017 Oct 27
0
Cannot Compute Box's M (Three Days Trying...)
...tosa\n" + > "5.1,3.8,1.9,0.4,setosa\n" + > "4.8,3,1.4,0.3,setosa\n" + > "5.1,3.8,1.6,0.2,setosa\n" + > "4.6,3.2,1.4,0.2,setosa\n" + > "5.3,3.7,1.5,0.2,setosa\n" + > "5,3.3,1.4,0.2,setosa\n" + > "7,3.2,4.7,1.4,versicolor\n" + > "6.4,3.2,4.5,1.5,versicolor\n" + > "6.9,3.1,4.9,1.5,versicolor\n" + > "5.5,2.3,4,1.3,versicolor\n" + > "6.5,2.8,4.6,1.5,versicolor\n" + > "5.7,2.8,4.5,1.3,versicolor\n" + > "6.3,3.3,4.7,1.6,versicolor\n" + &gt...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...\n" + >>> "4.8,3,1.4,0.3,setosa\n" + >>> "5.1,3.8,1.6,0.2,setosa\n" + >>> "4.6,3.2,1.4,0.2,setosa\n" + >>> "5.3,3.7,1.5,0.2,setosa\n" + >>> "5,3.3,1.4,0.2,setosa\n" + >>> "7,3.2,4.7,1.4,versicolor\n" + >>> "6.4,3.2,4.5,1.5,versicolor\n" + >>> "6.9,3.1,4.9,1.5,versicolor\n" + >>> "5.5,2.3,4,1.3,versicolor\n" + >>> "6.5,2.8,4.6,1.5,versicolor\n" + >>> "5.7,2.8,4.5,1.3,versicolor\n" + >>&gt...
2017 Oct 29
0
Renjin?
...3.8,1.9,0.4,setosa\n" + > > "4.8,3,1.4,0.3,setosa\n" + > > "5.1,3.8,1.6,0.2,setosa\n" + > > "4.6,3.2,1.4,0.2,setosa\n" + > > "5.3,3.7,1.5,0.2,setosa\n" + > > "5,3.3,1.4,0.2,setosa\n" + > > "7,3.2,4.7,1.4,versicolor\n" + > > "6.4,3.2,4.5,1.5,versicolor\n" + > > "6.9,3.1,4.9,1.5,versicolor\n" + > > "5.5,2.3,4,1.3,versicolor\n" + > > "6.5,2.8,4.6,1.5,versicolor\n" + > > "5.7,2.8,4.5,1.3,versicolor\n" + > > "6.3,3.3,4....
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...\n" + >> "4.8,3,1.4,0.3,setosa\n" + >> "5.1,3.8,1.6,0.2,setosa\n" + >> "4.6,3.2,1.4,0.2,setosa\n" + >> "5.3,3.7,1.5,0.2,setosa\n" + >> "5,3.3,1.4,0.2,setosa\n" + >> "7,3.2,4.7,1.4,versicolor\n" + >> "6.4,3.2,4.5,1.5,versicolor\n" + >> "6.9,3.1,4.9,1.5,versicolor\n" + >> "5.5,2.3,4,1.3,versicolor\n" + >> "6.5,2.8,4.6,1.5,versicolor\n" + >> "5.7,2.8,4.5,1.3,versicolor\n" + >>...
2017 Oct 28
2
Cannot Compute Box's M (Three Days Trying...)
...quot;5.1,3.8,1.9,0.4,setosa\n" + "4.8,3,1.4,0.3,setosa\n" + >>> "5.1,3.8,1.6,0.2,setosa\n" + "4.6,3.2,1.4,0.2,setosa\n" + >>> "5.3,3.7,1.5,0.2,setosa\n" + "5,3.3,1.4,0.2,setosa\n" + >>> "7,3.2,4.7,1.4,versicolor\n" + "6.4,3.2,4.5,1.5,versicolor\n" >>> + "6.9,3.1,4.9,1.5,versicolor\n" + >>> "5.5,2.3,4,1.3,versicolor\n" + "6.5,2.8,4.6,1.5,versicolor\n" >>> + "5.7,2.8,4.5,1.3,versicolor\n" + >>> "6....
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...quot;5.1,3.8,1.9,0.4,setosa\n" + "4.8,3,1.4,0.3,setosa\n" + >> "5.1,3.8,1.6,0.2,setosa\n" + "4.6,3.2,1.4,0.2,setosa\n" + >> "5.3,3.7,1.5,0.2,setosa\n" + "5,3.3,1.4,0.2,setosa\n" + >> "7,3.2,4.7,1.4,versicolor\n" + "6.4,3.2,4.5,1.5,versicolor\n" >> + "6.9,3.1,4.9,1.5,versicolor\n" + >> "5.5,2.3,4,1.3,versicolor\n" + "6.5,2.8,4.6,1.5,versicolor\n" >> + "5.7,2.8,4.5,1.3,versicolor\n" + >> "6....
2017 Oct 28
0
Cannot Compute Box's M (Three Days Trying...)
...quot;5.1,3.8,1.9,0.4,setosa\n" + "4.8,3,1.4,0.3,setosa\n" + >> "5.1,3.8,1.6,0.2,setosa\n" + "4.6,3.2,1.4,0.2,setosa\n" + >> "5.3,3.7,1.5,0.2,setosa\n" + "5,3.3,1.4,0.2,setosa\n" + >> "7,3.2,4.7,1.4,versicolor\n" + "6.4,3.2,4.5,1.5,versicolor\n" >> + "6.9,3.1,4.9,1.5,versicolor\n" + >> "5.5,2.3,4,1.3,versicolor\n" + "6.5,2.8,4.6,1.5,versicolor\n" >> + "5.7,2.8,4.5,1.3,versicolor\n" + >> "6....
2017 Oct 29
2
Cannot Compute Box's M (Three Days Trying...)
...t;> "5.1,3.8,1.9,0.4,setosa\n" + "4.8,3,1.4,0.3,setosa\n" + >>> "5.1,3.8,1.6,0.2,setosa\n" + "4.6,3.2,1.4,0.2,setosa\n" + >>> "5.3,3.7,1.5,0.2,setosa\n" + "5,3.3,1.4,0.2,setosa\n" + >>> "7,3.2,4.7,1.4,versicolor\n" + "6.4,3.2,4.5,1.5,versicolor\n" >>> + "6.9,3.1,4.9,1.5,versicolor\n" + >>> "5.5,2.3,4,1.3,versicolor\n" + "6.5,2.8,4.6,1.5,versicolor\n" >>> + "5.7,2.8,4.5,1.3,versicolor\n" + >>> "6.3,3.3,4.7,1....
2012 Dec 10
3
splitting dataset based on variable and re-combining
...h models are SVM. The reason for two different models is based on the sex of the observation. I wish to be able to make predictions and have the results be in the same order as my original dataset. To illustrate I will use iris: # Take Iris and create a dataframe of just two Species, setosa and versicolor, shuffle them data(iris) iris <- iris[(iris$Species=="setosa" | iris$Species=="versicolor"),] irisindex <- sample(1:nrow(iris), nrow(iris)) iris <- iris[irisindex,] # Make predictions on setosa using the mySetosaModel model, and on versicolor using the myVersicolorMode...
2017 Oct 29
0
Cannot Compute Box's M (Three Days Trying...)
...,1.9,0.4,setosa\n" + "4.8,3,1.4,0.3,setosa\n" + >> "5.1,3.8,1.6,0.2,setosa\n" + "4.6,3.2,1.4,0.2,setosa\n" + >> "5.3,3.7,1.5,0.2,setosa\n" + "5,3.3,1.4,0.2,setosa\n" + >> "7,3.2,4.7,1.4,versicolor\n" + >> "6.4,3.2,4.5,1.5,versicolor\n" + >> "6.9,3.1,4.9,1.5,versicolor\n" + >> "5.5,2.3,4,1.3,versicolor\n" + >> "6.5,2.8,4.6,1.5,versicolor\n" + >> "5.7,2.8,...
2010 Feb 23
0
BUG with LSSVM in R:
...;- rbfdot(0.5) lssvm> k <- kernelMatrix(rbf, as.matrix(iris[,-5])) lssvm> klir <- lssvm(k, iris[, 5]) lssvm> pre <- predict(klir, k) > ktest <- as.kernelMatrix(k[1:148,]) > pretest <- predict(klir, ktest) > table(pretest,iris[1:148,5]) pretest setosa versicolor virginica setosa 50 0 0 versicolor 0 49 2 virginica 0 1 46 > ktest2 <- as.kernelMatrix(k[1:147,]) > pretest2 <- predict(klir, ktest2) > table(pretest2,iris[1:147,5]) pretest2 setosa versicolor vir...
2005 Sep 26
3
How to get the rowindices without using which?
...t;which" because I don't have a restriction criteria. Here's an example of what I mean: # take 10 randomly selected instances iris[sample(1:nrow(iris), 10),] # output Sepal.Length Sepal.Width Petal.Length Petal.Width Species 76 6.6 3.0 4.4 1.4 versicolor 105 6.5 3.0 5.8 2.2 virginica 131 7.4 2.8 6.1 1.9 virginica 79 6.0 2.9 4.5 1.5 versicolor 69 6.2 2.2 4.5 1.5 versicolor 42 4.5 2.3 1...
2010 Jun 09
4
question about "mean"
...t species in this table. I want to make a table and calculate mean value for each specie as the following table: ----------------- Sepal.Length Sepal.Width Petal.Length Petal.Width mean.setosa 5.006 3.428 1.462 0.246 mean.versicolor 5.936 2.770 4.260 1.326 mean.virginica 6.588 2.974 5.552 2.026 ----------------- Is there any short syntax can do it?? I mean shorter than the code I wrote as following: attach(iris) mean.setosa<-mean(iris...
2007 Apr 29
1
randomForest gives different results for formula call v. x, y methods. Why?
...., data=iris) > form.rf Call: randomForest(formula = Species ~ ., data = iris) Type of random forest: classification Number of trees: 500 No. of variables tried at each split: 2 OOB estimate of error rate: 4.67% Confusion matrix: setosa versicolor virginica class.error setosa 50 0 0 0.00 versicolor 0 47 3 0.06 virginica 0 4 46 0.08 > long.rf<-randomForest(x=iris[,1:4],y=iris[,5]) > long.rf Call: randomForest(x = iris[, 1:4], y = iris[, 5])...
2005 Sep 16
6
How do I get the row indices?
...I was wondering if it's possible to get the row numbers from a filtering. Here's an example: # give me the rows with sepal.length == 6.2 iris[(iris[,1]==6.2),] # output Sepal.Length Sepal.Width Petal.Length Petal.Width Species 69 6.2 2.2 4.5 1.5 versicolor 98 6.2 2.9 4.3 1.3 versicolor 127 6.2 2.8 4.8 1.8 virginica 149 6.2 3.4 5.4 2.3 virginica What I really want is that it return the row numbers: 69, 98, 127, 149. Thanks in advance, Martin
2018 Mar 23
2
aggregate() naming -- bug or feature
...ce? I?d prefer that the names be retained in both cases. foo <- function(x) { c(mean = base::mean(x)) } bar <- function(x) { c(mean = base::mean(x), sd = stats::sd(x))} aggregate(iris$Sepal.Length, by = list(iris$Species), FUN = foo) #> Group.1 x #> 1 setosa 5.006 #> 2 versicolor 5.936 #> 3 virginica 6.588 aggregate(iris$Sepal.Length, by = list(iris$Species), FUN = bar) #> Group.1 x.mean x.sd #> 1 setosa 5.0060000 0.3524897 #> 2 versicolor 5.9360000 0.5161711 #> 3 virginica 6.5880000 0.6358796 ?rjp [[alternative HTML version deleted]]