powered by
This function generates test dataset index of two-dimensional data for cross-validation
cvtype.image(n, cv.bsize=c(1,1), cv.kfold)
the size of image
two-dimensional block size of cross-validation
the number of fold of cross-validation
Two matrix representing test dataset index of each dimension for cross-validation.
each row is test dataset index of one dimension
each row is test dataset index of the other dimension
This function provides indexes of two-dimensional cross-validation scheme. Only random cross-validation scheme is provided.
cvtype, cvwavelet, cvimpute.by.wavelet,
cvtype
cvwavelet
cvimpute.by.wavelet
cvwavelet.after.impute, cvwavelet.image,
cvwavelet.after.impute
cvwavelet.image
cvimpute.image.by.wavelet, cvwavelet.image.after.impute
cvimpute.image.by.wavelet
cvwavelet.image.after.impute
# NOT RUN { # Two-dimensional 4-fold cross-validation with block size 2*2 out <- cvtype.image(n=c(256,256), cv.bsize=c(2,2), cv.kfold=4) # }
Run the code above in your browser using DataLab