Skip to content

Commit f33886e

Browse files
Merge pull request #76 from JuliaML/cl/tu
add TUDataset
2 parents 07c8d36 + 6bd991c commit f33886e

File tree

17 files changed

+279
-25
lines changed

17 files changed

+279
-25
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ Find below a list of available datasets and links to their documentation.
2727
- [MNIST](https://juliaml.github.io/MLDatasets.jl/dev/datasets/MNIST/)
2828
- [SVHN2](https://juliaml.github.io/MLDatasets.jl/dev/datasets/SVHN2/)
2929

30-
3130
#### Miscellaneous
3231
- [BostonHousing](https://juliaml.github.io/MLDatasets.jl/dev/datasets/BostonHousing/)
3332
- [Iris](https://juliaml.github.io/MLDatasets.jl/dev/datasets/Iris/)
3433

35-
3634
#### Text
3735
- [PTBLM](https://juliaml.github.io/MLDatasets.jl/dev/datasets/PTBLM/)
3836
- [UD_English](https://juliaml.github.io/MLDatasets.jl/dev/datasets/UD_English/)
@@ -41,7 +39,7 @@ Find below a list of available datasets and links to their documentation.
4139
- [CiteSeer](https://juliaml.github.io/MLDatasets.jl/dev/datasets/CiteSeer/)
4240
- [Cora](https://juliaml.github.io/MLDatasets.jl/dev/datasets/Cora/)
4341
- [PubMed](https://juliaml.github.io/MLDatasets.jl/dev/datasets/PubMed/)
44-
42+
- [TUDatasets](https://juliaml.github.io/MLDatasets.jl/dev/datasets/TUDataset/)
4543

4644

4745
## Installation

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ makedocs(
4444
"CiteSeer" => "datasets/CiteSeer.md",
4545
"Cora" => "datasets/Cora.md",
4646
"PubMed" => "datasets/PubMed.md",
47+
"TUDataset" => "datasets/TUDataset.md",
4748
],
4849

4950
],

docs/src/datasets/SVHN2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ SVHN2.classnames
128128
SVHN2.convert2image
129129
```
130130

131-
## References
131+
### References
132132

133133
- **Authors**: Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, Andrew Y. Ng
134134

docs/src/datasets/TUDataset.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# TUDataset
2+
3+
```@docs
4+
TUDataset
5+
```

docs/src/datasets/UD_English.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ devdata = UD_English.devdata()
1111
testdata = UD_English.devdata()
1212
```
1313

14-
## Data Size
14+
# Data Size
1515

1616
| | Train x | Train y | Test x | Test y |
1717
|:--:|:-------:|:-------:|:------:|:------:|

src/BostonHousing/BostonHousing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Harrison and Rubinfeld do not mention any censoring.
4444
The data file stored in this repo is a copy of the This is a copy of UCI ML housing dataset.
4545
https://archive.ics.uci.edu/ml/machine-learning-databases/housing/
4646
47-
## Interface
47+
# Interface
4848
4949
- [`BostonHousing.features`](@ref)
5050
- [`BostonHousing.targets`](@ref)

src/CiteSeer/CiteSeer.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ The dataset is designed for the node classification task.
1010
The task is to predict the category of certain paper.
1111
The dataset is retrieved from Ref. [2].
1212
13-
## Interface
13+
# Interface
1414
1515
- [`CiteSeer.dataset`](@ref)
1616
17-
## References
17+
# References
1818
1919
[1]: [Deep Gaussian Embedding of Graphs: Unsupervised Inductive Learning via Ranking](https://arxiv.org/abs/1707.03815)
2020
[2]: [Planetoid](https://github.com/kimiyoung/planetoid)
@@ -63,7 +63,7 @@ the reverse of each edge and the graph will be undirected.
6363
6464
See also [`CiteSeer`](@ref).
6565
66-
## Usage Examples
66+
# Usage Examples
6767
6868
```julia
6969
using MLDatasets: CiteSeer

src/Cora/Cora.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The dataset is designed for the node classification task.
1111
The task is to predict the category of certain paper.
1212
The dataset is retrieved from Ref. [2].
1313
14-
## Statistics
14+
# Statistics
1515
1616
- Nodes: 2708
1717
- Edges: 10556
@@ -24,11 +24,11 @@ The dataset is retrieved from Ref. [2].
2424
The split is the one used in the original paper [1] and
2525
doesn't consider all nodes.
2626
27-
## Interface
27+
# Interface
2828
2929
- [`Cora.dataset`](@ref)
3030
31-
## References
31+
# References
3232
3333
[1]: [Deep Gaussian Embedding of Graphs: Unsupervised Inductive Learning via Ranking](https://arxiv.org/abs/1707.03815)
3434
[2]: [Planetoid](https://github.com/kimiyoung/planetoid
@@ -78,7 +78,7 @@ the reverse of each edge and the graph will be undirected.
7878
7979
See also [`Cora`](@ref).
8080
81-
## Usage Examples
81+
# Usage Examples
8282
8383
```juliarepl
8484
using MLDatasets: Cora

src/FashionMNIST/FashionMNIST.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ examples. Each example is a 28x28 grayscale image, associated
1212
with a label from 10 classes. It can serve as a drop-in
1313
replacement for MNIST.
1414
15-
## Interface
15+
# Interface
1616
1717
- [`FashionMNIST.traintensor`](@ref), [`FashionMNIST.trainlabels`](@ref), [`FashionMNIST.traindata`](@ref)
1818
- [`FashionMNIST.testtensor`](@ref), [`FashionMNIST.testlabels`](@ref), [`FashionMNIST.testdata`](@ref)
1919
20-
## Utilities
20+
# Utilities
2121
2222
- [`FashionMNIST.download`](@ref)
2323

src/Iris/Iris.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ The module retrieves the data from the [UCI Machine Learning Repository](https:/
1313
1414
NOTE: no pre-defined train-test split for this dataset, `features` and `labels` return the whole dataset.
1515
16-
## Interface
16+
# Interface
1717
1818
- [`Iris.features`](@ref)
1919
- [`Iris.labels`](@ref)
2020
21-
## Utilities
21+
# Utilities
2222
2323
- [`Iris.download`](@ref)
2424
"""

0 commit comments

Comments
 (0)