leaf_scores {vistla}R Documentation

Extract leaf scores of vertex pairs

Description

Produces a matrix S where S_{ij} is a score of the path ending in vertices i and j. Since vistla works on vertex pairs, this value is unique. This can be interpreted as a feature similarity matrix in context of the current vistla root.

Usage

leaf_scores(x)

Arguments

x

vistla object.

Value

A square matrix with leaf scores of all feature pairs.

Note

This function should be called on an unpruned vistla tree, otherwise the result will be mostly composed of zeroes.


[Package vistla version 2.0.2 Index]