Class glmtree represents a logistic regression tree scheme associated with its optimal logistic regression models.
Usage
# S4 method for class 'glmtree'
show(object)
# S4 method for class 'glmtree'
print(x, ...)Slots
parametersThe parameters associated with the method.
best.treeThe best tree found by the method given its parameters:
tree(thepartykit::ctreegiving the segment of an observation,NULLif the chain collapsed to a single segment),glms(the logistic regression of each segment, a named list ofglmobjects) and the elements needed to predict on new data.performanceThe performance obtained with the method given its parameters:
performance(the criterion of the best iteration, computed on the test set if there is one),criterionEvolution(the criterion at each iteration) andbest_iteration.