Giter Club home page Giter Club logo

Comments (4)

RexYing avatar RexYing commented on August 20, 2024

You only need to change the loss function. Rather than one softmax followed by CE/max margin, you have several of these heads, and sum over the loss.

I think it makes sense to use the same graphsage embedding to predict multiple labels, unless you have clear prior knowledge that each label should be based on very different sources of information and you want to learn each separately.

from graphsage.

zhiqiangzhongddu avatar zhiqiangzhongddu commented on August 20, 2024

Thanks, that makes sense.
Did you try with any multi-label dataset? Refer to mine, and my friends result that SAGE doesn't work well as expected for multi-label classification task.

from graphsage.

RexYing avatar RexYing commented on August 20, 2024

What's the baseline that you use to compare with GraphSAGE? Multi-label task could be harder if an instance is correctly classified only when all the labels are correctly classified.

Did you compare with baseline that's also a mult-label classification algorithm?

I do not yet see why multi-label tasks are less suitable for GraphSAGE.

from graphsage.

zhiqiangzhongddu avatar zhiqiangzhongddu commented on August 20, 2024

Sorry for my late.
I use doc2vec + logistic regression as the baseline. It means I apply doc2vec on node attributes (words) to work as node embedding.
For SAGE, I use the embedding output from doc2vec as node attribute. But after SAGE, node embedding works less good compared to the result of doc2vec, with the same classifier.

This is what confuses me. I try to tune the graph structure (number of layers, batch size, embedding size etc.) but doesn't work. There might be two reasons: one is my network is not suitable for SAGE, second is SAGE works not good for multi-label.

from graphsage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.