[R] Disable weight re-scaling in GLMNET

2017-05-29 Thread Maggie Makar
Hi all, Wondering if there is a way to disable observation weight re-scaling (such that it adds to N of observations) in glmnet without having to delve into the fortran code/ minimal edits to fortran code? Thanks Maggie [[alternative HTML version deleted]]

[R] Random forest proximity measure

2014-05-22 Thread Maggie Makar
Hi all, I've been using the randomForest package on a dataset (described later) and my problem is: even though I specify proximity= TRUE in the call I get a NULL proximity matrix. Any thoughts on why that may happen? Unfortunately I can't post my dataset, which is particularly problematic here si

[R] cforest sampling methods

2014-03-19 Thread Maggie Makar
Hi all, I've been using the randomForest package and I'm trying to make the switch over to party. My problem is that I have an extremely unbalanced outcome (only 1% of the data has a positive outcome) which makes resampling methods necessary. randomForest has a very useful argument that is sampsi