Skip to content
Snippets Groups Projects
Unverified Commit 18380e7f authored by StephanSeifert's avatar StephanSeifert Committed by GitHub
Browse files

Merge branch 'master' into SMD_0.1.9

parents b3cb6bf2 b3f613f8
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,12 @@ ...@@ -4,9 +4,12 @@
\alias{var.select.md} \alias{var.select.md}
\title{Variable selection with Minimal Depth (MD)} \title{Variable selection with Minimal Depth (MD)}
\usage{ \usage{
var.select.md(x = NULL, y = NULL, ntree = 500, type = "regression", var.select.md(x = NULL, y = NULL, ntree = 500, type = "regression",
mtry = NULL, min.node.size = 1, num.threads = NULL, status = NULL, mtry = NULL, min.node.size = 1, num.threads = NULL, status = NULL,
save.ranger = FALSE, create.forest = TRUE, forest = NULL) save.ranger = FALSE, create.forest = TRUE, forest = NULL)
} }
\arguments{ \arguments{
\item{x}{matrix or data.frame of predictor variables with variables in \item{x}{matrix or data.frame of predictor variables with variables in
...@@ -32,6 +35,7 @@ classification mode is used). For survival forests this is the time variable.} ...@@ -32,6 +35,7 @@ classification mode is used). For survival forests this is the time variable.}
\item{create.forest}{set FALSE if you want to analyze an existing forest. Default is TRUE.} \item{create.forest}{set FALSE if you want to analyze an existing forest. Default is TRUE.}
\item{forest}{the random forest that should be analyzed if create.forest is set to FALSE. (x and y still have to be given to obtain variable names)} \item{forest}{the random forest that should be analyzed if create.forest is set to FALSE. (x and y still have to be given to obtain variable names)}
} }
\value{ \value{
List with the following components: List with the following components:
......
...@@ -4,10 +4,12 @@ ...@@ -4,10 +4,12 @@
\alias{var.select.smd} \alias{var.select.smd}
\title{Variable selection with Surrogate Minimal Depth (SMD) (MAIN FUNCTION)} \title{Variable selection with Surrogate Minimal Depth (SMD) (MAIN FUNCTION)}
\usage{ \usage{
var.select.smd(x = NULL, y = NULL, ntree = 500, type = "regression", var.select.smd(x = NULL, y = NULL, ntree = 500, type = "regression",
s = NULL, mtry = NULL, min.node.size = 1, num.threads = NULL, s = NULL, mtry = NULL, min.node.size = 1, num.threads = NULL,
status = NULL, save.ranger = FALSE, create.forest = TRUE, status = NULL, save.ranger = FALSE, create.forest = TRUE,
forest = NULL) forest = NULL)
} }
\arguments{ \arguments{
\item{x}{matrix or data.frame of predictor variables with variables in \item{x}{matrix or data.frame of predictor variables with variables in
...@@ -26,7 +28,7 @@ classification mode is used). For survival forests this is the time variable.} ...@@ -26,7 +28,7 @@ classification mode is used). For survival forests this is the time variable.}
\item{min.node.size}{minimal node size. Default is 1.} \item{min.node.size}{minimal node size. Default is 1.}
\item{num.threads}{number of threads used for parallel execution. Default is number of CPUs available.} \item{num.threads}{Number of threads used for parallel execution. Default is number of CPUs available.}
\item{status}{status variable, only applicable to survival data. Use 1 for event and 0 for censoring.} \item{status}{status variable, only applicable to survival data. Use 1 for event and 0 for censoring.}
...@@ -35,6 +37,7 @@ classification mode is used). For survival forests this is the time variable.} ...@@ -35,6 +37,7 @@ classification mode is used). For survival forests this is the time variable.}
\item{create.forest}{set FALSE if you want to analyze an existing forest. Default is TRUE.} \item{create.forest}{set FALSE if you want to analyze an existing forest. Default is TRUE.}
\item{forest}{the random forest that should be analyzed if create.forest is set to FALSE. (x and y still have to be given to obtain variable names)} \item{forest}{the random forest that should be analyzed if create.forest is set to FALSE. (x and y still have to be given to obtain variable names)}
} }
\value{ \value{
list with the following components: list with the following components:
...@@ -59,6 +62,8 @@ list with the following components: ...@@ -59,6 +62,8 @@ list with the following components:
} }
\item ranger: ranger object. \item ranger: ranger object.
\item ranger: ranger object
} }
} }
\description{ \description{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment