Module Import alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias Assign NameStore Str Expr Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr ListLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad CompareEq Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad CompareEq Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad CompareEq Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr decorator_list decorator_list
N/A N/A numpy np N/A unittest pykernels.graph.shortestpath ShortestPath pykernels.graph.basic Graph graphutils generate_testdata generate_testanswers generate_node_labels N/A __author__ kasiajanocha N/A 
A bunch of tests checking Shortest Path Kernel's compatibility with SPKernel implemented in [4].
 TestShortestPath N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self data N/A generate_testdata N/A N/A self answers_unlabeled N/A generate_testanswers ShortestPath N/A N/A self answers_labeled N/A generate_testanswers ShortestPathLabeled N/A labels N/A generate_node_labels N/A N/A self graphs N/A N/A N/A i g_table N/A enumerate N/A self data N/A N/A current_data N/A N/A N/A j g N/A enumerate g_table N/A N/A N/A N/A current_data append N/A Graph g node_labels N/A N/A labels N/A i N/A j N/A N/A N/A N/A self graphs append current_data N/A tearDown N/A N/A self N/A N/A N/A N/A testSPKernel N/A N/A self N/A N/A N/A K N/A ShortestPath N/A N/A i data N/A enumerate N/A self data N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A K gram data N/A N/A self answers_unlabeled N/A i all N/A N/A i data N/A enumerate N/A self graphs N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A K gram data N/A N/A self answers_unlabeled N/A i all N/A testLabeledSPKernel N/A N/A self N/A N/A N/A K N/A ShortestPath labeled True N/A N/A i data N/A enumerate N/A self graphs N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A K gram data N/A N/A self answers_labeled N/A i all N/A N/A