You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"poli 🧪: creating environment poli__dockstring from dockstring/environment.yml\n"
23
+
]
24
+
},
25
+
{
26
+
"name": "stdout",
27
+
"output_type": "stream",
28
+
"text": [
29
+
"poli 🧪: creating environment poli__dockstring from dockstring/environment.yml\n",
30
+
"poli 🧪: running registration of dockstring from environment poli__dockstring\n"
31
+
]
32
+
},
33
+
{
34
+
"name": "stderr",
35
+
"output_type": "stream",
36
+
"text": [
37
+
"/Users/sjt972/Projects/poli/src/poli/core/registry.py:258: UserWarning: Environment poli__dockstring already exists. Will not create it.\n",
38
+
" warnings.warn(f\"Environment {env_name} already exists. Will not create it.\")\n",
39
+
"/Users/sjt972/Projects/poli/src/poli/core/registry.py:269: UserWarning: Running the following command: conda run -n poli__dockstring python /Users/sjt972/Projects/poli/src/poli/objective_repository/dockstring/register.py. \n",
40
+
" warnings.warn(\"Running the following command: %s. \" % command)\n"
41
+
]
42
+
},
43
+
{
44
+
"name": "stdout",
45
+
"output_type": "stream",
46
+
"text": [
47
+
"poli 🧪: creating an isolated black box function.\n",
48
+
"poli 🧪: starting the isolated objective process.\n"
49
+
]
50
+
},
51
+
{
52
+
"name": "stderr",
53
+
"output_type": "stream",
54
+
"text": [
55
+
"/Users/sjt972/anaconda3/envs/poli__dockstring/lib/python3.9/site-packages/dockstring/utils.py:77: DockstringWarning: Although Mac use is supported, docking scores on Mac do not always perfectly match scores from Linux. Therefore, extra care should be taken when comparing results to other platforms. In particular, the baselines in the DOCKSTRING paper were computed on Linux, so please do not directly compare your docking scores to the scores reported on the paper.\n",
56
+
" warnings.warn(\n"
57
+
]
58
+
}
59
+
],
60
+
"source": [
61
+
"from poli import create\n",
62
+
"\n",
63
+
"f, x0, y0 = create(\n",
64
+
" name=\"dockstring\",\n",
65
+
" target_name=\"drd2\" # The target protein.\n",
66
+
")"
67
+
]
68
+
},
69
+
{
70
+
"cell_type": "code",
71
+
"execution_count": 3,
72
+
"metadata": {},
73
+
"outputs": [
74
+
{
75
+
"name": "stdout",
76
+
"output_type": "stream",
77
+
"text": [
78
+
"ExternalBlackBox(L=inf, num_evaluations=0)\n"
79
+
]
80
+
}
81
+
],
82
+
"source": [
83
+
"print(f)"
84
+
]
85
+
},
86
+
{
87
+
"cell_type": "code",
88
+
"execution_count": 4,
89
+
"metadata": {},
90
+
"outputs": [
91
+
{
92
+
"name": "stderr",
93
+
"output_type": "stream",
94
+
"text": [
95
+
"/Users/sjt972/anaconda3/envs/poli__dockstring/lib/python3.9/site-packages/dockstring/utils.py:77: DockstringWarning: Although Mac use is supported, docking scores on Mac do not always perfectly match scores from Linux. Therefore, extra care should be taken when comparing results to other platforms. In particular, the baselines in the DOCKSTRING paper were computed on Linux, so please do not directly compare your docking scores to the scores reported on the paper.\n",
96
+
" warnings.warn(\n"
97
+
]
98
+
},
99
+
{
100
+
"data": {
101
+
"text/plain": [
102
+
"array([[11.9]])"
103
+
]
104
+
},
105
+
"execution_count": 4,
106
+
"metadata": {},
107
+
"output_type": "execute_result"
108
+
}
109
+
],
110
+
"source": [
111
+
"f(x0)"
112
+
]
113
+
},
114
+
{
115
+
"cell_type": "code",
116
+
"execution_count": 5,
117
+
"metadata": {},
118
+
"outputs": [
119
+
{
120
+
"name": "stdout",
121
+
"output_type": "stream",
122
+
"text": [
123
+
"ExternalBlackBox(L=inf, num_evaluations=1)\n"
124
+
]
125
+
}
126
+
],
127
+
"source": [
128
+
"print(f)"
129
+
]
130
+
},
131
+
{
132
+
"cell_type": "code",
133
+
"execution_count": 6,
134
+
"metadata": {},
135
+
"outputs": [
136
+
{
137
+
"name": "stdout",
138
+
"output_type": "stream",
139
+
"text": [
140
+
"poli 🧪: Creating the objective from the repository.\n"
Copy file name to clipboardExpand all lines: docs/poli-docs/_build/html/_sources/index.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,8 @@ LaMBO Fluorescence (RFP) by stability and solvent-accessible surface area.
130
130
131
131
On top of `poli`, we provide `poli-baselines`, a collection of **black-box optimization algorithms** (focusing especially on *discrete* sequences). Examples include
132
132
133
+
## Discrete
134
+
133
135
::::{grid}
134
136
:gutter: 3
135
137
@@ -139,6 +141,13 @@ On top of `poli`, we provide `poli-baselines`, a collection of **black-box optim
139
141
Optimizing a discrete sequence by performing random mutations
<liclass="toc-h2 nav-item toc-entry"><aclass="reference internal nav-link" href="#cite-us-and-other-relevant-work">Cite us and other relevant work</a></li>
551
553
<liclass="toc-h2 nav-item toc-entry"><aclass="reference internal nav-link" href="#contribute-problems-or-solvers">Contribute problems or solvers</a></li>
552
554
</ul>
@@ -724,6 +726,9 @@ <h3>Proteins<a class="headerlink" href="#proteins" title="Permalink to this head
724
726
<sectionid="black-box-optimization-algorithms">
725
727
<h2>Black-box optimization algorithms<aclass="headerlink" href="#black-box-optimization-algorithms" title="Permalink to this heading">#</a></h2>
726
728
<p>On top of <codeclass="docutils literal notranslate"><spanclass="pre">poli</span></code>, we provide <codeclass="docutils literal notranslate"><spanclass="pre">poli-baselines</span></code>, a collection of <strong>black-box optimization algorithms</strong> (focusing especially on <em>discrete</em> sequences). Examples include</p>
729
+
</section>
730
+
<sectionid="discrete">
731
+
<h2>Discrete<aclass="headerlink" href="#discrete" title="Permalink to this heading">#</a></h2>
<liclass="toc-h2 nav-item toc-entry"><aclass="reference internal nav-link" href="#cite-us-and-other-relevant-work">Cite us and other relevant work</a></li>
940
954
<liclass="toc-h2 nav-item toc-entry"><aclass="reference internal nav-link" href="#contribute-problems-or-solvers">Contribute problems or solvers</a></li>
0 commit comments