Learn R Programming

MachineShop (version 3.8.0)

inputs: Model Inputs

Description

Model inputs are the predictor and response variables whose relationship is determined by a model fit. Input specifications supported by MachineShop are summarized in the table below.

formulaTraditional model formula
matrixDesign matrix of predictors
ModelFrameModel frame
ModelSpecificationModel specification
recipePreprocessing recipe roles and steps

Response variable types in the input specifications are defined by the user with the functions and recipe roles:

Response FunctionsBinomialVariate
DiscreteVariate
factor
matrix
NegBinomialVariate
numeric
ordered
PoissonVariate
Surv
Recipe Rolesrole_binom
role_surv

Inputs may be combined, selected, or tuned with the following meta-input functions.

ModelSpecificationModel specification
SelectedInputInput selection from a candidate set
TunedInputInput tuning over a parameter grid

Arguments

See Also

fit, resample