Converting a Tabular Dataset to a Temporal Graph Dataset for GNNs

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

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

  • @AARONARROW97
    @AARONARROW97 2 ปีที่แล้ว

    Attempting a Dynamic Graph Temporal signal, using your example I hope to extend it and make it work. Thanks for your work these videos are incredibly useful

  • @roufaidalaidi8597
    @roufaidalaidi8597 2 ปีที่แล้ว +1

    Great, just what needed

  • @Freedomwithfinance-cha
    @Freedomwithfinance-cha 11 หลายเดือนก่อน

    Amazing stuff buddy! Thank you!

  • @LisiQarkaxhija
    @LisiQarkaxhija 2 ปีที่แล้ว +4

    Great video, very useful! Could you maybe upload a video using temporal data for node classification tasks as there seems to be none available? Thank you!

  • @kalimsattar8975
    @kalimsattar8975 2 ปีที่แล้ว

    Thank you for such an informative video. please create a video about the converting the dataset of trajectory prediction task for temporal GNNs

  •  2 ปีที่แล้ว

    great as always!

  • @RamaRaoBandreddi-go1et
    @RamaRaoBandreddi-go1et 4 หลายเดือนก่อน

    Great video. Amazing stuff. I have a query. In this use case, it is assumed the distance-based calculations formulate the edge index, and hence, it is constant. How we should proceed if the edges/edge indexes change for every time snapshot.

  • @urveesh09doshi62
    @urveesh09doshi62 28 วันที่ผ่านมา

    I'm making a model from sx-stackoverflow of SNAP, it only has source target and timestamp, no clue how to make a dataset for TGN from that

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

    please make a video on, how we can convert SMILES notations to graph .👍👍

  • @吴菲-j7j
    @吴菲-j7j ปีที่แล้ว

    why we need additional_edge_index?

  • @fsoeduardo
    @fsoeduardo 2 ปีที่แล้ว

    Thanks for the video! Do you know of any guide that shows how to use landmarks extracted from videos using mediapipe as a temporal graph?

  • @jeongiitae6
    @jeongiitae6 2 ปีที่แล้ว

    hi ! thanks to your nice tutorial, could u make the 'biparitite manner' graph dataset too?

  • @danielemingolla
    @danielemingolla 2 ปีที่แล้ว

    Hi, I want to use a TGCN to predict the number of incoming requests for each cellular tower in a specific area, using neighboring antennas to improve performance and historical data about the number of requests in that node. The problem is about multivariate and multisteps time series, because I take 3 values and I want to predict n x 3 values in the future. I have a dataset for each phone antenna that contains within it a timestamp (time of request arrival) and 3 other columns, where each column represents the incoming request for a particular feature. The frequency is 15 minutes, so for each antenna I have 3 values every 15 minutes. I already have the adjacency matrix, so I know which antennas are close to each other. My question is this: how do I create a single dataset on which to train a TGCN if I have several datasets (one for each antenna) of the same length (start and end times are the same for all of them)?

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว +1

      Hi! I guess you have to merge the individual antenna datasets into one large dataset. Basically each antenna is one node in your final graph - therefore you have to put the nodes together by building a full graph. Simply assign an ID to each tabular dataset and then do a merge, so that you have all antennas for each timestep.
      If you have further problems you can also send me an email to deepfindr@gmail.com with attached data. :)

    • @danielemingolla
      @danielemingolla 2 ปีที่แล้ว

      @@DeepFindr Hi thank you for your help but I think that I didn't understand so much. I've send you an email, thank you so much.

  • @haiqingliu9227
    @haiqingliu9227 2 ปีที่แล้ว

    Great videos. Thank you so much, they are very helpful. I do have several questions though. In another video of yours talking about how to include edge features in PyTorch Geometric, you mentioned that models that take 'edge_attr' as an argument can take multi-dimension edge features. Does that also apply to PyTorch Geometric Temporal? For example, you have 3 edge features in this video, what model would you use that can take 3 edge features in Geometric Temporal? I looked into the models included in the Geometric Temporal but not quite sure which one can use multi-dimension edge features since all of them only take 'edge_weight' as an argument.

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว

      Hi! Yes you are right, usually only edge_weight is provided.
      One thing you can do is copy the code of a model, for example this one: pytorch-geometric-temporal.readthedocs.io/en/latest/_modules/torch_geometric_temporal/nn/recurrent/dcrnn.html?highlight=Edge_attr
      And put it into a separate file.
      Then you adjust the forward function to also take edge_attr. In the link above, the dcrnn doesn't take edge features, but the dconv layer does, so it should be straight forward to add this functionality.
      In general you can extend any model to also use edge attr, as discussed here: github.com/benedekrozemberczki/pytorch_geometric_temporal/issues/161

  • @underage222
    @underage222 2 ปีที่แล้ว

    Thank you for this great video. Do you have any good resources about "temporal convolution" implementation for temporal feature extraction using PyTorch/Pytorch-geometric?

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว

      Hi! I have a video about spatio-temporal GNNs if that is what you are looking for :)

  • @zouitinemehdi1896
    @zouitinemehdi1896 2 ปีที่แล้ว +1

    Great video !!! I love it ! Can you make a video on Heterogeneous graph with edge attributes with pyGeometric ?
    Many tutorial exists with homogenous graph but there is lack for heterogenous graph (specially with edge attributes ..)

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว +2

      Hi! Did you have a look at the previous video to this one? :)
      There I also quickly talk about heterogeneous graphs and have an example.

    • @zouitinemehdi1896
      @zouitinemehdi1896 2 ปีที่แล้ว

      @@DeepFindr Yes I did ! But my sentence was about heterogeneous architecture and model training !

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว +1

      Ahh ok :) yes I note it down. Maybe in the future :)

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว +1

      Have you seen the PyG documentation of this topic? It's pretty intuitive :?

  • @mojtabadezvarei5646
    @mojtabadezvarei5646 2 ปีที่แล้ว

    Great Video! I have a general question regarding the saved graph dataset in 'data.pt ' . could you please help me with how I can retrieve the saved data. Since I saved the data using InMemoryDataset provided by PYG, I wonder how I can load them now?

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว

      Hi! Simply call the load function. Have you seen the custom dataset video in my GNN series? There I show how to load the data. This happens in the get function
      github.com/deepfindr/gnn-project/blob/main/dataset.py

  • @j0lb0t
    @j0lb0t 11 หลายเดือนก่อน

    Thanks!

    • @DeepFindr
      @DeepFindr  11 หลายเดือนก่อน

      Thank you!!

  • @2theorists
    @2theorists 2 ปีที่แล้ว

    Thank you

  • @2theorists
    @2theorists 2 ปีที่แล้ว

    Hi, I was experimenting with the colab and I n the Extract Labels and Build Dataset Section I am getting an error on my local env: "TypeError: '

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว

      Hi! Did you convert your date string into a datetime object? Thats most likely the problem

    • @2theorists
      @2theorists 2 ปีที่แล้ว

      @@DeepFindr Yeah I did that and did StackOverflow too (a lot :( ), I dunno why it is having this issue, okay I will try something more ........
      Thanks for the response,, do you have some discord channel or Slack ? would love to be a part of community

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว

      Unfortunately I don't have time to maintain one :(

    • @DeepFindr
      @DeepFindr  2 ปีที่แล้ว

      Did you use the strptime function to convert your string? Also try to double check if the conversion works using type()

    • @2theorists
      @2theorists 2 ปีที่แล้ว

      @@DeepFindr Yeah I guess that's what is causing the problem, I will try to do something else for the string conversion

  • @eprohoda
    @eprohoda 2 ปีที่แล้ว

    gerat ,👽

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

    Great video but the background music is loud
    .