Description Usage Format Source Examples
A data frame with the subset of the 'Multiple Features' dataset corresponding to the sample of '0' and '1' numerals.
1 |
Numerals.
Fourier coefficients describing the shape of each observation.
Van Breukelen, M. Duin, R.P.W. Tax, D.M.J. and Den Hartog, J.E. (1998). Handwritten digit recognition by combined classifiers, Kybernetika, vol. 34, 381–386.
1 2 3 4 5 6 7 8 9 10 11 12 | data(MultipleFeatures)
alpha<-0.5
Q<-15
p<-ncol(MultipleFeatures[,-1])
ns<-FHCSnumStarts(q=Q,eps=(1-alpha)*4/5)
RunExample<-FALSE
if(RunExample){
Fit<-FastHCS(x=MultipleFeatures[,-1],q=Q,nSamp=ns,seed=1)
colvec<-rep("orange",nrow(MultipleFeatures))
colvec[MultipleFeatures[,1]==1]<-"blue"
plot(Fit,col=colvec,pch=16)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.