Skip to content

feat(ml): node emdedding, node classify and graph classify with models based on DGL#83

Merged
simon824 merged 33 commits intoapache:mainfrom
edw4rdyao:integrate-dgl
Nov 7, 2024
Merged

feat(ml): node emdedding, node classify and graph classify with models based on DGL#83
simon824 merged 33 commits intoapache:mainfrom
edw4rdyao:integrate-dgl

Conversation

@edw4rdyao
Copy link
Contributor

@edw4rdyao edw4rdyao commented Sep 20, 2024

This PR is derived from the project of GLCC2024: https://www.gitlink.org.cn/hugegraph/hugegraph/wiki?wiki=graph-ai-1

Features:

  1. Read graphs from HugeGraph and convert them to DGL format
  • Convert single graph dataset
  • Convert mulltigraph dataset
  • Convert heterogeneous graph dataset
  1. Implemented graph learning algorithms (for algorithim test, please visit hugegraph-integrate-model-test)
  • DGI, GRACE, GRAND, JKNet
  • DiffPool, GlobalPool
  • HAN
  1. Encapsulated training and evaluation to simplify the end-to-end graph learning workflow.
  • Node classify task
  • Graph classify task
  • Node embedding task

Additional Notes:

  1. Since the PGL hasn't been updated for a long time, priority is given to integrating the DGL.

@github-actions github-actions bot added the ml label Sep 20, 2024
@imbajin imbajin added this to the 1.5.0 milestone Sep 20, 2024
Copy link
Member

@imbajin imbajin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note the py-lint ci failed

image

@edw4rdyao
Copy link
Contributor Author

Also note the py-lint ci failed

image

pylint failed for the hugegraph-llm and hugegraph-python-client, should we fix it? Also, should we add pylint CI for hugegraph-ml in workflows and code_format_and_analysis.sh?

@imbajin
Copy link
Member

imbajin commented Sep 23, 2024

pylint failed for the hugegraph-llm and hugegraph-python-client, should we fix it? Also, should we add pylint CI for hugegraph-ml in workflows and code_format_and_analysis.sh?

It's a bit strange, let me take a look (Most of the issues should indeed be fixed, and if they are unnecessary, they should be eliminated)

@edw4rdyao edw4rdyao changed the title feat(ml): node emdedding&classify with models(DGI, JKNet, GRAND, GRACE) based on DGL feat(ml): node emdedding, node classify and graph classify with models based on DGL Sep 28, 2024
@simon824 simon824 marked this pull request as ready for review November 5, 2024 09:49
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request labels Nov 5, 2024
@simon824 simon824 merged commit 08a649e into apache:main Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ml size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants