Spaces:
Running
Running
MilesCranmer
commited on
Commit
β’
fd102b8
1
Parent(s):
f7b43ed
Ensure test nb reflects new progress bar warning
Browse files- pysr/test/test_nb.ipynb +1 -28
pysr/test/test_nb.ipynb
CHANGED
@@ -11,18 +11,6 @@
|
|
11 |
"text": [
|
12 |
"Detected Jupyter notebook. Loading juliacall extension. Set `PYSR_AUTOLOAD_EXTENSIONS=no` to disable.\n"
|
13 |
]
|
14 |
-
},
|
15 |
-
{
|
16 |
-
"name": "stderr",
|
17 |
-
"output_type": "stream",
|
18 |
-
"text": [
|
19 |
-
"Precompiling SymbolicRegression\n",
|
20 |
-
"\u001b[32m β \u001b[39mSymbolicRegression\n",
|
21 |
-
" 1 dependency successfully precompiled in 26 seconds. 106 already precompiled.\n",
|
22 |
-
"Precompiling SymbolicRegressionJSON3Ext\n",
|
23 |
-
"\u001b[32m β \u001b[39m\u001b[90mSymbolicRegression β SymbolicRegressionJSON3Ext\u001b[39m\n",
|
24 |
-
" 1 dependency successfully precompiled in 2 seconds. 110 already precompiled.\n"
|
25 |
-
]
|
26 |
}
|
27 |
],
|
28 |
"source": [
|
@@ -143,14 +131,6 @@
|
|
143 |
"execution_count": 7,
|
144 |
"metadata": {},
|
145 |
"outputs": [
|
146 |
-
{
|
147 |
-
"name": "stderr",
|
148 |
-
"output_type": "stream",
|
149 |
-
"text": [
|
150 |
-
"/Users/mcranmer/PermaDocuments/SymbolicRegressionMonorepo/.venv/lib/python3.12/site-packages/pysr/sr.py:1297: UserWarning: Note: it looks like you are running in Jupyter. The progress bar will be turned off.\n",
|
151 |
-
" warnings.warn(\n"
|
152 |
-
]
|
153 |
-
},
|
154 |
{
|
155 |
"data": {
|
156 |
"text/plain": [
|
@@ -166,13 +146,6 @@
|
|
166 |
"model.fit(X, y)\n",
|
167 |
"type(model.equations_)"
|
168 |
]
|
169 |
-
},
|
170 |
-
{
|
171 |
-
"cell_type": "code",
|
172 |
-
"execution_count": null,
|
173 |
-
"metadata": {},
|
174 |
-
"outputs": [],
|
175 |
-
"source": []
|
176 |
}
|
177 |
],
|
178 |
"metadata": {
|
@@ -191,7 +164,7 @@
|
|
191 |
"name": "python",
|
192 |
"nbconvert_exporter": "python",
|
193 |
"pygments_lexer": "ipython3",
|
194 |
-
"version": "3.
|
195 |
}
|
196 |
},
|
197 |
"nbformat": 4,
|
|
|
11 |
"text": [
|
12 |
"Detected Jupyter notebook. Loading juliacall extension. Set `PYSR_AUTOLOAD_EXTENSIONS=no` to disable.\n"
|
13 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
15 |
],
|
16 |
"source": [
|
|
|
131 |
"execution_count": 7,
|
132 |
"metadata": {},
|
133 |
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
{
|
135 |
"data": {
|
136 |
"text/plain": [
|
|
|
146 |
"model.fit(X, y)\n",
|
147 |
"type(model.equations_)"
|
148 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
}
|
150 |
],
|
151 |
"metadata": {
|
|
|
164 |
"name": "python",
|
165 |
"nbconvert_exporter": "python",
|
166 |
"pygments_lexer": "ipython3",
|
167 |
+
"version": "3.11.2"
|
168 |
}
|
169 |
},
|
170 |
"nbformat": 4,
|