Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -18,4 +18,17 @@ tags:
|
|
18 |
- SMILES
|
19 |
task_categories: []
|
20 |
task_ids: []
|
21 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
- SMILES
|
19 |
task_categories: []
|
20 |
task_ids: []
|
21 |
+
---
|
22 |
+
|
23 |
+
### dataset description
|
24 |
+
We downloaded ZINC dataset from [here](https://zinc15.docking.org/) and canonicalized it.
|
25 |
+
We used the following function to canonicalize the data and removed some SMILES that cannot be read by RDKit.
|
26 |
+
|
27 |
+
```python:
|
28 |
+
from rdkit import Chem
|
29 |
+
def canonicalize(mol):
|
30 |
+
mol = Chem.MolToSmiles(Chem.MolFromSmiles(mol),True)
|
31 |
+
return mol
|
32 |
+
```
|
33 |
+
|
34 |
+
We randomly split the preprocessed data into train and validation. The ratio is 9 : 1.
|