- Remove dead Rd links to the ParBayesianOptimization package.
- Set required java parameters in the
BARTMachineModelexample.
- Ensure that global settings are applied to compute nodes when
varimp()runs in parallel. - Compatibility fixes for
XGBModel(XGBDARTModel,XGBLinearModel,XGBTreeModel).
- Add offset support to
XGBModel. - Add logical argument
pooltocalibration()indicating whether to compute a single calibration curve on predictions pooled over all resampling iterations or to compute them for each iteration individually and return the mean calibration curve.- The new argument default is
pool = FALSE. The pooling that had been the only implementation in previous package versions (<= 3.8.0) can reproduced withpool = FALSEbut is deprecated and will be removed along with the argument in a future version. - Note that pooling can result in large memory allocation errors when fitting smooth curves with
breaks = NULL.
- The new argument default is
- Changes to
varimp()arguments.- Add argument
sort. - Extend argument
scaleto vectors of logical.
- Add argument
- Changes to model-based variable importance.
- Fix unused argument error from
CForestModel. - Use
drop1()to compute model term-specific p-values forCoxModel,POLRModel, andSurvRegModelas is done forGLMModelandLMModel.
- Fix unused argument error from
- Changes to
VariableImportanceclass.- Add slots
methodandmetricto store the computational method ("permute"or"model") and the performance metric used for computations. - Add
update()method to add the new slots to objects created with previous versions of the package.
- Add slots
- Deprecate
type = "default"option inpredict()and replace it withtype = "raw". - Fix unimplemented type 'list' in 'listgreater' error from
SelectedInput.recipe().
- Compatibility updates for parsnip.
- Enable resampling by a grouping variable with
BootControl,OOBControl, andSplitControl. - Enable resampling by a stratification variable with
SplitControl. - Require R 4.1.0 or later.
- Add backward compatibility for older
MLModelobjects without ana.rmslot. - Fix CRAN check warning: S3 generic/method consistency.
- Update
role_binom(),role_case(), androle_surv()to remove the requirement that their variables be present innewdatasupplied topredict().
- Compatibility updates for ggplot2, Matrix, and recipes package dependencies.
- Add argument
na.rmtoMLModel()for construction of a model that automatically removes all cases with missing values from model fitting and prediction, none, or only those whose missing values are in the response variable. Set thena.rmvalues in suppliedMLModelsto automatically remove cases with missing values if not supported by their model fitting and prediction functions. - Add argument
prob.modeltoSVMModel(). - Add argument
verbosetofit()andpredict(). - Fix
Error in as.data.frame(x) : object 'x' not foundissue when fitting aBARTMachineModelthat started occurring withbartMachinepackage version 1.2.7. - Remove expired deprecations of
ModeledInputandrpp(). - Internal changes
- Add slot
na.rmtoMLModel.
- Add slot
- Add argument
methodtor2()for calculation of Pearson or Spearman correlation. - Add
predict()S4 method forMLModelFit. - Export
MLModelFunction(). - Export
as.MLInput()methods forMLModelFitandModelSpecification. - Export
as.MLModel()method forModelSpecification. - Improve recursive feature elimination of
SelectedInputterms. - Improve speed of
StackedModelandSuperModel. - Internal changes
- Add
.MachineShoplist attribute toMLModelFit. - Move field
mlmodelinMLModelFittomodelin.MachineShop. - Move slot
inputinMLModelto.MachineShop. - Pass
.MachineShopto thepredictandvarimpslot functions ofMLModel.
- Add
- Fix
TypeErrorindependence()with numeric dummy variables from recipes. - Prep
ModelRecipewithretain = TRUEfor recipe steps that are skipped, for example, when test datasets are created. - Add generalized area under performance curves to
auc(),pr_auc(), androc_auc()for multiclass factor responses.
- Add argument
selecttorfe(). - Fix object
perf_statsnot found inoptim().
- Add argument
conftoset_optim_bayes(). - Enable global grid expansion and tuning of
StackedModelandSuperModelinModelSpecification().
- Fixes
- Enable prediction with survival times of 0.
- Implement class
SelectedModelSpecification. - Internal changes
- Deprecate classes
ModeledInput,ModeledFrame, andModeledRecipe. - Remove unused class
TunedModeledRecipe.
- Deprecate classes
- Expire deprecations
- Remove argument
fixedfromTunedModel(). - Remove
Grid().
- Remove argument
- Rename
rpp()toppr(). - Replace
ModeledInput()withModelSpecification(). - Require R >= 4.0.0.
- Use Olden algorithm for
NNetModelmodel-specific variable importance.
- Fixes
SurvRegModelFitsummary()error- update number of folds recorded in
CVControlwhen stratification or grouping size leads to construction of fewer than requested folds for cross-validation resampling
- Add argument
.typewith options"glance"and"tidy"tosummary.MLModelFit(). - Add case components data (stratification and grouping variables) to
print.Resample(). - Add class and methods for
ModelSpecification. - Add training parameters set functions
set_monitor(): monitoring of resampling and optimizationset_optim_bayes(): Bayesian optimization with a Gaussian process modelset_optim_bfgs(): low-memory quasi-Newton BFGS optimizationset_optim_grid(): exhaustive and random grid searchesset_optim_method(): user-defined optimization functionsset_optim_pso(): particle swarm optimizationset_optim_sann(): simulated annealing
- Add
performance()method forMLModelto replicate the previous behavior ofsummary.MLModel(). - Add
performance(),plot(), andsummary()methods forTrainingStep. - Add support for unordered plots of
Resampleperformances. - Changes to argument
typeofpredict().- Add option
"default"for model-specific default predictions. - Add option
"numeric"for numeric predictions. - Change option
"prob"to be for probabilities between 0 and 1.
- Add option
- Change
confusion()default behavior to convert factor probabilities to levels. - Rename argument
controltoobjectin set functions. - Rename argument
ftofuninroc_index(). - Return a
ListOftraining step summaries fromsummary.MLModel(). - Return a
TrainingStepobject fromrfe(). - Support tibble-convertible objects as arguments to
expand_params(). - Internal changes
- Add class
EnsembleModel. - Add classes
MLOptimization,GridSearch,NullOptimization,RandomGridSearch, andSequentialOptimization. - Add class
NullControl. - Add slot
controltoPerformanceCurve. - Add slot
methodtoTrainingStep. - Add slot
optimtoTrainingParams. - Add slot
paramstoMLInput. - Inherit class
SelectedModelfromEnsembleModel. - Inherit class
StackedModelfromEnsembleModel. - Inherit class
SuperModelfromStackedModel. - Rename slot
case_compstovarsinResample. - Rename slot
gridtologinTrainingStep.
- Add class
- Fixes
- error predicting single factor response in
GLMModel - 'size(x@performance, 3)' error in
print.TrainingStep() - 'Unmatched tuning parameters' error in
TunedModel()
- error predicting single factor response in
- Fix 'data' argument of wrong type error in
terms.formula(). - Require >= 3.1.0 version of cli package.
- Add argument
distrandmethodtodependence(). - Add function
ParsnipModel()for model specifications (model_spec) from the parsnip package. - Add function
rfe()for recursive feature elimination. - Add method
as.MLModel()formodel_specandModeledInput. - Add support for any model specification whose object has an
as.MLModel()method. - Add support for cross-validation with case groups.
- Add support for names in argument
metricofauc(). - Change argument
methoddefault from"model"to"permute"invarimp(). - Change class
ModelFrameto an S4 class; generally requires explicit conversion to a data frame withas.data.frame()inMLModelfitandpredictfunctions. - Change progress bar display from elapsed to estimated completion time.
- Changes to global settings
- Rename
stat.Trainedtostat.TrainingParams. - Remove
stats.VarImp.
- Rename
- Changes to internal classes
- Add class
ParsnipModel. - Add class
SurvTimes. - Add class
TrainingParams. - Add class union
Grid. - Add class union
Params. - Add column
name,selected, andmetricsto slotgridofTrainingStepclass. - Add slot
gridtoTunedInput. - Add slot
idtoMLInputandMLModelclasses. - Add slot
idandnametoTrainingStepclass. - Add slot
modelstoSelectedModel. - Remove slot
namefromMLControlclasses. - Remove slot
selected,values, andmetricfromTrainingStepclass. - Remove slot
shiftfromVariableImportanceclass. - Rename class
GridtoTuningGrid. - Rename class
ResamplestoResample. - Rename class
TrainSteptoTrainingStep. - Rename class
VarImptoVariableImportance. - Rename classes of
MLControl.MLBootControl→BootControlMLBootOptimismControl→BootOptimismControlMLCVControl→CVControlMLCVOptimismControl→CVOptimismControlMLOOBControl→OOBControlMLSplitControl→SplitControlMLTrainControl→TrainControl
- Rename column
InputandModeltoparamsin slotgridofTrainingStepclass. - Rename column
ResampletoIterationinResampleclass - Rename slot
xtoinputinMLModelclass.
- Add class
- Changes to
XGBModel- Change argument default for
nroundsfrom 1 to 100. - Rearrange constructor arguments.
- Reduce number of tuning grid parameters
- Include
nroundsandmax_depthin automated grids forXGBDARTModelandXGBTreeModel. - Include
nrounds,lambda, andalphain automated grid forXGBLinearModel.
- Include
- Compute survival probabilities for
survival:aftprediction. - Change default survival objective from
survival:coxtosurvival:aft.
- Change argument default for
- Format and condense printout of objects.
- Include all computed performance metrics in
TrainingStepobjects and output. - Remove shift from variable importance scaling in
varimp(). - Rename and redefine dispatch (first) arguments in functions.
model→objectinTunedModel()x→objectinexpand_model()x→formula/input/modelinexpand_modelgrid(),fit(),ModelFrame(),resample(),rfe()methodsx→formula/object/modelinModeledInput()methodsx→objectinParameterGrid()methodsx→controlinset_monitor(),set_predict(),set_strata()x→objectinTunedInput()
- Rename function
Grid()toTuningGrid(). - Reorder optional arguments in
ModelFrame(). - Save model constructor arguments as the list elements in
MLModelparamsslots.
- Add argument
na.rmtodependence(). - Add global setting
stats.VarImpfor summary statistics to compute on permutation-based variable importance. - Add permutation-based variable importance to
varimp(). - Sort variable importance by first column only if not scaled.
- Correct the estimated variances for cross-validation estimators of mean performance difference in
t.test.PerformanceDiff(). - Rename argument
metrictotypeinvarimp()functions forBartMachineModel,C50Model,EarthModel,RFSRCModel, andXGBModel. - Set argument
typedefault to"nsubsets"inEarthModelvarimp(). - Expand case weighted metrics support.
- Fix weights used in survival event-specific metrics.
- Use weights for
cross_entropy()numericmethod. - Use weights for predicted survival probabilities.
- Fix error with argument
finroc_index()Survmethod.
- Add slot
weightstoMLModelclasses. - Allow case weights in
LMModelfor all response types. - Exclude infinite values from calculation of
breaksincalibration(). - Fix invalid
max = Infarguments toprint.default(). - Add support for case weights in performance metrics and curves.
- Evaluate
ModelFrame()argumentsstrataandweightsindataenvironment. - Fix issue introduced in package version 2.9.0 of recipe case weights not being used in model fitting.
- Add column
Weightof case weights toResamplesdata frame. - Rename
valuescolumn toget_valuesinMLModelgridinfoslot. - Move global settings
resample_progressandresample_verbosetoset_monitor()argumentsprogressandverbose. - Move
MLControl()argumentsstrata_breaks,strata_nunique,strata_prop, andstrata_sizetoset_strata()argumentsbreaks,nunique,prop, andsize. - Move
MLControl()argumentstimes,distr, andmethodtoset_predict(). - Export
%>%operator. - Return case stratification values in the 'strata' slot of
Resamplesobjects.
- Rename tibble column
regulartodefaultinMLModelgridinfo slot. - Redefine
sizeandrandomarguments ofParameterGrid()to match those ofGrid(). - Revise selection of character values in model grids.
- Select
coeflearnvalues in their defined order instead of at random inAdaBoostModel. - Select
kernelsvalues in their defined order instead of at random inKNNModel. - Add survival
splitrulemethods inRangerModel. - Select
splitrulevalues in their defined order instead of at random inRangerModel.
- Select
- Revise global settings names.
- Rename
max.printtoprint_max. - Rename
progress.resampletoresample_progress. - Rename
stat.traintostat.Trained. - Rename
dist.Survtodistr.SurvMeans. - Rename
dist.SurvProbstodistr.SurvProbs.
- Rename
- Implement customized stratification methods for resampling.
- Stratify survival data by time within event status by default instead of by event status only.
- Add
strata_breaks,strata_nunique,strata_propandstrata_sizearguments toMLControl()constructor. - Reduce
strata_breaksif numeric quantile bins are belowstrata_propandstrata_size. - Pool smallest factor levels below
strata_propandstrata_sizeiteratively. - Pool smallest adjacent ordered levels below
strata_propandstrata_sizeiteratively.
- Remove deprecated
lengtharguments fromGrid()andParameterGrid(). - Drop compatibility with deprecated
gridinfofunctions inMLModel(). - New and improved survival analysis methods.
- Add support for counting process survival data.
- Use model weights in estimation of predicted baseline survival curves.
- Change censoring curve estimation method from direct to cumulative hazard-based in the
brier()metric. - Improve computational speed of survival curve estimation.
- Remove
"fleming-harrington"as a choice for themethodargument ofpredict()and for themethod.EmpiricalSurvglobal setting, because it is a special case of the existing (default)"efron"choice and thus not needed. - Add
"rayleigh"choice for thedistr.Survanddistr.SurvProbsglobal settings.
- Rename
distargument todistrincalibration(),MLControl(),predict(), andr2(). - Return survival distribution name with predicted values.
- Add
distrargument toSurvEvents()andSurvProbs(). - Add
SurvMeansclass. - Return predicted mean survival times as
SurvMeansobject. - Default to the distribution used in predicting mean survival times in
calibration()andr2().
- Add
- Rename
"terms"predictor_encoding to"model.frame"inMLModelclass. - Pass elliptical arguments in
performance()response type-specific methods tometricssupplied as a singleMLMetricfunction.
- Replace
get_grid()withexpand_modelgrid(). - Fix for truncated grid of lambda values in
GLMNetModel. - Support package version constraints in
MLModel.
- Rename
traininfoslot totrain_stepsinMLModelclasses. - Issue #4: compatibility fix for recipes package change in behavior of the
retainargument inprep().
- Sort randomly sampled grid points.
- Change
fixedargument defaultNULLtolist()inTunedModel(). - CRAN release.
- Rename
lengthargument tosizeinGrid()andParameterGrid(). - Add support for named sizes in
ParameterGrid(). - Revise model tuning grids.
- Replace
gridslot withgridinfoinMLModelclasses. - Add support for size vectors in
Grid(). - Add
get_grid()function to extract model-defined tuning grids.
- Replace
- Rename
trainbitsslot totraininfoinMLModelclasses.
- Doc edits: do not test examples requiring suggested packages.
- CRAN release.
- Preprocess data for automated grid construction only when needed.
- Select
RPartModelcpgrid points fromcptableaccording to smallest cross-validation error (mean plus one standard deviation). - CRAN release.
- Export
Performancediff()method.
- Implement fast random forest model
RFSRCModel. - Export
unMLModelFit()function to revert anMLModelFitobject to its original class.
- Add
optionsargument tostep_lincomp()andstep_sbf(). - CRAN release.
- Add recipe
step_sbf()function for variable selection by filtering. - Inherit
step_kmedoidsobjects fromstep_sbf, and refactor methods.- Support user-specified center and scale functions.
- Append prefix to selected variable names.
- Rename
tidy()columnmedoidstoselected. - Rename
tidy()columnnamestoname. - Set
tidy()non-selected variable names toNA.
- Add recipe
step_lincomp()function for linear components variable reduction. - Inherit
step_kmeansobjects fromstep_lincomp, and refactor methods.- Support user-specified center and scale functions.
- Rename
tidy()columnnamestoname.
- Inherit
step_spcaobjects fromstep_lincomp, and refactor methods.- Support user-specified center and scale functions.
- Rename
tidy()columnvaluetoweight. - Rename
tidy()columncomponenttoname.
- Set
GBMModeldistribution to bernoulli, instead of multinomial, for binary responses.
- Add global setting
RHS.formulafor listing of operators and functions allowed on right-hand side of traditional formulas. - Add clara clustering method to
step_kmedoids(). - Support Cox and accelerated failure time regression for survival responses in
XGBModel,XGBDARTModel,XGBLinearModel, andXGBTreeModel.
- Set
NNetModellinoutargument automatically according to the response variable type (numeric:TRUE, other:FALSE). Previously,linouthad a default value ofFALSEas defined in thennetpackage.
- CRAN release.
- Display progress bars for sequential resampling iterations.
- R 4.0 data.frame compatibility updates for calibration curves.
- Fix recipe prediction with StackedModel and SuperModel
- Display progress messages for any foreach parallel backend.
- Show all error messages when resample selection stops.
- Preserve predictor names in
NNetModelfit()method. - Fix aggregation of performance curves with infinite values.
- Add progress bar and verbose output options for
resample()methods. - Get non-negative probabilities for survival confusion matrix.
- Update Using webpages and vignette.
- Fix
BARTMachineModelto predict highest binary response level. - Grid tune
BARTMachineModelnuparameter for numeric responses only.
- Extend
ModeledInput()toSelectedModelFrame,SelectedModelRecipe, andTunedModelRecipe.
- Fix updating of recipe parameters in
TunedInput().
- Print
StackedModelandSuperModeltraining information. - Fix missing case names when resampling with recipes.
- CRAN release.
- Add cost-complexity pruning parameters to
TreeModel. - Perform stratified resampling automatically for
ModeledInput()andSelectedInput()objects constructed with formulas and matrices.
- Revisions needed to some
fit()methods to ensure that unprepped recipes are passed to models, likeTunedModed,StackedModel,SelectedModelandSuperModel, needing to replicate preprocessing steps in their resampling routines. - Extend
GLMModelto factor and matrix responses. - Use
funinstead of deprecatedfun.yin ggplot2 functions. - Capture user-supplied parameters passed in to the ellipsis of model constructor functions that have them.
- Compatibility fix for tibble 3.0.0.
- Include missing values in model matrices created internally from formulas.
- Improve specificity of
metricinfo()results for factor responses. - Correct
SplitControl()to train on the split sample instead of the full dataset. - Perform stratified resampling automatically when
fit()formula and matrix methods are called with meta-models.
- CRAN release.
- Extend
print()argumentnto data frame and matrix columns for more concise display of large data structures. - Add preprocessing recipe functions
step_kmeans(),step_kmedoids(), andstep_spca().
- Internal changes:
- Remove
MLModelsloty. - Rename
ModelFrameandModelRecipecolumns(casenames)to(names). - Register
ModelFrameinheritance fromdata.frame. - Define
TermsS4 classes forModelFrameslotterms.
- Remove
- Implement
ModeledInput,SelectedInputandTunedInputclasses and methods. - Deprecate
SelectedFormula(),SelectedMatrix(),SelectedModelFrame(),SelectedRecipe(), andTunedRecipe(). - Remove deprecated
tune(). - Rename global setting
stat.Curvestostat.Curve.
- Rename global setting
stat.Traintostat.train. - Add print methods for
SelectedModel,StackedModel,SuperModel, andTunedModel. - Revise training methods to ensure nested resampling of
SelectedRecipeandTunedRecipe. - Return list of all training steps in
MLModeltrainbitsslot.
- Rename global setting
stat.Tunetostat.Train. - Enable selection of formulas, design matrices, and model frames with
SelectedFormula(),SelectedMatrix(), andSelectedModelFrame(). - Rename discrete variable classes:
BinomialMatrix→BinomialVariate,DiscreteVector→DiscreteVariate,NegBinomialVector→NegBinomialVariate, andPoissonVector→PoissonVariate. - Add global setting
requirefor user-specified packages to load during parallel execution of resampling algorithms. - Rename recipe role
case_stratatocase_stratum. - Rename
objectargument todatainConfusionMatrix(),SurvEvents(), andSurvProbs(). - Add
cmethods forBinomialVariate,DiscreteVariate,ListOf, andSurvMatrix. - Add
role_binom(),role_case(),role_surv(), androle_term()to set recipe roles. - Support
baseargument tovarimp()for log-transformed p-values. - Rename
ParamSettoParameterGrid. - Add option to
resetglobal settings individually. - Add
as.data.framemethods forPerformance,Performancesummary,PerformanceDiff,PerformanceDiffTest, andResamples.
- Implement
DiscreteVectorclass and subclassesBinomialVector,NegBinomialVector, andPoissonVectorfor discrete response variables. - Extend model support to
DiscreteVectorclasses as follows.DiscreteVector: all models applicable to numeric responses.BinomialVector/NegBinomialVector/PoissonVector:BlackBoostModel,GAMBoostModel,GLMBoostModel,GLMModel, andGLMStepAICModel.BinomialVector/PoissonVector:GLMNetModel.PoissonVector:GBMModelandXGBModel
- Add support for offset terms in formulas, model matrices, and recipes.
- Add recipe tune information to fitted
MLModel. - Replace
Calibration(),Confusion(),Curves(),Lift(), andResamples()withcmethods. - Redefine
ConfusionS3 class asConfusionListS4 class. - Remove support for one-element list to
metricinfo()andmodelinfo(). - Remove deprecated
expand.model(). - Expire deprecated
tune().
- Calculate regression variable importance as negative log p-values.
- Support empty vectors in
metricinfo()andmodelinfo(). - Add support for dials package parameter sets with
ParamSet().
- Add
as.MLModel()for coercingMLModelFittoMLModel. - Deprecate
tune(); callfit()with aSelectedModelorTunedModelinstead.
- Implement optimism-corrected cross-validation (
CVOptimismControl). - Fix
BootOptimismControlerror with 2D responses. - Add global option
max.printfor the number of models and data frame rows to show with print methods. - Enable recipe selection with
SelectedRecipe(). - Refactor
tune()methods. - Replace
MLModelFitelementfitbits(MLFitBitsobject) withmlmodel(MLModelobject). - Rename
VarImpslotcentertoshift.
- Use tibbles for parameter grids.
- Add random sampling option to
expand_model(),expand_params(), andexpand_steps(). - Display information for model functions and objects more compactly.
- Add global setting for default cutoff threshold value.
- Add option to reset all global settings.
- Enable recipe tuning with
TunedRecipe(). - Add
expand_model()for model expansion over tuning parameters. - Add
expand_params()for model parameters expansion. - Add
expand_steps()for recipe step parameters expansion. - Implement
MLModelFunctionandMLModelListclasses. - Add fit methods for
MLModel,MLModelFunction, andMLModelList. - Fix
NNetModelfit error with binary and factor responses. - Fix
modelinfo()function not found error.
- Implement exception handling of
tune()resampling failures. - Remove deprecated
typesanddesignarguments fromMLModel().
- Implement global settings for default resampling control, performance metrics, summary statistics, and tuning grid.
- Support vector arguments in
metricinfo()andmodelinfo(). - Update package documentation.
- Implement model:
SelectedModel. - Remove
maximizeargument fromtune()andTunedModel. - Support lists as arguments to
StackedModel()andSuperModel.
- Revert renaming of
expand.model(). - Exclude 0 distance from
KNNModeltuning grid. - Improve random tuning grid coverage.
- Implement model:
TunedModel. - Remove deprecated
na.actionargument fromModelFramemethods. - Rename
MLModel()argumenttypestoresponse_types. - Rename
MLModel()argumentdesigntopredictor_encoding. - Rename
expand.model()toexpand_model().
- CRAN release.
- Implement optimism-corrected bootstrap resampling (
BootOptimismControl). - Store case names in
ModelFrameandModelRecipeand save toResamples.
- Add
BinaryConfusionMatrixandOrderedConfusionMatrixclasses. - Export
ConfusionMatrixconstructor. - Extend
metricinfo()to confusion matrices. - Refactor performance metrics methods code.
- Check and convert ordered factors in response methods.
- Check consistency of extracted variables in response methods.
- Add metrics methods for
Resamples.
- Improve compatibility with preprocessing recipes.
- Allow base math functions and operators in
ModelFrameformulas.
- Save
ModelFrameresponse in first column. - Unexport
responseformula method. - Add
ICHomesdataset. - Add
centerandscaleslot toVarImp.
- Prohibit in-line functions in
ModelFrameformulas. - Rename
responsefunction argument fromdatatonewdata.
- Add
fit,resample, andtunemethods for design matrices. - Reduce computational overhead for design matrices and recipes.
- Rename
ModelFrame()argumentna.actiontona.rm.
- Implement parametric (
"exponential","rayleigh","weibull") estimation of baseline survival functions. - Set
"weibull"as the default distribution for survival mean estimation. - Add extract method for
Resamples. - Add
na.rmargument tocalibration(),confusion(),performance(), andperformance_curve(). - Add loess
spanargument tocalibration(). - Change
SurvMatrixfrom S4 to S3 class.
- Add
methodoption topredict()for Breslow, Efron (default), or Fleming-Harrington estimation of survival curves for Cox proportional hazards-based models. - Add
distoption topredict()for exponential or Weibull approximation to estimated survival curves. - Add
distoption tocalibration()for distributional estimation of observed mean survival. - Add
distoption tor2()for distributional estimation of the total sum of squares mean. - Handle unnamed arguments in
metricinfo()andmodelinfo().
- Implement metrics:
auc,fnr,fpr,rpp,tnr,tpr. - Implement performance curves, including ROC and precision recall.
- Implement
SurvMatrixclasses for predicted survival events and probabilities to eliminate need for separatetimesarguments in calibration, confusion, metrics, and performance functions. - Add calibration curves for predicted survival means.
- Add lift curves for predicted survival probabilities.
- Add recipe support for survival and matrix outcomes.
- Rename
MLControlargumentsurv_timestotimes. - Fix identification of recipe
case_weightandcase_stratavariables. - Launch package website.
- Bring Introduction vignette up to date with package features.
- Implement model:
BARTModel. - Implement model tuning over automatically generated grids of parameter values and random sampling of grid points.
- Add metrics for predicted survival times:
accuracy,f_score,kappa2,npv,ppv,pr_auc,precision,recall,roc_index,sensitivity,specificity - Add metrics for predicted survival means:
cindex,gini,mae,mse,msle,r2,rmse,rmsle. - Add
performanceand metric methods forConfusionMatrix. - Add confusion matrices for predicted survival times.
- Standardize predict functions to return mean survival when times are not specified.
- Replace
MLModelslot and constructor argumentnvarswithdesign.
- Implement models:
BARTMachineModel,LARSModel. - Implement performance metrics:
gini, multi-classpr_aucandroc_auc, multivariatermse,msle,rmsle. - Implement smooth calibration curves.
- Implement
MLMetricclass for performance metrics. - Add
as.data.framemethod forModelFrame. - Add
expand.modelfunction. - Add
labelslot toMLModel. - Expand
metricinfo/modelinfosupport for mixed argument types. - Rename
calibrationargumentntobreaks. - Rename
modelmetricsfunction toperformance. - Rename
ModelMetrics/Diffclasses toPerformance/Diff. - Change
MLModelTuneslotresamplestoperformance.
- Implement models:
AdaBagModel,AdaBoostModel,BlackBoostModel,EarthModel,FDAModel,GAMBoostModel,GLMBoostModel,MDAModel,NaiveBayesModel,PDAModel,RangerModel,RPartModel,TreeModel - Implement user-specified performance metrics in
modelmetricsfunction. - Implement metrics:
accuracy,brier,cindex,cross_entropy,f_score,kappa2,mae,mse,npv,ppv,pr_auc,precision,r2,recall,roc_auc,roc_index,sensitivity,specificity,weighted_kappa2. - Add
cutoffargument toconfusionfunction. - Add
modelinfoandmetricinfofunctions. - Add
modelmetricsmethod forResamples. - Add
ModelMetricsclass withprintandsummarymethods. - Add
responsemethod forrecipe. - Export
Calibrationconstructor. - Export
Confusionconstructor. - Export
Liftconstructor. - Extend
calibrationarguments to observed and predicted responses. - Extend
confusionarguments to observed and predicted responses. - Extend
liftarguments to observed and predicted responses. - Extend
metricsandstatsfunction arguments to accept function names. - Extend
Resamplesto arguments with multiple models. - Change
CoxModel,GLMModel, andSurvRegModelconstructor definitions so that model control parameters are specified directly instead of with a separatecontrolargument/structure. - Change
predict(..., times = numeric())function calls to survival model fits to return predicted values in the same direction as survival times. - Change
predict(..., times = numeric())function calls toCForestModelfits to return predicted means instead of medians. - Change
tunefunction argumentmetricsto be defined in terms of a user-specified metric or metrics. - Deprecate MLControl arguments
cutoff,cutoff_index,na.rm, andsummary.
- Implement linear models (
LMModel), linear discriminant analysis (LDAModel), and quadratic discriminant analysis (QDAModel). - Implement confusion matrices.
- Support matrix response variables.
- Support user-specified stratification variables for resampling via the
strataargument ofModelFrameor the role of"case_strata"for recipe variables. - Support user-specified case weights for model fitting via the role of
"case_weight"for recipe variables. - Provide fallback for models with undefined variable importance.
- Update the importing of
prepperdue to its relocation fromrsampletorecipes.
- Implement partial dependence, calibration, and lift estimation and plotting.
- Implement k-nearest neighbors model (
KNNModel), stacked regression models (StackedModel), super learner models (SuperModel), and extreme gradient boosting (XGBModel). - Implement resampling constructors for training resubstitution (
TrainControl) and split training and test sets (SplitControl). - Implement
ModelFrameclass for general model formula and dataset specification. - Add multi-class Brier score to
modelmetrics(). - Extend
predict()to automatically preprocess recipes and to use training data as thenewdatadefault. - Extend
tune()to lists of models. - Extent
summary()argumentstatsto functions. - Fix survival probability calculations in
GBMModelandGLMNetModel. - Change
MLControlargumentna.rmdefault fromFALSEtoTRUE. - Removed
na.rmargument frommodelmetrics().
- Initial public release