| VT.forest.fold {aVirtualTwins} | R Documentation |
Difft via k random forests
Description
A reference class to compute twins via k random forest
Details
VT.forest.fold extends VT.forest
Twins are estimated by k-fold cross validation. A forest is computed on k-1/k of the data and then used to estimate twin1 and twin2 on 1/k of the left data.
Fields
interactionslogical set TRUE if model has been computed with interactions
foldnumeric, number of fold, i.e. number of forest (k)
rationumeric experimental, use to balance sampsize. Defaut to 1.
groupsvector Define which observations belong to which group
...field from parent class :
VT.forest
Methods
run()Compute twin1 and twin2 estimation. Switch treatment if necessary.
See Also
VT.difft, VT.forest,
VT.forest.one, VT.forest.double
[Package aVirtualTwins version 1.0.1 Index]