llm: Create Logit Leaf Model

Description Usage Arguments Value

Description

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.

Usage

1
llm(df, y_value, threshold_pruning, nbr_obs_leaf)

Arguments

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

Value

a LLM object containing decision rules that define segments and logistic regressions per segment


arnodc2/LLM documentation built on May 17, 2019, 1:35 p.m.