hatvis.learning.hgnn_classifier#

hatvis.learning.hgnn_classifier(H, X, labels, n_layers=2, C=1.0)[source]#

Simplified HGNN: hgnn_features() + multinomial logistic regression trained on the labeled vertices.

The propagated features are standardized before the regression. Returns the predicted class of every vertex.

Examples using hatvis.learning.hgnn_classifier#

Semi-supervised learning and hyperedge prediction

Semi-supervised learning and hyperedge prediction