1
0
Fork 0
mirror of https://github.com/prise6/aVirtualTwins.git synced 2024-05-02 19:53:09 +02:00
aVirtualTwins/man/VT.forest.fold.Rd

42 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-10-09 02:43:51 +02:00
% Generated by roxygen2: do not edit by hand
2015-06-10 16:48:18 +02:00
% Please edit documentation in R/forest.fold.R
\docType{class}
\name{VT.forest.fold}
\alias{VT.forest.fold}
\title{Difft via k random forests}
\description{
A reference class to compute twins via k random forest
}
\details{
\code{VT.forest.fold} extends \code{VT.forest}
Twins are estimated by k-fold cross validation. A forest is computed on k-1/k
2016-10-09 02:43:51 +02:00
of the data and then used to estimate twin1 and twin2 on 1/k of the left
2015-06-10 16:48:18 +02:00
data.
}
\section{Fields}{
\describe{
2016-10-09 02:43:51 +02:00
\item{\code{interactions}}{logical set TRUE if model has been computed with
2015-06-10 16:48:18 +02:00
interactions}
\item{\code{fold}}{numeric, number of fold, i.e. number of forest (k)}
\item{\code{ratio}}{numeric experimental, use to balance sampsize. Defaut to 1.}
\item{\code{groups}}{vector Define which observations belong to which group}
2015-06-12 00:34:25 +02:00
\item{\code{...}}{field from parent class : \code{\link{VT.forest}}}
2015-06-10 16:48:18 +02:00
}}
2015-06-10 16:48:18 +02:00
\section{Methods}{
\describe{
2015-06-11 09:32:10 +02:00
\item{\code{run()}}{Compute twin1 and twin2 estimation. Switch treatment if necessary.}
2015-06-10 16:48:18 +02:00
}}
2015-06-10 16:48:18 +02:00
\seealso{
2016-10-09 02:43:51 +02:00
\code{\link{VT.difft}}, \code{\link{VT.forest}},
2015-06-10 16:48:18 +02:00
\code{\link{VT.forest.one}}, \code{\link{VT.forest.double}}
}