On 26.08.2012 15:33, Reza Salimi-Khorshidi wrote:
Thanks Uwe,
Am I right that in ksvm's internal cross-validation, there is no
guarantee for having *at least one* of each classes in each subset?
That is my guess, but I haven't read the code. Please read it yourself
in case you want more det
Thanks Uwe,
Am I right that in ksvm's internal cross-validation, there is no guarantee
for having *at least one* of each classes in each subset?
Some randomness is involved, and when you get an unfortunate subsample
> (e.g. if in the internal cross-validation one class is not selected at all)
> it
On 25.08.2012 02:12, Reza Salimi-Khorshidi wrote:
Dear Uwe,
I appreciate that if you let me know why, when using the attached file,
the following script (two lines) doesn't work once in 10s of times.
Best, Reza
svm.pol4<- ksvm(class.labs~ ., data= train.data, prob.model= T, scale=
T, kernel= "
Dear Uwe,
I appreciate that if you let me know why, when using the attached file, the
following script (two lines) doesn't work once in 10s of times.
Best, Reza
svm.pol4 <- ksvm(class.labs ~ ., data = train.data, prob.model = T, scale =
T, kernel = "polydot")
svm.pol.prd4 <- predict(svm.pol4, tra
Hi Uwe,
I can attach the data file to an email or send you a link so you can
download it. Which one do you prefer?
Thanks for your help ...
Best, Reza
On Sun, Aug 19, 2012 at 4:10 PM, Uwe Ligges wrote:
>
>
> On 19.08.2012 11:06, Reza Salimi-Khorshidi wrote:
>
>> Dear list,
>> I am using the ksv
On 19.08.2012 11:06, Reza Salimi-Khorshidi wrote:
Dear list,
I am using the ksvm function from kernlab as follows:
(1) learning
svm.pol4 <- ksvm(class.labs ~ ., data = train.data, prob.model = T, scale
= T, kernel = "polydot")
(2) prediction
svm.pol.prd4 <- predict(svm.pol4, train.data, ty
Dear list,
I am using the ksvm function from kernlab as follows:
(1) learning
> svm.pol4 <- ksvm(class.labs ~ ., data = train.data, prob.model = T, scale
= T, kernel = "polydot")
(2) prediction
> svm.pol.prd4 <- predict(svm.pol4, train.data, type = "probabilities")[,2]
But unfortunately, when ca
7 matches
Mail list logo