tobigithub / caret-machine-learning

Practical examples for the R caret machine learning package
MIT License
67 stars 50 forks source link

caret "rbf" from RSNNS crashes RGUI #9

Open tobigithub opened 8 years ago

tobigithub commented 8 years ago

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 commented 8 years ago

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.