Pytorch Geometric tutorial: Data handling in PyTorch Geometric (Part 2)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 9

  • @nastaranmarzban1419
    @nastaranmarzban1419 3 ปีที่แล้ว +1

    Wonderful, it's help me a lot, thank u

  • @hashirahmad5187
    @hashirahmad5187 3 ปีที่แล้ว +1

    18:35 In the step where the edge indices are normalized, don't you think there will be a weird behavior because it might happen that there are isolated nodes in the graph. Then the edge_index and node_index would not match and in the message passing step, the message from one node will propagate to an incorrect node because the adjacency information is now changed

  • @dianakomis1514
    @dianakomis1514 9 หลายเดือนก่อน +1

    Thank you

  • @nastaranmarzban1419
    @nastaranmarzban1419 3 ปีที่แล้ว

    Hi, hope you're doing well....
    You said some information about Frankenstain dataset, you said images are replaced instead of atoms in molecule...
    I've used Ensyms dataset from network repository, but there isn't any information about it....
    Of course there are some statistical information but there isn't any about, for example what does the label of each node show? or something like this....
    Would you please help me? I really nead it's information.
    Thanks in advance

  • @منةالرحمن
    @منةالرحمن 2 ปีที่แล้ว

    My graphs was created from images and saved as pt file how can i apply graph mining later please with this format

  • @odev6764
    @odev6764 3 ปีที่แล้ว

    how can I convert normal dataset used normally with sklearn to a graph .. I couldn't catch this..
    for instance: I have a dataset with features like the table below
    f1,f2,f3,f4, result
    1,3,44,5,6, 1
    2,7,56,4,12, 0
    2,7,56,4,12, 2

    • @hashirahmad5187
      @hashirahmad5187 3 ปีที่แล้ว

      Does your dataset have an underlying graph structure? If yes, you can create an edge list for rows in the table that are connected to other rows. Then you will have a sparse binary adjacency matrix which you can input in pytorch or pytorch geometric. The features here will correspond to the node features and the "result" column has the node labels.

  • @baburamchaudhary159
    @baburamchaudhary159 ปีที่แล้ว

    13:15 what is the purpose node_attrs.index += 1 similarly others edge_index.index, graph_idx.index, etc.

    • @ImbaFerkelchen
      @ImbaFerkelchen 6 หลายเดือนก่อน

      As far as I understood, the Data Id's are from range 0-(n-1), due to pandas series indexing and the way that css is encoded, but they should be indexed from 1-n the index+=1 is just a cheap trick using pandas implementation