Closed Hannnne closed 2 years ago
Sorry for the late reply, and this problem surprises me too. From the code, the explanation_results
save a list of dictionaries, and read_from_MCTSInfo_list loads the list of dictionaries to a list of MCTSNode
. Therefore, the explanation_results
passed to find_closest_node_result
should be a list of MCTSNode
. However, this error shows that this variable is a list of dictionaries, which is not expected.
Welcome to reopen this issue if you still have this problem.
Hi,
When calling closest node result for metric score as suggest in example examples/xgraph/subgraphx.ipynb.
like this:
I am getting following error
I fixed it by offering an option for dictionaries, but I am still wondering why it happens. Can someone give me a hint, why that is happening?
Thank you Hanne