Proposal: Add comprehensive Link Prediction tutorial to documentation.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- julia
調査の方向性
提案されている rand_edge_split(g, 0.1) の設定と GCNConv または GraphSAGE エンコーダーから始め、negative sampling、Flux.logitbinarycrossentropy、training loop、AUC-ROC の各セクションを整理します。ドキュメントファイルもテストも指定されていないため、まず適切なチュートリアルのエントリポイントを探します。完了条件は、各ステップを説明し、ホールドアウトしたエッジで評価する、実行可能なリンク予測の例です。
索引モデルが issue の本文から書いたものです。
説明
- The Setup & Data Splitting
Starting by loading a standard dataset, like a simple citation network using MLDatasets.jl.
The Code Goal: Using rand_edge_split(g, 0.1) to hold out 10% of the edges for testing.
The Tutorial Explanation: Explain why we split edges. (e.g., "To evaluate our model, we pretend some edges don't exist during training. Our model must learn to predict those hidden edges based on the remaining graph structure.") - Negative Sampling
I would need to generate "fake" edges.
The Code Goal: Writing a small function to randomly sample pairs of nodes that do not currently have an edge connecting them.
The Tutorial Explanation: Clearly explain that for every "positive" edge in the training set, we need a "negative" edge (label 0) to compute our loss. - The Encoder-Decoder Model
Link prediction usually uses a two-part architecture. I will use Flux.jl for this.
The Encoder (GNN.jl): A standard 2-layer Graph Convolutional Network (GCNConv) or GraphSAGE layer. This takes the node features and the training graph, and outputs node embeddings.
The Decoder (Standard Julia/Flux): A function that takes the embeddings of two nodes (a source and a target) and computes their dot product. If the dot product is high, the model predicts an edge exists. - The Loss Function & Training Loop
The Loss: Because we are predicting 1 (edge) or 0 (no edge), we use Binary Cross-Entropy with Logits (Flux.logitbinarycrossentropy).
The Loop: 1. Passing the graph through the Encoder to get node embeddings. - Passing the positive and negative edge indices to the Decoder to get predictions.
- Calculating the loss against the true labels (1s for real edges, 0s for fake edges).
- Updating the GNN weights.
- Evaluation
Calculating the Area Under the ROC Curve (AUC-ROC) on the test edges I hid in Step 1. Would this be a suitable example?
- 主要言語
- Julia
- スター
- 310
- フォーク
- 74
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaGraphs/GraphNeuralNetworks.jl のほかの issue
-
GNNLux NNConv returns its state without the nn wrapper, so the state can't be fed back in対応中かも @parth-patel010 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
JuliaGraphs/GraphNeuralNetworks.jl#727 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
maintainance
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaGraphs/GraphNeuralNetworks.jl#725 ·
メンテナーはふだん 1 日以内に返信
-
remove_nodes doesn't update graph_indicator on batched graphs対応中かも @parth-patel010 が 8 日前に担当しました。 オープンgnngraphs
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
JuliaGraphs/GraphNeuralNetworks.jl#716 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
gnnlib lux
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
JuliaGraphs/GraphNeuralNetworks.jl#710 ·
メンテナーはふだん 1 日以内に返信
-
flux gnngraphs gnnlib
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
JuliaGraphs/GraphNeuralNetworks.jl#702 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
JuliaGraphs/GraphNeuralNetworks.jl の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
QuantumSavory/QuantumClifford.jl#853 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
JuliaPackaging/Yggdrasil#15441 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
JuliaSmoothOptimizers/Penelopt.jl#260 ·
メンテナーはふだん 1 日以内に返信
-
authority-de-dommel ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Deltares/Ribasim-NL#997 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Sienna-Platform/InfrastructureSystems.jl#675 ·
メンテナーはふだん 2 日以内に返信