Displaying 1 result from an estimated 1 matches for "person_oid".
Did you mean:
person_id
2008 Oct 12
1
svm models in a loop
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 opposed to
> m1 <- svm(person_oid~.,data=zrr[1:100,])
> m1
> m1
Call:
svm(formula = person_oid ~ ., data = zrr[1:100, ])
... -...