RunPredictLeaf: Calculate similarity using a single tree.

Description Usage Arguments Value

View source: R/RunPredictLeaf.R

Description

This is the base function called by ComputeSimilarity.

Usage

1
RunPredictLeaf(X, tree)

Arguments

X

an n sample by d feature matrix (preferable) or data frame which was used to train the provided forest.

tree

a tree from a forest returned by RerF.

Value

similarity based on one tree


rerf documentation built on May 2, 2019, 8:16 a.m.