This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a change to branch release-1.5.0
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
from d44ab36 doc: update info before release 1.5.0 (#106)
add 08a649e feat(ml): node emdedding, node classify and graph classify
with models based on DGL (#83)
add ab2b676 chore(dist): add `.gitattributes` for exporting source
package (#108)
No new revisions were added by this update.
Summary of changes:
.gitattributes | 11 +
.github/workflows/pylint.yml | 1 +
hugegraph-ml/README.md | 122 ++++++-
.../pyproject.toml | 4 +-
hugegraph-ml/requirements.txt | 8 +
{hugegraph-llm => hugegraph-ml}/setup.py | 4 +-
.../src/hugegraph_ml}/__init__.py | 0
.../src/hugegraph_ml/data}/__init__.py | 0
.../src/hugegraph_ml/data/hugegraph2dgl.py | 190 ++++++++++
.../src/hugegraph_ml/data/hugegraph_dataset.py | 16 +-
.../src/hugegraph_ml/examples}/__init__.py | 0
.../src/hugegraph_ml/examples/dgi_example.py | 41 +++
.../src/hugegraph_ml/examples/diffpool_example.py | 27 +-
.../src/hugegraph_ml/examples/gin_example.py | 26 +-
.../src/hugegraph_ml/examples/grace_example.py | 45 +++
.../src/hugegraph_ml/examples/grand_example.py | 21 +-
.../src/hugegraph_ml/examples/jknet_example.py | 23 +-
.../src/hugegraph_ml/models}/__init__.py | 0
hugegraph-ml/src/hugegraph_ml/models/dgi.py | 201 +++++++++++
hugegraph-ml/src/hugegraph_ml/models/diffpool.py | 392 +++++++++++++++++++++
.../src/hugegraph_ml/models/gin_global_pool.py | 101 ++++++
hugegraph-ml/src/hugegraph_ml/models/grace.py | 361 +++++++++++++++++++
hugegraph-ml/src/hugegraph_ml/models/grand.py | 286 +++++++++++++++
hugegraph-ml/src/hugegraph_ml/models/jknet.py | 130 +++++++
hugegraph-ml/src/hugegraph_ml/models/mlp.py | 70 ++++
.../src/hugegraph_ml/tasks}/__init__.py | 0
.../src/hugegraph_ml/tasks/graph_classify.py | 123 +++++++
.../src/hugegraph_ml/tasks/node_classify.py | 109 ++++++
hugegraph-ml/src/hugegraph_ml/tasks/node_embed.py | 81 +++++
.../src/hugegraph_ml/utils}/__init__.py | 0
.../src/hugegraph_ml/utils/dgl2hugegraph_utils.py | 375 ++++++++++++++++++++
.../src/hugegraph_ml/utils/early_stopping.py | 93 +++++
.../src/tests/conftest.py | 25 +-
.../src/tests/test_data/test_hugegraph2dgl.py | 138 ++++++++
.../src/tests/test_examples/test_examples.py | 66 ++++
.../src/tests/test_tasks/test_node_classify.py | 58 +++
.../src/tests/test_tasks/test_node_embed.py | 52 +++
style/code_format_and_analysis.sh | 3 +-
38 files changed, 3149 insertions(+), 54 deletions(-)
create mode 100644 .gitattributes
copy hugegraph-llm/src/hugegraph_llm/indices/keyword_index.py =>
hugegraph-ml/pyproject.toml (89%)
create mode 100644 hugegraph-ml/requirements.txt
copy {hugegraph-llm => hugegraph-ml}/setup.py (94%)
copy {hugegraph-llm/src/hugegraph_llm =>
hugegraph-ml/src/hugegraph_ml}/__init__.py (100%)
copy {hugegraph-llm/src/hugegraph_llm =>
hugegraph-ml/src/hugegraph_ml/data}/__init__.py (100%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/data/hugegraph2dgl.py
copy hugegraph-llm/src/hugegraph_llm/enums/property_cardinality.py =>
hugegraph-ml/src/hugegraph_ml/data/hugegraph_dataset.py (70%)
copy {hugegraph-llm/src/hugegraph_llm =>
hugegraph-ml/src/hugegraph_ml/examples}/__init__.py (100%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/examples/dgi_example.py
copy hugegraph-llm/src/hugegraph_llm/config/generate.py =>
hugegraph-ml/src/hugegraph_ml/examples/diffpool_example.py (50%)
copy hugegraph-llm/src/hugegraph_llm/config/generate.py =>
hugegraph-ml/src/hugegraph_ml/examples/gin_example.py (54%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/examples/grace_example.py
copy hugegraph-llm/src/hugegraph_llm/config/generate.py =>
hugegraph-ml/src/hugegraph_ml/examples/grand_example.py (57%)
copy hugegraph-llm/src/hugegraph_llm/config/generate.py =>
hugegraph-ml/src/hugegraph_ml/examples/jknet_example.py (56%)
copy {hugegraph-llm/src/hugegraph_llm =>
hugegraph-ml/src/hugegraph_ml/models}/__init__.py (100%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/dgi.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/diffpool.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/gin_global_pool.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/grace.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/grand.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/jknet.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/mlp.py
copy {hugegraph-llm/src/hugegraph_llm =>
hugegraph-ml/src/hugegraph_ml/tasks}/__init__.py (100%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/tasks/graph_classify.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/tasks/node_classify.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/tasks/node_embed.py
copy {hugegraph-llm/src/hugegraph_llm =>
hugegraph-ml/src/hugegraph_ml/utils}/__init__.py (100%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/utils/dgl2hugegraph_utils.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/utils/early_stopping.py
copy
hugegraph-llm/src/hugegraph_llm/operators/hugegraph_op/fetch_graph_data.py =>
hugegraph-ml/src/tests/conftest.py (61%)
create mode 100644 hugegraph-ml/src/tests/test_data/test_hugegraph2dgl.py
create mode 100644 hugegraph-ml/src/tests/test_examples/test_examples.py
create mode 100644 hugegraph-ml/src/tests/test_tasks/test_node_classify.py
create mode 100644 hugegraph-ml/src/tests/test_tasks/test_node_embed.py