Description Usage Arguments Value
This function creates the logit leaf model. It assumes a dataframe with numeric values as input and a corresponding vector with dependent values. Decision tree parameters threshold for pruning and number of observations per leaf can be set.
1 |
df |
dataframe containing numerical independent variables |
y_value |
numerical vector of dependent variable. Currently only two class classification is supported |
threshold_pruning |
threshold for impurity |
nbr_obs_leaf |
the minimum number of observations in a leaf node |
a LLM object containing decision rules that define segments and logistic regressions per segment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.