gpav.over.examples: GPAV over examples

Description Usage Arguments Value See Also Examples

View source: R/gpav.R

Description

Compute GPAV across all the examples.

Usage

1

Arguments

S

a named flat scores matrix with examples on rows and classes on columns (root node included).

g

a graph of class graphNEL. It represents the hierarchy of the classes.

W

vector of weight relative to a single example. If W=NULL (def.) it is assumed that W is a unitary vector of the same length of the columns' number of the matrix S (root node included).

Value

A named matrix with the scores of the classes corrected according to the GPAV algorithm.

See Also

gpav.parallel

Examples

1
2
3
data(graph);
data(scores);
S.gpav <- gpav.over.examples(S,W=NULL,g);

Example output

HEMDAG: Hierarchical Ensemble Methods for DAG-structured taxonomies
Please cite HEMDAG if you use it: see citation('HEMDAG') for details

HEMDAG documentation built on Feb. 12, 2021, 5:13 p.m.