caret-machine-learning icon indicating copy to clipboard operation
caret-machine-learning copied to clipboard

caret "rbf" from RSNNS crashes RGUI

Open tobigithub opened this issue 10 years ago • 1 comments

this example fully crashes the RGUI with package RSNNS RSNNS_0.4-7
caret_6.0-58

require(caret);  data(cars); require(RSNNS);
y <- mtcars$mpg; x <- mtcars[, -mtcars$mpg];
train(y=y, x=x, "rbf")

tobigithub avatar Nov 08 '15 02:11 tobigithub

Also diabetes kills rbf with caret

require(mlbench)
require(caret)

# load diabetes set 768 x 9
data(PimaIndiansDiabetes) 
dim(PimaIndiansDiabetes) 

# train rbf 
t2 <- train(diabetes~., data=PimaIndiansDiabetes, method="rbf")
t2

Seems to be dependent on caret version caret_6.0-52 and RSNNS_0.4-7 does not crash however this config crashes: [1] caret_6.0-58 ggplot2_1.0.1 lattice_0.20-31
[4] RSNNS_0.4-7 Rcpp_0.11.6 RevoUtilsMath_3.2.1

This is a fatal crash no recovery.

tobigithub avatar Nov 12 '15 06:11 tobigithub