Displaying 1 result from an estimated 1 matches for "dftc".
Did you mean:
dft
2004 Jun 10
1
a scope problem
Hi,
I have some code that looks like:
dftc <- df[sets$tcset,]
pt <- numeric(nrow(dftc))
sub <- 1:nrow(dftc)
for (i in 1:nrow(dftc)) {
n <- nnet( fmla, data=dftc, weights=wts, subset=sub[-i], size=4,
decay=0.01)
pt[i] <- predict( n, dftc[ i, ], type='class' )
}
However running this give...