[R] random forest regression
Liaw, Andy
andy_liaw at merck.com
Wed Nov 15 16:02:07 CET 2006
One way is to graft the stratified sampling code from the classification
part onto the regression part. I will get to it eventually, but just
not now.
Andy
From: Naiara Pinto
>
> Dear all,
>
> I am doing a regression in ramdomForest, using the option
> "sampsize" reduce the number of records used to produce the
> randomForest object.
> The manual says "For classification, if sampsize is a vector
> of the length the number of strata, then sampling is
> stratified by strata, and the elements of sampsize indicate
> the numbers to be drawn from the strata". I need my sampling
> to be done with factors, but I am doing a regression. Does
> anyone know a way to do that?
>
> Thanks,
>
> Naiara.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments,...{{dropped}}
More information about the R-help
mailing list