[R] rpart tuning question

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Nov 20 22:38:28 CET 2008


On Thu, 20 Nov 2008, Sharma, Dhruv wrote:

> Hi,
>  In a binary classification dataset is there a way to tune rpart to now
> allow any false positives.

There may be no such tree, but if there is, ?rpart.control gives you the 
means to achieve it.

>  I.e. is there some setting that will enforce no false positives (prior
> etc)?  (and yet Without making the tree pick all 0 or 1 outcome)

I have no idea what that sentence is intended to mean.

> Dhruv
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.

PLEASE do.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list