Skip to content

Commit

Permalink
fix graph_sage_stage bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Jan 9, 2024
1 parent d1d7789 commit 38f9e50
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def _process_message(self, message: FraudGraphMultiMessage) -> GraphSAGEMultiMes
inductive_embedding.rename(lambda x: "ind_emb_" + str(x), axis=1, inplace=True)

for col in inductive_embedding.columns.values.tolist():
message.set_meta(col, inductive_embedding[col])
# without `to_pandas`, all values in the meta become `<NA>`
message.set_meta(col, inductive_embedding[col].to_pandas())

assert (message.mess_count == len(inductive_embedding))

Expand Down

0 comments on commit 38f9e50

Please sign in to comment.