Hello, if I try to tune my svm with the code: Tune <- tune.svm(Data.Train, Class.Train, type="C-classification", kernel="radial", gamma = 2^(-1:1), cost = 2^(2:4)) i get a windows Messagebox with a error in the application "Rgui.exe" and the message: "Die Anweisung in 0x6c48174d verweist auf Speicher 0x00000000. Der Vorgang "read" konnte nicht auf dem Speicher ausgef??hrt werden. ....." is this a known error, or is there any mistake in my code? regards Andreas
On Tue, 21 Dec 2004 23:29:11 +0100, "Andreas" <wolf.privat at gmx.de> wrote:>Hello, > >if I try to tune my svm with the code: > >Tune <- tune.svm(Data.Train, Class.Train, type="C-classification", >kernel="radial", gamma = 2^(-1:1), cost = 2^(2:4)) > >i get a windows Messagebox with a error in the application "Rgui.exe" and >the message: "Die Anweisung in 0x6c48174d verweist auf Speicher 0x00000000. >Der Vorgang "read" konnte nicht auf dem Speicher ausgef??hrt werden. ....." > >is this a known error, or is there any mistake in my code?That looks like dereferencing a null pointer. It's likely in the e1071 code, not actually in Rgui. Duncan Murdoch
> If I try to tune my svm with the code:> Tune <- tune.svm(Data.Train, Class.Train, type="C-classification", > kernel="radial", gamma = 2^(-1:1), cost = 2^(2:4))> i get a windows Messagebox with a error in the application "Rgui.exe" > and the message: "Die Anweisung in 0x6c48174d verweist auf Speicher > 0x00000000. Der Vorgang "read" konnte nicht auf dem Speicher > ausgef_hrt werden. ....."Which version of e1071 are you using? There has been a memory leak problem until 1.5-1 which could very well cause this null pointer exception... best, David -- Dr. David Meyer Department of Information Systems Vienna University of Economics and Business Administration Augasse 2-6, A-1090 Wien, Austria, Europe Fax: +43-1-313 36x746 Tel: +43-1-313 36x4393 HP: http://wi.wu-wien.ac.at/~meyer/