dd900133a063023387b2492637f0bb853566d192,tests/small-build/test_propagate.py,,setup_adjacency_matrix,#,262
Before Change
global FRAME, ASSOC_FILE_CONTENTS
global COMBINED_INDEX, NEW_ENGLISH_TERMS, NEW_NON_ENGLISH_TERMS
global ADJACENCY_MATRIX
initial_terms = make_term_list(N_EMBEDDING_TERMS + N_EXTRA_GRAPH_TERMS)
FRAME = make_random_frame(initial_terms[:N_EMBEDDING_TERMS])
graph = ConceptNetRandomTestGraph(initial_terms)
ASSOC_FILE_CONTENTS = graph.assoc_file_contents
COMBINED_INDEX, NEW_NON_ENGLISH_TERMS, NEW_ENGLISH_TERMS = \
graph.combined_index_and_new_term_sets(FRAME)
ADJACENCY_MATRIX = graph.adjacency_matrix(COMBINED_INDEX)
After Change
global FRAME, ASSOC_FILE_CONTENTS
global COMBINED_INDEX, NEW_ENGLISH_TERMS, NEW_NON_ENGLISH_TERMS
global ADJACENCY_MATRIX
graph = ConceptNetRandomTestGraph()
FRAME = graph.make_frame()
ASSOC_FILE_CONTENTS = graph.assoc_file_contents
COMBINED_INDEX, NEW_NON_ENGLISH_TERMS, NEW_ENGLISH_TERMS = \
graph.combined_index_and_new_term_sets(FRAME)
ADJACENCY_MATRIX = graph.adjacency_matrix(COMBINED_INDEX)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
Instances
Project Name: commonsense/conceptnet5
Commit Name: dd900133a063023387b2492637f0bb853566d192
Time: 2018-06-22
Author: rbeaudoin@luminoso.com
File Name: tests/small-build/test_propagate.py
Class Name:
Method Name: setup_adjacency_matrix
Project Name: commonsense/conceptnet5
Commit Name: dd900133a063023387b2492637f0bb853566d192
Time: 2018-06-22
Author: rbeaudoin@luminoso.com
File Name: tests/small-build/test_propagate.py
Class Name:
Method Name: setup_frame_and_edges
Project Name: commonsense/conceptnet5
Commit Name: dd900133a063023387b2492637f0bb853566d192
Time: 2018-06-22
Author: rbeaudoin@luminoso.com
File Name: tests/small-build/test_propagate.py
Class Name:
Method Name: setup_ranks
Project Name: commonsense/conceptnet5
Commit Name: dd900133a063023387b2492637f0bb853566d192
Time: 2018-06-22
Author: rbeaudoin@luminoso.com
File Name: tests/small-build/test_propagate.py
Class Name:
Method Name: setup_combined_index