Skip to content

Node classification tasks #51

Open

Description

@mpedraza98

Hi! First of all great job! I have been trying to do node classification in residue view, using my own node labels. However, I haven't been able to configure the NodePropertyPrediction task to use those labels instead of predicting the residue features. Do you have any guidance on how I can proceed to do this? Any help is appreciated

Activity

  1. Oxer11 commented on Oct 16, 2023

    @Oxer11
    Collaborator

    Hi! The NodePropertyPrediction task is orginally defined for sequence-based models. To adapt it to structure-based models, maybe you just need to add a graph_construction_model part following what we do in task.PropertyPrediction.

  2. mpedraza98 commented on Oct 17, 2023

    @mpedraza98
    Author

    Thank you for your answer. I have a couple more questions, I have been trying to modify the AttributeMasking task for my node classification problem, however it is not clear to me how is the relation between the nodes id and the amino acids in the sequence. The only clue I've found so far is this note in the data/protein.py file "Nodes may have a different order with residues." Can you guide me on how to proceed?

  3. Oxer11 commented on Nov 27, 2023

    @Oxer11
    Collaborator

    Sorry for the late response. In data.Protein, we usually use node and atom interchangably, while residue corresponds to the real residue in proteins. You can use data.Protein.atom2residue to learn which residue an atom belongs to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions