Rev 6384 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{NEWS}\title{NEWS file for the rpart package}\section{Changes in version 4.1-0}{\itemize{\item The C and R code has been reformatted for legibility.\item The old compatibility function \code{rpconvert()} has been removed.\item The cross-validation functions allow for user interrupt at theend of evaluating each split.\item Variable \code{Reliability} in data set \code{car90} iscorrected to be an ordered factor, as documented.\item Surrogate splits are now considered only if they send two ormore cases \emph{with non-zero weight} each way. Fornumeric/ordinal variables the restriction to non-zero weights isnew: for categorical variables this is a new restriction.\item Surrogate splits which improve only by rounding error over thedefault split are no longer returned. Where weights and missingvalues are present, the \code{splits} component for some of thesewas not returned correctly.}}\section{Changes in version 4.0-3}{\itemize{\item A fit of class \samp{"rpart"} now contains a component forvariable \sQuote{importance}, which is reported by the\code{summary()} method.\item The \code{text()} method gains a \code{minlength} argument,like the \code{labels()} method. This adds finer control: thedefault remains \code{pretty = NULL}, \code{minlength = 1L}.\item The handling of fits with zero and fractional weights has beencorrected: the results may be slightly different (or evensubstantially different when the proportion of zero weights islarge).\item Some memory leaks have been plugged.\item There is a second vignette, \file{longintro.Rnw}, a version ofthe original Mayo Tecnical Report on \pkg{rpart}.}}\section{Changes in version 4.0-2}{\itemize{\item Added dataset \code{car90}, a corrected version of theS-PLUS dataset \code{car.all} (used with permission).\item This version does not use \code{paste0{}} and so workswith \R 2.14.x.}}\section{Changes in version 4.0-1}{\itemize{\item Merged in a set of Splus code changes that had accumulated atMayo over the course of a decade. The primary one is a change in howindexing is done in the underlying C code, which leads to a majorspeed increase for large data sets. Essentially, for the lowerleaves all our time used to be eaten up by bookkeeping, and this wasreplaced by a different approach. The primary routine also uses\code{.Call{}} so as to be more memory efficient.\item The other major change was an error for asymmetric lossmatrices, prompted by a user query. With L=loss asymmetric, thealtered priors were computed incorrectly -- they were using L'instead of L. Upshot -- the tree would not not necessarily chooseoptimal splits for the given loss matrix. Once chosen, splits wereevaluated correctly. The printed \dQuote{improvement} values are ofcourse the wrong ones as well. It is interesting that for my littletest case, with L quite asymmetric, the early splits in the tree areunchanged -- a good split still looks good.\item Add the \code{return.all} argument to \code{xpred.rpart()}.\item Added a set of formal tests, i.e., cases with known answers towhich we can compare.\item Add a \file{usercode} vignette, explaining how to add user definedsplitting functions.\item The class method now also returns the node probability.\item Add the \code{stagec} data set, used in some tests.\item The \code{plot.rpart} routine needs to store a value that willbe visible to the \code{rpartco} routine at a later time. This isnow done in an environment in the namespace.}}\section{Changes in version 3.1-55}{\itemize{\item Force use of registered symbols in R >= 2.16.0\item Update Polish translations.\item Work on message formats.}}\section{Changes in version 3.1-54}{\itemize{\item Add Polish translations}}\section{Changes in version 3.1-53}{\itemize{\item \code{rpart}, \code{rpart.matrix}: allow backticks in formulae.\item \file{tests/backtick.R}: regession test}}\section{Changes in version 3.1-52}{\itemize{\item \file{src/xval.c}: ensure unused code is not compiled in.}}\section{Changes in version 3.1-51}{\itemize{\item Change description of \samp{margin} in \code{?plot.rpart}as suggested by Bill Venables.}}