[R] oversampling code

2011-10-31 Thread loubna ibn majdoub hassani
Hi I have an umbalanced data set where I want to predict a binary variable Y. I want to do an under sampling by keeping all the 1 and taking just some of the 0 such as I'll have 90% of 0 and 10% of 1. Can u help me do that Thank u [[alternative HTML version deleted]] _

[R] need SMOTE code

2012-01-16 Thread loubna ibn majdoub hassani
Hi I'm doing research on data mining and need to use the function SMOTE. I know that it is implemented in DMwR package but stil I can't find the code in R (not java) can u please help me [[alternative HTML version deleted]] __ R-help@r-project.o