Re: [R] Error using e1071 svm: NA/NaN/Inf in foreign function call

From: Achim Zeileis <Achim.Zeileis_at_wu-wien.ac.at>
Date: Wed 27 Apr 2005 - 01:09:42 EST

On Tue, 26 Apr 2005 15:46:20 +0100 Joćo Mendes Moreira wrote:

> Hello,
>
> As far I saw in archive mailing list, I am not the first person with
> this problem. Anyway I was not able to pass this error once the
> information I got from the archive it is not very conclusive for this
> case. I have used linear, radial and sigmoid kernels for the same data
> in the same conditions and everything is ok. This problem just
> happens with the polynomial kernel. I send the debuging result from a
> reproducible example. The error message is at the end.

I receive a different error message:
  Error in eval(expr, envir, enclos) : Object "Fim" not found So much for the reproducibility... Wouldn't it be possible to simply use a data set that is already available in R, *please*?

Anyways, it seems that your specification of `nu' causes the problem: 0 might be a little bit too small. Z



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Apr 27 01:21:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:26 EST