Displaying 2 results from an estimated 2 matches for "melinstr".
Did you mean:
mcinstr
2012 Jan 12
1
problems with method ken.sto in package soil.spec: subscript out of bounds
Hi All,
I would like to use Kennard-Stone algorithm for splitting a dataset.
> mydata <- read.csv(url("http://www.ats.ucla.edu/stat/r/dae/binary.csv
"))
> library("soil.spec")
> ken.sto(mydata,per.n=0.3)
Error in ken.sto(mydata, per.n = 0.3) : subscript out of bounds
I found that other people run into this problem as well:
2010 Nov 07
3
help! kennard-stone algorithm in soil.spec packages does not work for my dataset!!!
http://r.789695.n4.nabble.com/file/n3031344/RSV.Rdata RSV.Rdata
I want to split my dataset to training set and test set using
kennard-stone(KS) algorithm, it is lucky there is R packages soil.spec to
implement it.
but when I used it to my dataset, it does not work, who can help me, how
reasons is it, below, it is my code, and my data in the attachment.