Skip to content

Commit 536bbc3

Browse files
committed
Change the output type of timlinucb_parallel_oim to pd.DataFrame
1 parent 3c67bae commit 536bbc3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

timlinucb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def generate_node2vec_fetures(
151151
):
152152
""" Generate node2vec features for the edges in a graph
153153
154-
Runs get_features_nodes to get the node2vec features for the nodes and then
154+
Runs get_features_nodes to get the node2vec[1] features for the nodes and then
155155
multiplies them to get the edge features.
156156
Edge feature vector Fe = source_node_feats * target_node_feats.
157157
@@ -1136,7 +1136,7 @@ def timlinucb_parallel_oim(
11361136
os.remove(tim_name)
11371137
shutil.rmtree(dir_name)
11381138

1139-
return results_array
1139+
return pd.DataFrame(results_array)
11401140

11411141

11421142
def timlinucb_parallel_t(

0 commit comments

Comments
 (0)