Description Objects from the Class Slots Extends Methods Author(s) See Also

These base learner configuration objects contain tuning parameters needed for training base learner algorithms. Names are identical to those used in implementation packages. See documentation for those packages for detailed definitions.

These objects are typically constructed via calls to `make.configs`

and `make.instances`

.

For `KNN.Regression.Config`

:

`kernel`

:Object of class

`"character"`

, defining the weighting function applied to neighbors as a function of distance from target point. Options include "rectangular", "epanechnikov", "triweight", and "gaussian".`k`

:Object of class

`"numeric"`

, defining the number of nearest neighbors to include in prediction for each target point.

For `NNET.Regression.Config`

:

`decay`

:Object of class

`"numeric"`

, defining the weight decay parameter.`size`

:Object of class

`"numeric"`

, defining the number of hidden-layer neurons.`maxit`

:Object of class

`"numeric"`

, defining the maximum number of iterations in the training.

For `RF.Regression.Config`

:

`ntree`

:Object of class

`"numeric"`

, defining the number of trees in the random forest.`nodesize`

:Object of class

`"numeric"`

, defining the minimum size of terminal nodes.`mtry.mult`

:Object of class

`"numeric"`

, defining the multiplier of the default value for`mtry`

parameter in the`randomForest`

function call.

For `SVM.Regression.Config`

:

`cost`

:Object of class

`"numeric"`

, defining the cost of constraint violation.`epsilon`

:Object of class

`"numeric"`

, the parameter of insensitive-loss function.`kernel`

:Object of class

`"character"`

, the kernel used in SVM training and prediction. Options include "linear", "polynomial", "radial", and "sigmoid".

For `GBM.Regression.Config`

:

`n.trees`

:Object of class

`"numeric"`

, defining the number of trees to fit.`interaction.depth`

:Object of class

`"numeric"`

, defining th maximum depth of variable interactions.- codeshrinkage:
Object of class

`"numeric"`

, defining the shrinkage parameter applied to each tree in expansion.`bag.fraction`

:Object of class

`"numeric"`

, defining the fraction of training set observations randomly selected to propose the next tree in the expansion.

For `PENREG.Regression.Config`

:

`alpha`

:Object of class

`"numeric"`

, defining the mix of L1 and L2 penalty. Must be between 0.0 and 1.0.`lambda`

:Object of class

`"numeric"`

, defining the shrinkage parameter. Must be non-negative.

For `BART.Regression.Config`

:

`num_trees`

:Object of class

`"numeric"`

, defining the number of trees to be grown in the sum-of-trees model. Must be a positive integer.`k`

:Object of class

`"numeric"`

, controlling the degree of shrinkage and hence conservativeness of the fit. Must be positive.`q`

:Object of class

`"numeric"`

, defining quantile of the prior on the error variance at which the data-based estimate is placed. Higher values of this parameter lead to a more aggressive fit.`nu`

:Object of class

`"numeric"`

, defining degrees of freedom for the inverse chi-squared prior. Must be a positive integer.

Class `"Regression.Config"`

, directly.
Class `"BaseLearner.Config"`

, by class "Regression.Config", distance 2.

- BaseLearner.Fit
`signature(object = "KNN.Regression.Config")`

: ...- BaseLearner.Fit
`signature(object = "NNET.Regression.Config")`

: ...- BaseLearner.Fit
`signature(object = "RF.Regression.Config")`

: ...- BaseLearner.Fit
`signature(object = "SVM.Regression.Config")`

: ...- BaseLearner.Fit
`signature(object = "GBM.Regression.Config")`

: ...- BaseLearner.Fit
`signature(object = "PENREG.Regression.Config")`

: ...- BaseLearner.Fit
`signature(object = "BART.Regression.Config")`

: ...

Alireza S. Mahani, Mansour T.A. Sharabiani

`make.configs`

, `make.instances`

, `make.configs.knn.regression`

, `make.configs.nnet.regression`

, `make.configs.rf.regression`

, `make.configs.svm.regression`

, `make.configs.gbm.regression`

, `"Regression.Config"`

, `"BaseLearner.Config"`

EnsembleBase documentation built on May 20, 2017, 2:57 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.