Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: Save object but file doesn't find

$
0
0
basicData <- iris;
index<- sample(2,nrow(basicData),replace=T,prob=c(tranprec,testprec));
dt.train <- basicData[index==1,] ;
dt.test <- basicData[index==2,] ;
myModel <- rpart(Species~.,dt.train,method="class");
save(myModel,file="c:/md/myModel.md");

Those script in the R with no error and i can get the model file !!

When i use the engine.Evaluate(those script) no error ,
but the file does not appear

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>