9560835ca99a832d5c756a8c8e6add2806ba7472,gem/embedding/sdne.py,,,#,257

Before Change


	G = graph_util.loadGraphFromEdgeListTxt(edge_f, directed=False)
	G = G.to_directed()
	res_pre = "results/testKarate"
	print("Num nodes: %d, num edges: %d" % (G.number_of_nodes(), G.number_of_edges()))
	t1 = time()
	embedding = SDNE(d=2, beta=5, alpha=1e-5, nu1=1e-6, nu2=1e-6, K=3, n_units=[50, 15,], rho=0.3, n_iter=50, xeta=0.01, n_batch=500, modelfile=["./intermediate/enc_model.json", "./intermediate/dec_model.json"], weightfile=["./intermediate/enc_weights.hdf5", "./intermediate/dec_weights.hdf5"])
	embedding.learn_embedding(graph=G, edge_f=None, is_weighted=True, no_python=True)
	print("SDNE:\n\tTraining time: %f" % (time() - t1))

After Change


    // load Zachary"s Karate graph
    edge_f = "data/karate.edgelist"
    G = graph_util.loadGraphFromEdgeListTxt(edge_f, directed=False)
    G = G.to_directed()
    res_pre = "results/testKarate"
    graph_util.print_graph_stats(G)
    t1 = time()
    embedding = SDNE(d=2, beta=5, alpha=1e-5, nu1=1e-6, nu2=1e-6, K=3,
                     n_units=[50, 15], rho=0.3, n_iter=50, xeta=0.01,
                     n_batch=500,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 6

Instances


Project Name: palash1992/GEM
Commit Name: 9560835ca99a832d5c756a8c8e6add2806ba7472
Time: 2017-11-09
Author: palashgo@usc.edu
File Name: gem/embedding/sdne.py
Class Name:
Method Name:


Project Name: palash1992/GEM
Commit Name: 9560835ca99a832d5c756a8c8e6add2806ba7472
Time: 2017-11-09
Author: palashgo@usc.edu
File Name: gem/embedding/lle.py
Class Name:
Method Name:


Project Name: palash1992/GEM
Commit Name: 9560835ca99a832d5c756a8c8e6add2806ba7472
Time: 2017-11-09
Author: palashgo@usc.edu
File Name: gem/embedding/node2vec.py
Class Name:
Method Name:


Project Name: palash1992/GEM
Commit Name: 9560835ca99a832d5c756a8c8e6add2806ba7472
Time: 2017-11-09
Author: palashgo@usc.edu
File Name: gem/embedding/gf.py
Class Name:
Method Name:


Project Name: palash1992/GEM
Commit Name: 9560835ca99a832d5c756a8c8e6add2806ba7472
Time: 2017-11-09
Author: palashgo@usc.edu
File Name: gem/embedding/hope.py
Class Name:
Method Name: