ordinalForest
2.4-4Ordinal Forests: Prediction and Variable Ranking with Ordinal Target Variables
Overview
The ordinal forest (OF) method allows ordinal regression with high-dimensional and low-dimensional data. After having constructed an OF prediction rule using a training dataset, it can be used to predict the values of the ordinal target variable for new observations. Moreover, by means of the (permutation-based) variable importance measure of OF, it is also possible to rank the covariates with respect to their importance in the prediction of the values of the ordinal target variable. OF is presented in Hornung (2020). NOTE: Starting with package version 2.4, it is also possible to obtain class probability predictions in addition to the class point predictions. Moreover, the variable importance values can also be based on the class probability predictions. Preliminary results indicate that this might lead to a better discrimination between influential and non-influential covariates. The main functions of the package are: ordfor() (construction of OF) and predict.ordfor() (prediction of the target variable values of new observations). References: Hornung R. (2020) Ordinal Forests. Journal of Classification 37, 4–17. doi:10.1007/s00357-018-9302-x.
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2212 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 20%
- Documented parameters
- 100%
- Return-value docs
- 50%
- References docs
- 100%
Downloads
Dependencies
Code & Tests
- Cyclomatic complexity
- 1.0 median / 100 max
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
233 5 exported
Complexity
12.1 avg / 100 max
Call network
233 nodes / 148 edges
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| hearth | data.frame | 294 × 11 | – |
People & History
11 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.4-4Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.4-32022-11-30 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.4-22021-06-25 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.4-12020-07-22 · diff ↗
- unarchivedReturned to CRAN2020-07-22
- archivedRemoved from CRAN2020-07-20with serious memory-access errors
- 2.42020-07-13 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 2.3-12019-02-06 · diff ↗
Package metadata
- First published
- 2017-04-13
- Total releases
- 11 / 9 yrs
- License
- GPL-2 OSI
- Bundled data
- 3.7 KB / 1 file
- Download size
- 85 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet