Commit
·
e154c28
1
Parent(s):
591970c
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,115 @@
|
|
1 |
---
|
2 |
license: unknown
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: unknown
|
3 |
---
|
4 |
+
|
5 |
+
# Dataset Card for MUTAG
|
6 |
+
|
7 |
+
## Table of Contents
|
8 |
+
- [Table of Contents](#table-of-contents)
|
9 |
+
- [Dataset Description](#dataset-description)
|
10 |
+
- [Dataset Summary](#dataset-summary)
|
11 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
12 |
+
- [External Use](#external-use)
|
13 |
+
- [PyGeometric](#pygeometric)
|
14 |
+
- [Dataset Structure](#dataset-structure)
|
15 |
+
- [Data Properties](#data-properties)
|
16 |
+
- [Data Fields](#data-fields)
|
17 |
+
- [Data Splits](#data-splits)
|
18 |
+
- [Additional Information](#additional-information)
|
19 |
+
- [Licensing Information](#licensing-information)
|
20 |
+
- [Citation Information](#citation-information)
|
21 |
+
- [Contributions](#contributions)
|
22 |
+
|
23 |
+
## Dataset Description
|
24 |
+
|
25 |
+
- **[Homepage](https://pubs.acs.org/doi/abs/10.1021/jm00106a046)**
|
26 |
+
- **[Repository](https://www.chrsmrrs.com/graphkerneldatasets/MUTAG.zip):**:
|
27 |
+
- **Paper:**: Structure-activity relationship of mutagenic aromatic and heteroaromatic nitro compounds. Correlation with molecular orbital energies and hydrophobicity (see citation)
|
28 |
+
- **Leaderboard:**: [Papers with code leaderboard](https://paperswithcode.com/sota/graph-classification-on-mutag)
|
29 |
+
|
30 |
+
### Dataset Summary
|
31 |
+
|
32 |
+
The `MUTAG` dataset is 'a collection of nitroaromatic compounds and the goal is to predict their mutagenicity on Salmonella typhimurium'.
|
33 |
+
|
34 |
+
### Supported Tasks and Leaderboards
|
35 |
+
|
36 |
+
`MUTAG` should be used for molecular property prediction (aiming to predict whether molecules have a mutagenic effect on a given bacterium or not), a binary classification task. The score used is accuracy, using a 10-fold cross-validation.
|
37 |
+
|
38 |
+
## External Use
|
39 |
+
### PyGeometric
|
40 |
+
To load in PyGeometric, do the following:
|
41 |
+
|
42 |
+
```python
|
43 |
+
from datasets import load_dataset
|
44 |
+
|
45 |
+
from torch_geometric.data import Data
|
46 |
+
from torch_geometric.loader import DataLoader
|
47 |
+
|
48 |
+
dataset_hf = load_dataset("graphs-datasets/<mydataset>")
|
49 |
+
# For the train set (replace by valid or test as needed)
|
50 |
+
dataset_pg_list = [Data(graph) for graph in dataset_hf["train"]]
|
51 |
+
dataset_pg = DataLoader(dataset_pg_list)
|
52 |
+
|
53 |
+
```
|
54 |
+
|
55 |
+
|
56 |
+
## Dataset Structure
|
57 |
+
|
58 |
+
### Data Properties
|
59 |
+
|
60 |
+
| property | value |
|
61 |
+
|---|---|
|
62 |
+
| scale | small |
|
63 |
+
| #graphs | 187 |
|
64 |
+
| average #nodes | 18.03 |
|
65 |
+
| average #edges | 39.80 |
|
66 |
+
|
67 |
+
### Data Fields
|
68 |
+
|
69 |
+
Each row of a given file is a graph, with:
|
70 |
+
- `node_feat` (list: #nodes x #node-features): nodes
|
71 |
+
- `edge_index` (list: 2 x #edges): pairs of nodes constituting edges
|
72 |
+
- `edge_attr` (list: #edges x #edge-features): for the aforementioned edges, contains their features
|
73 |
+
- `y` (list: 1 x #labels): contains the number of labels available to predict (here 1, equal to zero or one)
|
74 |
+
- `num_nodes` (int): number of nodes of the graph
|
75 |
+
|
76 |
+
### Data Splits
|
77 |
+
|
78 |
+
This data comes from the PyGeometric version of the dataset provided by OGB, and follows the provided data splits.
|
79 |
+
This information can be found back using
|
80 |
+
```python
|
81 |
+
from torch_geometric.datasets import TUDataset
|
82 |
+
|
83 |
+
cur_dataset = TUDataset(root="../dataset/loaded/",
|
84 |
+
name="MUTAG")
|
85 |
+
```
|
86 |
+
|
87 |
+
## Additional Information
|
88 |
+
|
89 |
+
### Licensing Information
|
90 |
+
The dataset has been released under unknown license, please open an issue if you have information.
|
91 |
+
|
92 |
+
### Citation Information
|
93 |
+
```
|
94 |
+
@article{doi:10.1021/jm00106a046,
|
95 |
+
author = {Debnath, Asim Kumar and Lopez de Compadre, Rosa L. and Debnath, Gargi and Shusterman, Alan J. and Hansch, Corwin},
|
96 |
+
title = {Structure-activity relationship of mutagenic aromatic and heteroaromatic nitro compounds. Correlation with molecular orbital energies and hydrophobicity},
|
97 |
+
journal = {Journal of Medicinal Chemistry},
|
98 |
+
volume = {34},
|
99 |
+
number = {2},
|
100 |
+
pages = {786-797},
|
101 |
+
year = {1991},
|
102 |
+
doi = {10.1021/jm00106a046},
|
103 |
+
URL = {
|
104 |
+
https://doi.org/10.1021/jm00106a046
|
105 |
+
},
|
106 |
+
eprint = {
|
107 |
+
https://doi.org/10.1021/jm00106a046
|
108 |
+
}
|
109 |
+
|
110 |
+
}
|
111 |
+
```
|
112 |
+
|
113 |
+
### Contributions
|
114 |
+
|
115 |
+
Thanks to [@clefourrier](https://github.com/clefourrier) for adding this dataset.
|