Skip to content

Commit 965abea

Browse files
fix
1 parent fab59ee commit 965abea

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

GNNGraphs/test/mldatasets.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@testitem "mldataset2gnngraph" begin
2-
using MLDataset
2+
using MLDatasets: Cora
33
ENV["DATADEPS_ALWAYS_ACCEPT"] = true # for MLDatasets
44
dataset = Cora()
55
classes = dataset.metadata["classes"]

GraphNeuralNetworks/docs/src/tutorials/gnn_intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ karate.node_data.labels_comm
9292
Now we convert the single-graph dataset to a `GNNGraph`. Moreover, we add a an array of node features, a **34-dimensional feature vector** for each node which uniquely describes the members of the karate club. We also add a training mask selecting the nodes to be used for training in our semi-supervised node classification task.
9393

9494
````julia
95-
g = mldataset2gnngraph(dataset) # convert a MLDataset.jl's dataset to a GNNGraphs (or a collection of graphs)
95+
g = mldataset2gnngraph(dataset) # convert a MLDatasets.jl's dataset to a GNNGraphs (or a collection of graphs)
9696

9797
x = zeros(Float32, g.num_nodes, g.num_nodes)
9898
x[diagind(x)] .= 1

GraphNeuralNetworks/docs/src_tutorials/introductory_tutorials/gnn_intro.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ karate.node_data.labels_comm
4242

4343
# Now we convert the single-graph dataset to a `GNNGraph`. Moreover, we add a an array of node features, a **34-dimensional feature vector** for each node which uniquely describes the members of the karate club. We also add a training mask selecting the nodes to be used for training in our semi-supervised node classification task.
4444

45-
g = mldataset2gnngraph(dataset) # convert a MLDataset.jl's dataset to a GNNGraphs (or a collection of graphs)
45+
g = mldataset2gnngraph(dataset) # convert a MLDatasets.jl's dataset to a GNNGraphs (or a collection of graphs)
4646

4747
x = zeros(Float32, g.num_nodes, g.num_nodes)
4848
x[diagind(x)] .= 1

GraphNeuralNetworks/examples/graph_classification_temporalbrains.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Example of graph classification when graphs are temporal and modeled as `TemporalSnapshotsGNNGraphs'.
22
# In this code, we train a simple temporal graph neural network architecture to classify subjects' gender (female or male) using the temporal graphs extracted from their brain fMRI scan signals.
3-
# The dataset used is the TemporalBrains dataset from the MLDataset.jl package, and the accuracy achieved with the model reaches 65-70% (it can be improved by fine-tuning the parameters of the model).
3+
# The dataset used is the TemporalBrains dataset from the MLDatasets.jl package, and the accuracy achieved with the model reaches 65-70% (it can be improved by fine-tuning the parameters of the model).
44
# Author: Aurora Rossi
55

66
# Load packages

GraphNeuralNetworks/notebooks/gnn_intro.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
}
177177
],
178178
"source": [
179-
"# convert a MLDataset.jl's dataset to a GNNGraphs (or a collection of graphs)\n",
179+
"# convert a MLDatasets.jl's dataset to a GNNGraphs (or a collection of graphs)\n",
180180
"g = mldataset2gnngraph(dataset)\n",
181181
"\n",
182182
"x = zeros(Float32, g.num_nodes, g.num_nodes)\n",

0 commit comments

Comments
 (0)