Classes "KNN.Regression.Config", "NNET.Regression.Config", "RF.Regression.Config", "SVM.Regression.Config", "GBM.Regression.Config", "PENREG.Regression.Config", "BART.Regression.Config"

Share:

Description

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.

Objects from the Class

These objects are typically constructed via calls to make.configs and make.instances.

Slots

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.

Extends

Class "Regression.Config", directly. Class "BaseLearner.Config", by class "Regression.Config", distance 2.

Methods

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"): ...

Author(s)

Alireza S. Mahani, Mansour T.A. Sharabiani

See Also

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"

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.