uma-pi1 / kge

LibKGE - A knowledge graph embedding library for reproducible research
MIT License
765 stars 124 forks source link

Is there a way to run triple classification on kge #253

Open jwzhi opened 2 years ago

jwzhi commented 2 years ago

Hi,

I saw some previous PRs about triple classification but I didn't find any document about document in readme.md or config.yaml about it. Does kge support triple classification? Also, what config should I set if I want to run triple classification?

Btw, it seems that for relation prediction, the reciprocal relations model does not support it. So when I run relation prediction, should I just get rid of the relation prediction model?

rufex2001 commented 2 years ago

There is no official implementation of triple classification yet, but the PRs you mention might have what you need. As for relation prediction, the reciprocal relations model does work in that case, at least in principle, as this type of model needs a direction ("s to o" or "o to s") to make predictions.

On Fri, 10 Dec 2021 at 03:59, Jing Zhu @.***> wrote:

Hi,

I saw some previous PRs about triple classification but I didn't find any document about document in readme.md or config.yaml about it. Does kge support triple classification? Also, what config should I set if I want to run triple classification?

Btw, it seems that for relation prediction, the reciprocal relations model does not support it. So when I run relation prediction, should I just get rid of the relation prediction model?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/uma-pi1/kge/issues/253, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEWXZGAQ6M7B5P7EG3N6DTUQFUIZANCNFSM5JYC6RRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.