https://github.com/cran/earth
Tip revision: a26b8152051110f3ddb6e4d84d3462e2bbb46da1 authored by Stephen Milborrow on 03 November 2010, 07:40:34 UTC
version 2.4-5
version 2.4-5
Tip revision: a26b815
NEWS
Changes to Earth Package
------------------------
2.4-5 Oct 30 2010
Plotmo now better handles the "data" argument for earth.formula models.
(Thanks to Keith Woolner for spotting that this was previously incorrect.)
2.4-4 Oct 6 2010
NAs are now allowed in the data passed to predict.earth. The predicted value
will be NA unless the NAs are in variables that are unused in the earth model.
2.4-3 Sep 29 2010
For certain data we were seeing duplicated term names for cuts that
are very close to each other. To avoid this you can now use
options(digits) to increase the number of significant digits used
when forming term names. (Thanks to Keith Woolner for spotting this.)
2.4-2 Aug 28 2010
We now give the correct error message for attempted cross validation of
paired binomial responses (which is not yet supported).
Labels on the largest residuals in plot.earth graphs are now slightly
better positioned (using plotrix::thigmophobe.labels).
plotd now handles qda objects in the same manner as lda objects
Other doc touchups.
2.4-0 Nov 8 2009
This version of earth will build models SLIGHTLY DIFFERENT FROM PRIOR VERSIONS,
because I fixed a bug in the calculation of minspan and endspan.
Use minspan=-1 for backwards compatibility.
(Thanks to Gints Jekabsons for spotting this.)
2.3-5 Oct 7 2009
Fixed bug where glm.control args were ignored under certain circumstances
(Thanks to Jérôme Guélat for letting me know about this.)
2.3-4 Sep 21 2009
. Fixed bug where predict.earth of a earth-glm model under R 2.9.0 and higher
incorrectly gave the message: Object of type 'closure' is not subsettable
(Thanks to Thomas Brockmeier for help tracking this down.)
. plotd now correctly ignores the vline if vline.col=0
. Doc touchups
2.3-2 Mar 23 2009
Extended plotd
Doc touchups
2.3-1 Feb 26 2009
Doc touchups
Added leaps::: prefix needed for new version of the leaps package
Added style="max" to summary.earth
Added labels param to plotd
Reordered some of earth's arguments
2.3-0 Feb 18 2009
Added the plotd function
Removed some restrictions on type="class" in predict.earth
Added sqrt. argument to evimp
Added more grid lines to cumul density plot in plot.earth
Added a help page section on interpreting the graphs in plot.earth
Miscellaneous other touchups to code and docs
2.2-3 Feb 2 2009
Added levels to the return value
Added type=class and thresh arguments to predict.earth
Thanks to Max Kuhn for suggesting these improvements
2.2-2 Jan 30 2009
Doc touchups
Cross validation MaxErr is now signed
2.2-1 Jan 22 2009
Added cross validation i.e. the nfold and stratify parameters.
We now scale y before the forward pass, for better numeric stability in
the forward pass with very big or very small y's.
For the old behaviour, set earth's new argument scale.y=FALSE.
Added get.pairs.bagEarth so plotmo prints degree2 plots for caret:bagEarth models.
Changes internal to earth.c:
High values of trace argument are treated differently
ServiceR (to allow interrupts) is called more consistently for large datasets
Delta RSS handling is simplified
Changed some var names for consistency
The last two were a byproduct of experimental changes to earth that
were not included in this release.
Changed documentation to American English.
2.1-2 Nov 18 2008
Touched up evimp help page.
2.1-0 Nov 15 2008
plotmo now has better support for factors and for glm models
na.action (always na.fail) is now handled as documented in earth.formula
Added style="bf" to format.earth and summary.earth
Fixed a few minor bugs and touched up documentation for evimp
2.0-6 Oct 30 2008
You can now pass only the needed subset of columns to predict.earth
Added plot.evimp
Removed spurious warning "Need as many rows as columns"
2.0-5 Jul 14 2008
Touched up documentation for format.lm.
2.0-4 June 22 2008
Touched up code and documentation for a zero thresh value.
2.0-3 June 22 2008
Zero values are now allowed for earth's "thresh" parameter (previously if
you used thresh=0, thresh was clamped internally to 1e-10).
Also, if thresh=0, the MAX_GRSQ forward pass condition is ignored.
The idea is to get as close to a big nk as possible
Changed "valid.names" argument of format.earth and format.lm to "colon.char"
which achieves the same end more simply.
2.0-2 June 15 2008
Added column names to results of mars.to.earth, allows use of evimp.
Added valid.names argument to format.earth and format.lm.
2.0-1 June 10 2008
Added "namesx" and "first" arguments to the "allowed" function.
evimp() for a scalar x now returns a matrix (I added a missing drop=FALSE).
2.0-0 June 07 2008
Added support for glms and factors (but plotmo does not yet support factors).
Added variable importance function "evimp".
Added response weights argument "wp" to earth.
Output of summary.earth has changed to better deal
with multiple response models, see the "style" argument.
Added namesx and namesx.org to earth's return value.
1.3-2 Mar 29 2008
Fixed two bad multiple response bugs:
a) for multiple reponse models, earth calculated the wrong null RSS and
therefore the wrong RSq and GRSq for the sub-models. (The total
RSq and GRSq were correct.)
b) the wrong betas were used when pruning multiple response models.
Also fixed a bug where summary.earth printed the wrong number
of cases for multiple response models.
1.3-1 Mar 22 2008
"update.earth" now has a "ponly" argument, to force pruning only.
Because of this change, the "ppenalty" argument to earth is no longer
needed and has been removed.
Revisited text of warnings after I was bamboozled by one of
my own warnings.
Tweaked legend positioning in plot.earth.models.
1.3-0 Mar 18 2008
Default minspan is now 0 (was 1) for compatibility with mda:mars and
Friedman's MARS paper (I've flip flopped on this one). This means
that models built with the default args will be little different to
before.
Earth's peak memory is now about 40% less.
Big models are now more responsive to ^C.
For multiple response models, we now print response names in most
places instead of just "Response N".
Removed get.nterms.per.degree and get.nused.preds.per.subset from
NAMESPACE and from help pages, to simplify user interface.
Fixed some niggling document issues and extended the FAQ.
1.2-2 Jan 2008
print.summary.earth now prints the call even for x,y interface to earth
plotmo now accepts x matrices without column names
Tweaked FindKnot and OrthogResiduals for speed
Removed a few shadowed variables in earth.c after running gcc -Wshadow
Clarified some paras in earth.Rd, reduced page width for better html display
1.2-1
Fixed a newvar.penalty bug introduced in previous release.
Added src/tests/test.earthmain.gcc.bat
More man page tweaks
1.2-0
Added linpreds, allowed, and Use.beta.cache arguments
Anova decomp is now more consistent
Added a few GPL headers
Reinstated the beta cache
More man page tweaks
1.1-5
Fixed bug reported by Joe Ritzer: long predictor names got munged in plotmo
Changed "class" to "response" throughout when used for the
predicted responses in the input y.
Man page tweaks based on user feedback.
1.1-4
Changed as.matrix to data.matrix in earth.default -- grep for FIXED
Extended earth.Rd slightly
1.1-2
Added my web page to DESCRIPTION and to some man pages
1.1-1
Changed \r\n to \n to pacify CMD CHECK
1.1-0
Default minspan is now 1 (was 0)
Fixed potential crash in PrintForwardStep if nTrace>1
Added a missing drop=FALSE to backward()
Minor code, comment, and man page fixups
1.0-8
Fixed bug where plotmo failed under these circumstances:
form <- Volume ~ .; a <- earth(form, data = trees); plotmo(a)
1.0-7
Minor change to summary.earth formatting. Man page fixes.
1.0-6
Initial release