Skip to content

Commit b5bde68

Browse files
committed
Updating tutorials to match version 3.0
1 parent 8f5ea0c commit b5bde68

37 files changed

+730
-1983
lines changed

.idea/ReinventCommunity.iml

-11
This file was deleted.

.idea/inspectionProfiles/profiles_settings.xml

-6
This file was deleted.

.idea/misc.xml

-7
This file was deleted.

.idea/modules.xml

-8
This file was deleted.

.idea/vcs.xml

-6
This file was deleted.

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ dependencies:
4949
- jupyter_console=6.1.0=py_1
5050
- jupyter_core=4.6.3=py37hc8dfbb8_1
5151
- kiwisolver=1.2.0=py37h99015e2_0
52-
- ld_impl_linux-64=2.34=h53a641e_0
5352
- libblas=3.8.0=14_openblas
5453
- libcblas=3.8.0=14_openblas
5554
- libclang=9.0.1=default_hde54327_0
@@ -105,6 +104,7 @@ dependencies:
105104
- pyparsing=2.4.7=pyh9f0ad1d_0
106105
- pyqt=5.12.3=py37hcca6a23_1
107106
- pyrsistent=0.16.0=py37h8f50634_0
107+
- pyspark
108108
- python=3.7.6=h8356626_5_cpython
109109
- python-dateutil=2.8.1=py_0
110110
- python_abi=3.7=1_cp37m

notebooks/Complete_Use-Case-DRD2_Demo.ipynb

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"metadata": {},
66
"source": [
77
"> **How to run this notebook (command-line)?**\n",
8-
"1. Install the `reinvent_shared.v2.1` environment:\n",
9-
"`conda env create -f reinvent_shared.yml`\n",
8+
"1. Install the `ReinventCommunity` environment:\n",
9+
"`conda env create -f environment.yml`\n",
1010
"2. Activate the environment:\n",
11-
"`conda activate reinvent_shared.v2.1`\n",
11+
"`conda activate ReinventCommunity`\n",
1212
"3. Execute `jupyter`:\n",
1313
"`jupyter notebook`\n",
1414
"4. Copy the link to a browser\n",
@@ -380,8 +380,8 @@
380380
"outputs": [],
381381
"source": [
382382
"configuration[\"parameters\"][\"reinforcement_learning\"] = {\n",
383-
" \"prior\": os.path.join(reinvent_dir, \"data/augmented.prior\"),\n",
384-
" \"agent\": os.path.join(reinvent_dir, \"data/augmented.prior\"),\n",
383+
" \"prior\": os.path.join(ipynb_path, \"models/augmented.prior\"),\n",
384+
" \"agent\": os.path.join(ipynb_path, \"models/augmented.prior\"),\n",
385385
" \"n_steps\": 300,\n",
386386
" \"sigma\": 128,\n",
387387
" \"learning_rate\": 0.0001,\n",

notebooks/Create_Model_Demo.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"metadata": {},
66
"source": [
77
"> **How to run this notebook (command-line)?**\n",
8-
"1. Install the `reinvent_shared.v2.1` environment:\n",
9-
"`conda env create -f reinvent_shared.yml`\n",
8+
"1. Install the `ReinventCommunity` environment:\n",
9+
"`conda env create -f environment.yml`\n",
1010
"2. Activate the environment:\n",
11-
"`conda activate reinvent_shared.v2.1`\n",
11+
"`conda activate ReinventCommunity`\n",
1212
"3. Execute `jupyter`:\n",
1313
"`jupyter notebook`\n",
1414
"4. Copy the link to a browser\n",
@@ -106,7 +106,7 @@
106106
"# provide your input dataset that will be used for training \n",
107107
"#we use a purged dataset provided with this repo\n",
108108
"\n",
109-
"input_SMILES_path = os.path.join(reinvent_dir, \"data/chembl.filtered.smi\") \n",
109+
"input_SMILES_path = os.path.join(ipynb_path, \"data/chembl.filtered.smi\") \n",
110110
"output_model_path = os.path.join(output_dir, \"empty_model.ckpt\")\n",
111111
"\n",
112112
"# add the \"parameters\" block\n",

notebooks/Data_Preparation.ipynb

0 Bytes
Binary file not shown.

notebooks/Lib-INVENT_RL1_QSAR.ipynb

827 KB
Binary file not shown.
699 KB
Binary file not shown.

0 commit comments

Comments
 (0)