Displaying 2 results from an estimated 2 matches for "even_".
Did you mean:
event
2012 Aug 01
1
Different results between lda(mass) and spss discriminant analysis
...ware and it give me
around 11% of minimum error with and without leave one out cross validation.
Maybe the problem is a my error in my script?
Someone can check it pls?
data <- "data\\raw_data.csv"
r <- read.csv(data, header = T)
sound <- r[1:844,]
unsound <- r[845:2195,]
even_s <- seq(nrow(sound)) %% 2
even_u <- seq(nrow(unsound)) %% 2
t <- rbind(sound[even_s == 1,], unsound[even_u == 1,])
p <- rbind(sound[even_s != 1,], unsound[even_u != 1,])
fit <- lda(samples ~., data = t)
ct <- table(p[, 1], predict(fit, p[,-1])$class)
errors <- 1-diag(prop.tab...
2006 Jan 25
1
xx-0.1.0 : xhtml and xml make it twice as dirty
...generated.
#
include XX::XML
doc = xml_{
root_{
div_{ t_ "this is escaped < > & text" }
div_{ h_ "this is raw <html>. & is not escaped" }
div_{ x_ "<raw> xml </raw>" }
div_{ x_{ even_{ entire_{ documents_{ "nest" } } } } }
}
}
puts doc.pretty
~ > ruby sample/c.rb
<?xml version=''1.0''?>
<root>
<div>this is escaped < > & text</div>
<div>th...