Learn R Programming

rpartScore (version 1.0-2)

Classification Trees for Ordinal Responses

Description

Recursive partitioning methods to build classification trees for ordinal responses within the CART framework. Trees are grown using the Generalized Gini impurity function, where the misclassification costs are given by the absolute or squared differences in scores assigned to the categories of the response. Pruning is based on the total misclassification rate or on the total misclassification cost.

Copy Link

Version

Install

install.packages('rpartScore')

Monthly Downloads

512

Version

1.0-2

License

GPL (>= 2)

Maintainer

Giuliano Galimberti

Last Published

May 25th, 2022

Functions in rpartScore (1.0-2)

initScore

Summarizing and visualizing classification trees
rpartScore-package

Classification trees for ordinal responses
splitQuad

Generalized Gini splitting function based on quadratic differences in scores
splitAbs

Generalized Gini splitting function based on absolute differences in scores
rpartScore

Classification trees for ordinal responses
evalMode

Pruning a classification tree using the total misclassification rate
evalMedian

Pruning a classification tree using the total misclassification cost