[R] FW: Re: importing data error question

2019-01-13 Thread 우지희
From: "우지희" Sent: Monday, January 14, 2019 9:40:26 AM To:"Fox, John" Subject:Re: [R] importing data error question Thanks for your replies. I'm using windows 7, I loaded FactoMineR, SensoMineR and then Rcmdr. (Downloaded FacroMineR, SensoMineR, Rcmdr, Rcmdrplugin.FactomineR, Rcmdrplu

[R] mgcv::bam with monotonic constraints

2019-01-13 Thread Axel Urbiz
Dear List, I need to fit a GAM to a large dataset (`mgcv::bam` does this), but ensuring that some covariates have a monotonic relation with the response. `mgcv::mono.con` with `mgcv::pcls` seem to do this, but only for `mgcv::gam` (not mgcv::bam)? I'd really appreciate any pointers! Regards, Ax

Re: [R] randomForest out of bag prediction

2019-01-13 Thread Michael Mayer
predict(diachp.rf, dataX) returns the in-sample predictions, not the OOB predictions. The response variable «quality» is only used during model fit, not during prediction. Since in-sample predictions of random forests are typically grossly overfitted by construction, extremely high accuracie