-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Is there any specific format to set the node attributes for calculating the kernels? In my network, I may have multiple node attributes for each node. How to set them correctly? I usually set them as:
node_attr = {'A': {'attr1': 100, 'attr2': 10.65}, 'B': {'attr1': 200, 'attr2': 10.96}, …}
nx.set_node_attributes(network, node_attr)
Now while converting the network list for Grakel what do I set for node_labels_tag if I need to use all of the attributes to calculate the kernels?
network_list_gk = gk.utils.graph_from_networkx(network_list, node_labels_tag = "attr1", as_Graph = True)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels