On Oct 12, 2008, at 2:26 AM, Prof Brian Ripley wrote:
You need to use substitute() on the call. Something like
sapply(1:5,function(i)
eval(substitute(svm(person_oid ~ ., data=zrr[1:N,]),
list(N=100*i))
)
Thanks!
On Sun, 12 Oct 2008, Alexy Khrabrov wrote:
I want to train sv
You need to use substitute() on the call. Something like
sapply(1:5,function(i)
eval(substitute(svm(person_oid ~ ., data=zrr[1:N,]), list(N=100*i))
)
On Sun, 12 Oct 2008, Alexy Khrabrov wrote:
I want to train svm models on increasingly large training data subsets of
some zrr as f
I want to train svm models on increasingly large training data subsets
of some zrr as follows:
> m <- sapply(1:5,function(i)
svm(person_oid~.,data=zrr[1:100*i,]))# (*)
However, when I inspect m[1], it literally shows
> m[1]
[[1]]
svm(formula = person_oid ~ ., data = zrr[1:N, ])
-- as
3 matches
Mail list logo