Description Usage Format Usage Methods References

This class uses the proximity matrix of the random survival forest algorithm as a similarity matrix (sqrt(1 - proximity matrix)) of learning and verum cases. By default all cases with at least one missing values are dropped from learning, calculating the distance matrix, and searching for similar cases.

1 |

`R6Class`

object

For usage details see **Methods, Arguments, and Examples** sections.

`new(formula, ...)`

This method is used to create an object of this class

`RFModel`

. Formula for analysis has to be provided. Further parameters for the ranger call can be provided here.`fit(dtData)`

Fits the RandomForest model.

`set_dist(method)`

Set the proximity measure, 'Depth' (Default) and 'Proximity' are allowed.

- ...
See CBRBase class.

Englund and Verikas. A novel approach to estimate proximity in a random forest: An exploratory study.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.