Description Usage Arguments Value See Also
sg.bern.subgraph_classifier
classifies arbitrary data given the estimators of a subgraph.
1 | sg.bern.subgraph_classifier(test, edges, p, pi, classes)
|
test |
the test array to generate labels for. - if test is a list, then it should have s elements of dimensions [n x n]. - if test is an array, then it should be of dimensions [n x n x s]. |
p |
[n x n x c] the probability per edge of being connected per class for c classes. |
pi |
[c] the pi vector probability of each class occuring. |
classes |
the labels for the classes as ordered in the pi and p arrays. |
edges [e] the edges present in the subgraph.
Yhat [s] the predicted class for each test example.
sg.bern.compute_graph_statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.