[R] Training and testing on Unbalanced Data Set

2014-07-04 Thread Vijay goel
into train and test and do the fitting and testing on this data set only In first approach my results might get skewed so which approach should I take and Why ? -- Vijay Goel *+91-7501378852* __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Fisher Scoring v/s Coordinate Descent for MLE in R

2014-07-03 Thread Vijay goel
R base function glm() uses Fishers Scoring for MLE, while the glmnet uses the coordinate descent method to solve the same equation ? Coordinate descent is more time efficient than Fisher Scoring as fisher scoring calculates the second order derivative matrix and some other matrix operation which