Skip to content

Commit

Permalink
Change the output type of timlinucb_parallel_oim to pd.DataFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
olety committed Jul 14, 2020
1 parent 3c67bae commit 536bbc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timlinucb.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def generate_node2vec_fetures(
):
""" Generate node2vec features for the edges in a graph
Runs get_features_nodes to get the node2vec features for the nodes and then
Runs get_features_nodes to get the node2vec[1] features for the nodes and then
multiplies them to get the edge features.
Edge feature vector Fe = source_node_feats * target_node_feats.
Expand Down Expand Up @@ -1136,7 +1136,7 @@ def timlinucb_parallel_oim(
os.remove(tim_name)
shutil.rmtree(dir_name)

return results_array
return pd.DataFrame(results_array)


def timlinucb_parallel_t(
Expand Down

0 comments on commit 536bbc3

Please sign in to comment.