Description Usage Arguments Details Value
BestForestSplit
searches through possible variables in order to find the most accurate split.
It returns the variable chosen, the model, and the two sets of fitted values where both 0 or 1 are considered a "success."
1 2 |
response |
Logical vector of 0 and 1 denoting the binomial response. |
data |
A data frame or matrix consisting of all possible variables to attempt. |
num.features |
A numeric of the number of variables in the dataset to possibly try. The leftmost number of variables in the dataset are the variables chosen. |
ntry |
A numeric of the number of variables from the |
weights |
A vector of weights for use in Weighted Least Squares. Defaults to a vector of 1. |
BestForestSplit
searches through possible variables to split using single variable logistic regression
with prior weights in the iteratively reweighted least squares procedure. The variable minimizing residual deviance is chosen. Note, this is a valid choice
since all models being compared are using the same Null Model containing only the intercept with equal weights.
List of elements
Feature |
Returns the variable chosen for best split. |
fit |
A |
weights0 |
A vector of the weights if response |
weights1 |
A vector of the weights if response |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.