MCPcopy
hub / github.com/THUDM/CogDL / test_spectral_cora

Function test_spectral_cora

tests/tasks/test_attributed_graph_clustering.py:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53
54
55def test_spectral_cora():
56 args = get_default_args_agc(dataset="cora", model="prone", mw="agc_mw", dw="node_classification_dw")
57 args.model_type = "content"
58 args.cluster_method = "spectral"
59 ret = train(args)
60 assert ret["nmi"] >= 0
61
62
63def test_prone_cora():

Calls 2

trainFunction · 0.90
get_default_args_agcFunction · 0.85

Tested by

no test coverage detected