Closed aalfons closed 12 years ago
Full object from cvTools
should be stored to take advantage of the more advanced plot methods. critPlot()
should in this case just be a wrapper.
sparseLTSGrid()
and fitModels()
should be adjusted such that only the final model is computed from the full data set to save computation time. Class structure and methods then probably need to be adapted, too.
It's probably a good idea to switch to perry
directly and allow for random splits and bootstrap prediction error estimation as well.
Class structure should be modified such that ocefficients etc. in this case are only stored for the optimal model. Hence the coef()
method etc. should always ignore the argument s
or set it to NULL
.
It's a bit trickier for sparseLTSGrid()
because the optimal model for the reweighted and raw estimator can be different.
Allow for cross-validation from within model fitting functions via the
crit
argument.