gpav.parallel {HEMDAG} | R Documentation |
GPAV over examples – parallel implementation
Description
Compute GPAV
across all the examples (parallel implementation).
Usage
gpav.parallel(S, g, W = NULL, ncores = 8)
Arguments
S |
a named flat scores matrix with examples on rows and classes on columns (root node included). |
g |
a graph of class |
W |
vector of weight relative to a single example. If |
ncores |
number of cores to use for parallel execution ( |
Value
A named matrix with the scores of the classes corrected according to the GPAV
algorithm.
Examples
data(graph);
data(scores);
if(Sys.info()['sysname']!="Windows"){
S.gpav <- gpav.parallel(S,W=NULL,g,ncores=2);
}
[Package HEMDAG version 2.7.4 Index]